RetailSumLineManagement.insertPurchLine Method [AX 2012]

Creates a purchase order line.

public void insertPurchLine(
    PurchId _sPurchId, 
    ItemId _sItemId, 
    Qty _rQty, 
    PurchUnit _sPurchUnit, 
    InventLocationId _sInventLocationId, 
    LineNum _rLineNum, 
    PurchLinePercent _rLinePercent, 
    PurchPrice _rPurchPrice, 
    InventDimCombination _tInventDimComb)

Run On

Called

Parameters

_sPurchId
Type: PurchId Extended Data Type
A reference number for the purchase order.
_sItemId
Type: ItemId Extended Data Type
A reference number for the item.
_rQty
Type: Qty Extended Data Type
A value for the quantity.
_sPurchUnit
Type: PurchUnit Extended Data Type
A value for the unit of item.
_sInventLocationId
Type: InventLocationId Extended Data Type
A value for the inventory location.
_rLineNum
Type: LineNum Extended Data Type
A value for the purchase line identification number.
_rLinePercent
Type: PurchLinePercent Extended Data Type
A value for the purchase line discount.
_rPurchPrice
Type: PurchPrice Extended Data Type
A value for the purchase price.
_tInventDimComb
Type: InventDimCombination Table
An InventDimCombination record.
Show: