IntrastatTransferFR.initIntrastatFromVendInvoiceTrans Method [AX 2012]
Initializes an Intrastat line from a VendInvoiceTrans line.
Syntax
protected Intrastat initIntrastatFromVendInvoiceTrans(
VendInvoiceJour _vendInvoiceJour,
VendInvoiceTrans _vendInvoiceTrans,
IntrastatTransferMap _intrastatTransferMap,
[VendInvoiceJour_Intrastat _vendInvoiceJour_Intrastat,
VendInvoiceTrans_Intrastat _vendInvoiceTrans_Intrastat])
Run On
Called
Parameters
- _vendInvoiceJour
Type: VendInvoiceJour Table
The VendInvoiceJour record that is related to the VendInvoiceTrans line.
- _vendInvoiceTrans
Type: VendInvoiceTrans Table
The source VendInvoiceTrans line.
- _intrastatTransferMap
Type: IntrastatTransferMap Map
The map that contains mapping information to Intrastat.
- _vendInvoiceJour_Intrastat
Type: VendInvoiceJour_Intrastat Table
The extension table record for the VendInvoiceJour record.
- _vendInvoiceTrans_Intrastat
Type: VendInvoiceTrans_Intrastat Table
The extension table record for the VendInvoiceTrans record.
Return Value
Type: Intrastat Table
The initialized Intrastat line.