IntrastatTransfer.loadFromVendInvoiceIntrastat Method [AX 2012]
Transfers the intrastat information from the VendInvoiceIntrastat table to the Intrastat table.
Syntax
public void loadFromVendInvoiceIntrastat(
IntrastatDirection _direction,
VendInvoiceJour _vendInvoiceJour,
boolean _invoiceTrans)
Run On
Called
Parameters
- _direction
Type: IntrastatDirection Enumeration
The direction of intrastat transfer, which is either import or export.
- _vendInvoiceJour
Type: VendInvoiceJour Table
A VendInvoiceJour table buffer.
- _invoiceTrans
Type: boolean
true if the corresponding VendInvoiceTrans lines exist for the current VendInvoiceJour record; otherwise, false.
Remarks
This method is called for each record in the VendInvoiceJour table. If a matching record is in the VendInvoiceIntrastat table, it is transferred to the Intrastat table.