SalesCopying.initFromCustInvoiceTrans_W Method [AX 2012]
Initializes a SalesLine table buffer based on an CustInvoiceTrans table buffer.
Syntax
protected void initFromCustInvoiceTrans_W(
SalesLine _salesLine,
CustInvoiceTrans _custInvoiceTrans,
boolean _copyPrecisely,
boolean _copyPriceDisc,
boolean _copyQty,
Qty _qty)
Run On
Server
Parameters
- _salesLine
Type: SalesLine Table
The SalesLine table buffer that is to be initialized.
- _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.