SalesLine.initFromCustInvoiceTrans Method
Initializes a SalesLine table buffer based on an CustInvoiceTrans table buffer.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public void initFromCustInvoiceTrans(
CustInvoiceTrans _custInvoiceTrans,
[boolean _copyPrecisely,
boolean _copyPriceDisc,
boolean _copyQty,
Qty _qty,
PdsCWInventQty _pdsCWQty])
Microsoft Dynamics AX 2012 R2 (SYS)
public void initFromCustInvoiceTrans(
CustInvoiceTrans _custInvoiceTrans,
[boolean _copyPrecisely,
boolean _copyPriceDisc,
boolean _copyQty,
Qty _qty,
PdsCWInventQty _pdsCWQty])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void initFromCustInvoiceTrans(
CustInvoiceTrans _custInvoiceTrans,
[boolean _copyPrecisely,
boolean _copyPriceDisc,
boolean _copyQty,
Qty _qty,
PdsCWInventQty _pdsCWQty])
Microsoft Dynamics AX 2012 (FPK)
public void initFromCustInvoiceTrans(
CustInvoiceTrans _custInvoiceTrans,
[boolean _copyPrecisely,
boolean _copyPriceDisc,
boolean _copyQty,
Qty _qty])
Microsoft Dynamics AX 2012 (SYS)
public void initFromCustInvoiceTrans(
CustInvoiceTrans _custInvoiceTrans,
[boolean _copyPrecisely,
boolean _copyPriceDisc,
boolean _copyQty,
Qty _qty])
Run On
Called
Parameters
- _custInvoiceTrans
Type: CustInvoiceTrans Table
The CustInvoiceTrans table buffer that is to be initialized from.
- _copyPrecisely
Type: boolean
A Boolean value that specifies whether to precisely copy all the account and tax details; optional.
- _copyPriceDisc
Type: boolean
A Boolean value that specifies whether to copy the price discount fields; optional.
- _copyQty
Type: boolean
A Boolean value that specifies whether to copy the quantify information; optional.
- _qty
Type: Qty Extended Data Type
A quantity object that sets the SalesQty field value of the new SalesLine table buffer to be different than value of the other table buffer; optional.
- _pdsCWQty
Type: PdsCWInventQty Extended Data Type
A catch weight quantity; optional.