CustVendOpenTransBalances Class [AX 2012]
The CustVendOpenTransBalances class is used to track several balances for open transactions marked for settlement.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clearLocalsForPrimaryPayment | Sets the class variables that are used to track a primary payment when unmarked. |
| custVendBalanceMst | Gets the total posted balance of the customer or vendor in the monetary standard (MST) currency. |
| determineExchRateDisplayMstToDisplay | Determines the exchange rate to translate from the monetary standard (MST) currency to the display currency. |
| determineExchRateTransMstToDisplayMst | Determines the exchange rate to translate from the monetary standard (MST) currency of the transaction company to the monetary standard (MST) currency of the display company. |
| determineExchRateTransToTransMst | Determines the exchange rate to translate from the currency of the transaction to the monetary standard (MST) currency. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findDiscountGraceDays | Gets the number of discount grace days for the specified transaction. |
| getDisplayCurrency | Gets the display currency. |
| getEstimatedCashDiscTotalDisplayCur | Gets the total estimated discount amount of the marked transactions in the currency displayed. |
| getEstimatedCashDiscTotalMst | Gets the total estimated discount amount of the marked transactions in the monetary standard (MST) currency. |
| getFromLedgerJournalTransDisplayCur | Gets the amount of the transaction that is transferred from the journal in the currency displayed. |
| getFromLedgerJournalTransMst | Gets the amount of the transaction that is transferred from the journal in the monetary standard (MST) currency. |
| getMarkedTotalDisplayCur | Gets the total amount of the marked transactions in the currency displayed. |
| getMarkedTotalMst | Gets the total amount of the marked transactions in the monetary standard (MST) currency. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initAccountNumCurrencies | Gets the customer or vendor account number and currency and sets the display currency from the specified table buffer and related tables. |
| initCustCurrency | Initializes the class variable used to track the currency code for the specified customer account. |
| initCustVendBalanceMst | Initializes the posted customer or vendor balance in the monetary standard (MST) currency. |
| initFromLedgerJournalTransBalances | Initializes the balances that are taken from the journal transaction. |
| initVendCurrency | Initializes the class variable that tracks the currency code for the specified vendor account. |
| markTrans | Adds the specified open transaction to the balance tracking. |
| new | Performs initialization for the CustVendOpenTransBalances class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| refreshCustVendBalanceMst | Refreshes the posted customer or vendor balance in the monetary standard (MST) currency. |
| refreshMarkedTransactionBalances | Updates the class variables that track the marked total and estimated discount total balances from the instance of the CustVendOpenTransBalancesManager class. |
| setLocalsForPrimaryPayment | Sets the class variables that are used to track a primary payment when they are marked. |
| setPrimaryPayment | Sets or removes the specified open transaction as primary payment as specified by the _isMarked parameter. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| unmarkAllTrans | Removes all transactions from balance tracking. |
| unmarkTrans | Removes the specified open transaction from balance tracking. |
| updateCrossRate | Updates the balances for the specified open transaction for a change in the cross rate. |
| updateDiscAmount | Updates the balances for the specified open transaction for a change in the discount amount on the specified cash discount record. |
| updateSettleAmountCur | Updates balances for the specified open transaction for a change in the amount to settle. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Constructs an instance of the CustVendOpenTransBalances class. |
This class manages the interaction with the balance manager class. The methods on the class support initializing the class, marking and unmarking transactions, and determining factors affecting the balances. They also support managing changing values that cause changes to the balances, and returning the result of the balances to be consumed by the caller.
Community Additions
ADD
Show: