CustVendAgingCalculation Class [AX 2012]
The CustVendAgingCalculation class runs aging process for customers or vendors.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getCustomerOrVendorTableId | Gets the CustTable or VendTable table id. |
| getCustVendAgingPeriodScaleTmp | Gets the CustVendAgingPeriodScaleTmp buffer. |
| getCustVendTransAging | Gets the CustVendTransAging buffer. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTransactionTableId | Gets the CustTrans or VendTrans table id. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| insertCustVendData | Builds a CustVendTransAging buffer of customers or vendors based on aging process parameters which contains AccountNum, Name and Group. |
| new | Constructs an instance based on specified parameters. |
| 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.) |
| postProcess | Calculates total balance for customers or vendors and excludes zero balance or negative balance ones if needed. |
| preProcess | Assigns buckets to transactions selected for aging. |
| process | Performs the aging calculation. |
| selectClosedTransactions | Selects and saves transactions which are settled as of today but were not yet settled on the date specified in balanceAsOfDate. |
| selectDetailsOfTransactions | Selects and saves details for customers or vendors transactions that will be aged. That includes transaction date (due date or document date depending on what was select in agedBy), invoiceId and voucher. |
| selectOpenTransactions | Selects and saves open transactions for customers and vendors that will be aged. |
| selectTransactions | Selects and saves transactions for customers and vendors that will be aged. |
| setCustVendSettlementBuffer | Initializes CustVendSettlement map to refer to specific buffer type VendSettlement or CustSettlement. |
| setCustVendTransBuffer | Initializes CustVendTrans map to refer to specific CustTrans or VendTrans. |
| setCustVendTransOpenBuffer | Initializes CustVendTransOpen map to refer to specific CustTransOpen or VendTransOpen. |
| 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.) |
| 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 based on specified parameters. |
Aging is a process which provides the way to analyze how big and/or old are the unpaid amounts of the specific customer or vendor.
This class and it's derivatives provide the set-based calculation of unpaid amounts per aging buckets which are built either based on system-defined aging period definition or custom settings.
The result is saved in the table buffer which then is used for other functionalities like reporting.
Community Additions
ADD
Show: