SalesLine.initFromProjInvoiceItem Method [AX 2012]

Initializes a SalesLine table buffer that is based on a ProjInvoiceItem table buffer.

public void initFromProjInvoiceItem(
    ProjInvoiceItem _projInvoiceItem, 
   [boolean _copyPrecisely, 
    boolean _copyPriceDisc, 
    boolean _copyQty, 
    Qty _qty])

Run On

Called

Parameters

_projInvoiceItem
Type: ProjInvoiceItem Table
The _projInvoiceItem table buffer that will be copied.
_copyPrecisely
Type: boolean
A Boolean value that indicates whether to exactly copy all of the account and tax details; optional.
_copyPriceDisc
Type: boolean
A Boolean value that indicates whether to copy the price discount fields; optional.
_copyQty
Type: boolean
A Boolean value that indicates 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 SalesLinetable buffer to differ from the value of the other table buffer; optional.
Show: