CustVendOpenTransManager.initFromCaller Method [AX 2012]

Retrieves the customer or vendor account number and currency and sets the display currency from the specified table buffer and related tables.

Syntax

protected void initFromCaller(Common _originator)

Run On

Called

Parameters

  • _originator
    Type: Common Table
    The table buffer used to initialize the class.

Remarks

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

If the specified table buffer is from the LedgerJournalTrans table, the display currency is set to the CurrencyCode field from this table. Otherwise, the display currency is set to the currency from the customer or vendor.

See Also

Reference

CustVendOpenTransManager Class