Compartir a través de


PurchLine.initFromPurchLine Method

Initializes a PurchLine table buffer based on another PurchLine 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 initFromPurchLine(
            PurchLine _purchLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            boolean _copyProject, 
            Qty _qty, 
            PdsCWInventQty _cwQty, 
            boolean _setAddressFromInventDim])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void initFromPurchLine(
            PurchLine _purchLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            boolean _copyProject, 
            Qty _qty, 
            PdsCWInventQty _cwQty, 
            boolean _setAddressFromInventDim])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void initFromPurchLine(
            PurchLine _purchLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            boolean _copyProject, 
            Qty _qty, 
            PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 (FPK)
          public void initFromPurchLine(
            PurchLine _purchLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            boolean _copyProject, 
            Qty _qty])

  Microsoft Dynamics AX 2012 (SYS)
          public void initFromPurchLine(
            PurchLine _purchLine, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            boolean _copyProject, 
            Qty _qty])

Run On

Called

Parameters

  • _purchLine
    Type: PurchLine Table
    The PurchLine 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.
  • _copyProject
    Type: boolean
    A Boolean value that specifies whether to copy the project information; optional.
  • _qty
    Type: Qty Extended Data Type
    A quantity object that sets the PurchQty field value of the new PurchLine table buffer to be different than value of the other table buffer; optional.
  • _cwQty
    Type: PdsCWInventQty Extended Data Type
    A catch weight quantity object that sets the PdsCWQtyy field value of the new purchLine table buffer to be different than value of the other table buffer; optional.
  • _setAddressFromInventDim
    Type: boolean
    Boolean value that specifies whether to retrieve the address from the inventory dimension; optional.

See Also

Reference

PurchLine Table