IntrastatTransfer_HU.initIntrastatFromCustInvoiceTrans Method [AX 2012]

Initiates an Intrastat line from a CustInvoiceTrans line of a sales order.

protected Intrastat initIntrastatFromCustInvoiceTrans(
    CustInvoiceJour _custInvoiceJour, 
    CustInvoiceTrans _custInvoiceTrans, 
    IntrastatTransferMap _intrastatTransferMap, 
   [CustInvoiceJour_Intrastat _custInvoiceJour_Intrastat, 
    CustInvoiceTrans_Intrastat _custInvoiceTrans_Intrastat])

Run On

Called

Parameters

_custInvoiceJour
Type: CustInvoiceJour Table
CustInvoiceJour record realted to the CustInvoiceTrans line.
_custInvoiceTrans
Type: CustInvoiceTrans Table
The source CustInvoiceTrans line.
_intrastatTransferMap
Type: IntrastatTransferMap Map
The map that contains mapping information to Intrastat.
_custInvoiceJour_Intrastat
Type: CustInvoiceJour_Intrastat Table
The extension table record for CustInvoiceJour record.
_custInvoiceTrans_Intrastat
Type: CustInvoiceTrans_Intrastat Table
The extension table record for CustInvoiceTrans record.

Return Value

Type: Intrastat Table
The initalized Intrastat line.
Show: