PurchInvoiceJournalPost.pdsSplitToSublines Method [AX 2012]

Splits the VendInvoiceInfoLine to separate batches to assign actual calculated prices to each.

private List pdsSplitToSublines(PurchLine _purchLine, VendInvoiceInfoLine _infoLine)

Run On

Server

Parameters

_purchLine
Type: PurchLine Table
The purchase order line.
_infoLine
Type: VendInvoiceInfoLine Table
The vendor invoice information line to split.

Return Value

Type: List Class
A list of [PDSPurchInvoiceLineSplit] objects, one for each batch associated with _infoLine.

ExceptionCondition
Error

Thrown if there are any advanced pricing errors.

Community Additions

ADD
Show: