CustSettlementPriorityProcessing Class [AX 2012]
The CustSettlementPriorityProcessing class is used to manage the business logic for marking transactions on the CustPaymEntry and CustOpenTrans forms that are based on the settlement priority setup on the CustParameters form.
| Method | Description | |
|---|---|---|
| calcSettlementPriorityCashDiscDate | Determines the cash discount date that is used to prioritize transactions. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createTempData | Populates the temporary table TmpCustOpenLines with the available open transaction lines. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getBillingPriorities | Fetches the billing class and billing code information for the given open transaction line. |
| getCashDiscount | Gets the cash discount for the given open transaction. |
| getFullCashDiscount | Gets the full cash discount for the given open transaction. |
| getPrimaryPayment | Retrieves the CustTransOpen record marked as primary payment. |
| getSettlementQuery | Gets the customized settlement query based on the attributes selected by user. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initCustPaymEntry | Performs initialization for the object created from the CustPaymEntry form. |
| initCustTransOpen | Performs initialization for the object created from the CustOpenTrans form. |
| initOffsetVoucherCust | Performs initialization for the object created from the OffsetVoucherCust class. |
| insertAllLinesAccrossInvoices | Marks the invoice lines when deals with billing codes across the invoices. |
| insertNegativeLines | Inserts negative open transaction lines and uses the negative amount of these lines to mark the positive lines of the invoice. |
| insertNegativeLinesForBillCode | Identifies and inserts, if there exists negative lines in an invoice which contains the given billing code. |
| invoiceExistWithCreditNoteRestriction | Determines whether there is any invoice exist with credit not restriction. |
| isAlreadyMarked | Indicates whether any open transaction is marked for settlement by the current payment. |
| isMarked | Checks if any Debit or Credit transaction is marked which has the credit note restriction and an associated class which is different from the class that is associated with the given transaction (Debit or Credit). |
| isNegativeLineMarkedForInvoice | Indicates whether the given open transaction has marked negative line. |
| markAll | Marks all the debit and credit transactions that have not been marked for settlement in another payment. |
| markTrans | Marks the specified open transaction for settlement. |
| markTransactions | Iterates through all open transactions and marks the selected transactions until payment is exhausted. |
| markTransactionsByCreditNoteRestriction | Iterates through all transaction types by their priority retrieved from CustSettlementPriority table. |
| markTransactionsByPriority | Iterates through all transaction types by their priority retrieved from the CustSettlementPriority table. |
| markTransByCreditNoteOnBillingClasses | Iterates through all open transactions and marks the selected transactions until payment is exhausted. |
| new | Initializes an instance of the CustSettlementPriorityProcessing 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.) |
| parmQuery | Gets or sets the Query parameter. |
| parmQueryBuildDataSource | Gets or sets the QueryBuildDataSource parameter. |
| setPaymentAmount | Sets and retrieves the payment amount. |
| 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.) |
| unmarkAll | Unmarks all the marked transactions. |
| unmarkAllTransactions | Unmarks all open transactions marked by the current payment. |
| updateMarkedInvoices | Updates the discount values for the partially marked transactions and adds the marked transaction to the balance tracking. |
| updatePartialTrans | Updates the settlement amount of the marked transactions. |
| updateQueryRangeOrderBy | Applies sorting criteria on open transactions. |
| 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.) |
| ::constructCustOpenTrans | Initializes a new instance of the CustSettlementPriorityProcessing class for the CustOpenTrans form. |
| ::constructCustPaymEntry | Initializes a new instance of the CustSettlementPriorityProcessing class for the CustPaymEntry form. |
| ::constructOffsetVoucherCust | Initializes a new instance of the CustSettlementPriorityProcessing class for the OffsetVoucherCust class. |
Community Additions
ADD
Show: