SpecTransManager::construct Method [AX 2012]

Constructs an instance of the SpecTransManager class.

Syntax

client server public static SpecTransManager construct(Common _specReference, [boolean _enableCache])

Run On

Called

Parameters

  • _specReference
    Type: Common Table
    The table buffer that is used for initializing the class.
  • _enableCache
    Type: boolean
    A Boolean value that indicates whether a cache of the SpecTrans records will be maintained; optional.

Return Value

Type: SpecTransManager Class
An instance of the SpecTransManager class.

Remarks

The table buffer should be either a CustTable, VendTable, CustInvoiceTable, SalesTable, PurchTable, or LedgerJournalTrans table with an account type of customer or vendor.

This method replaces the construct method on the Specification class and the newCommon method on the Specification_OffsetVoucher class.

See Also

Reference

SpecTransManager Class