EPPurchCOR::splitPurchLine Method [AX 2012]
Split PurchLine into two one line with quantity 1 and other with the remaining quantity.
Syntax
client server protected static PurchLine splitPurchLine(PurchTable _purchTable, PurchLine _purchLine)
Run On
Called
Parameters
- _purchTable
Type: PurchTable Table
A PurchTable record.
- _purchLine
Type: PurchLine Table
A PurchLine record which will be split into two lines.
Return Value
Type: PurchLine Table
A new line created based on an input line and with a quantity of 1.