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
- _purchLineHistory
Type: PurchLineHistory Table
A PurchLineHistory record to copy data from.
- _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.
- _qty
Type: Qty Extended Data Type
A quantity value to be used on the copied line.
- _cwQty
Type: PdsCWInventQty Extended Data Type
The CW quantity value to be used on the copied line.