PurchTotals::newParmTable Method [AX 2012]
Creates a new object of the PurchTotals class that calculates the totals from a VendInvoiceInfoTable or PurchParmTable record.
Note |
|---|
|
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using. |
Microsoft Dynamics AX 2012 R3
server public static PurchTotals newParmTable(
VendDocumentTableMap _parmTable,
PurchUpdate _specQty,
AccountOrder _sumBy,
ParmId _parmId,
PurchId _sumPurchId,
[DocumentStatus _documentStatus,
PurchTotalsCachingMethod _cachingMethod])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static PurchTotals newParmTable(
VendDocumentTableMap _parmTable,
PurchUpdate _specQty,
AccountOrder _sumBy,
ParmId _parmId,
PurchId _sumPurchId,
[DocumentStatus _documentStatus,
PurchTotalsCachingMethod _cachingMethod])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static PurchTotals newParmTable(
VendDocumentTableMap _parmTable,
PurchUpdate _specQty,
AccountOrder _sumBy,
ParmId _parmId,
PurchId _sumPurchId,
[DocumentStatus _documentStatus,
boolean _shareInstances])
Microsoft Dynamics AX 2012 (FPK)
server public static PurchTotals newParmTable(
VendDocumentTableMap _parmTable,
PurchUpdate _specQty,
AccountOrder _sumBy,
ParmId _parmId,
PurchId _sumPurchId,
[DocumentStatus _documentStatus,
boolean _shareInstances])
Microsoft Dynamics AX 2012 (SYS)
server public static PurchTotals newParmTable(
VendDocumentTableMap _parmTable,
PurchUpdate _specQty,
AccountOrder _sumBy,
ParmId _parmId,
PurchId _sumPurchId,
[DocumentStatus _documentStatus,
boolean _shareInstances])
Run On
ServerParameters
- _parmTable
- Type: VendDocumentTableMap Map
A VendInvoiceInfoTable or PurchParmTable record.
- _specQty
- Type: PurchUpdate Enumeration
Indicates which quantity to use.
- _sumBy
- Type: AccountOrder Enumeration
Indicates how the VendInvoiceInfoSubTable or PurchParmSubTable records are summarized.
- _parmId
- Type: ParmId Extended Data Type
A session identifier.
- _sumPurchId
- Type: PurchId Extended Data Type
The purchase order identifier of the summary VendInvoiceInfoTable or PurchParmTable record.
- _documentStatus
- Type: DocumentStatus Enumeration
The document type; optional.
- _cachingMethod
- Type: PurchTotalsCachingMethod Enumeration
An Enum value that specifies whether to use new or existing cached instances of the PurchTotals class within a transactional scope.
Show:
Note