Share via


PurchLine.copyFromPurchLineHistory Method

Copies data from a PurchLineHistory record.

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 copyFromPurchLineHistory(
            PurchLineHistory _purchLineHistory, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void copyFromPurchLineHistory(
            PurchLineHistory _purchLineHistory, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void copyFromPurchLineHistory(
            PurchLineHistory _purchLineHistory, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty, 
            PdsCWInventQty _cwQty])

  Microsoft Dynamics AX 2012 (FPK)
          public void copyFromPurchLineHistory(
            PurchLineHistory _purchLineHistory, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty])

  Microsoft Dynamics AX 2012 (SYS)
          public void copyFromPurchLineHistory(
            PurchLineHistory _purchLineHistory, 
           [boolean _copyPrecisely, 
            boolean _copyPriceDisc, 
            boolean _copyQty, 
            Qty _qty])

Run On

ClientOrServer

Parameters

  • _copyPrecisely
    Type: boolean
    A Boolean value that indicates whether precise copy should be made.
  • _copyPriceDisc
    Type: boolean
    A Boolean value that indicates whether price and discount information should be copied.
  • _copyQty
    Type: boolean
    A Boolean value that indicates whether quantity should be copied.

See Also

Reference

PurchLine Table