SalesLine.initFromSalesLine Method [AX 2012]

Initializes a SalesLine table buffer based on another SalesLine table buffer.

NoteNote

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 initFromSalesLine(
            SalesLine _salesLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void initFromSalesLine(
            SalesLine _salesLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void initFromSalesLine(
            SalesLine _salesLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 (FPK)
          public void initFromSalesLine(
            SalesLine _salesLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty])

  Microsoft Dynamics AX 2012 (SYS)
          public void initFromSalesLine(
            SalesLine _salesLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty])

Run On

Called

Parameters

_salesLine
Type: SalesLine Table
The SalesLine table buffer that is to be copied.
_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.
_cwQty
Type: PdsCWInventQty Extended Data Type
A catch weight quantity; optional.
Show: