CustVendInvoiceJour::findOriginalInvoice_RU Method [AX 2012]

Searches for original invoice in chain of corrections.

server private static CustVendInvoiceJour findOriginalInvoice_RU(
    CustVendAC _invoiceAccount, 
    CorrectedInvoiceId_RU _correctedInvoiceId, 
    CorrectedInvoiceDate_RU _correctedInvoiceDate, 
    CustVendInvoiceJour _custVendInvoiceJour)

Run On

Server

Parameters

_invoiceAccount
Type: CustVendAC Extended Data Type
Customer or vendor account.
_correctedInvoiceId
Type: CorrectedInvoiceId_RU Extended Data Type
Invoice id.
_correctedInvoiceDate
Type: CorrectedInvoiceDate_RU Extended Data Type
Invoice date.
_custVendInvoiceJour
Type: CustVendInvoiceJour Map
CustVendInvoiceJour which used for initialization.

Return Value

Type: CustVendInvoiceJour Map
CustVendInvoiceJour record.
Show: