CustVendInvoiceJour::findOriginalInvoice_RU Method
Searches for original invoice in chain of corrections.
Syntax
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.