PurchTotals::newPurchTable Method [AX 2012]

Retrieves a new instance of the PurchTotals class to calculate the totals from a PurchTable record.

server public static PurchTotals newPurchTable(PurchTable _purchTable, [PurchUpdate _specQty])

Run On

Server

Parameters

_purchTable
Type: PurchTable Table
A PurchTable record.
_specQty
Type: PurchUpdate Enumeration
The quantity to use; optional.

Return Value

Type: PurchTotals Class
An instance of the PurchTotals_Trans class.
Show: