PLPurchLineSplit::update Method [AX 2012]

Splits a PurchLine record by separating the given quantities.

client server public static PurchLine update(
    PurchLine _purchLine, 
    Qty _splitQty, 
   [PdsCWInventQty _pdsCWSplitQty])

Run On

Called

Parameters

_purchLine
Type: PurchLine Table
The PurchLine record to split.
_splitQty
Type: Qty Extended Data Type
The quantity to split into purchase units of measure.
_pdsCWSplitQty
Type: PdsCWInventQty Extended Data Type
The catch-weight quantity to split; optional.

Return Value

Type: PurchLine Table
The new PurchLine record that was created during the split.

ExceptionCondition
Error

A value is not provided for either the _purchLine parameter or the _splitQty parameter.

Show: