CustVendOpenTransManager Class [AX 2012]
The CustVendOpenTransManager class is used to manage the business logic that supports the CustOpenTrans and VendOpenTrans forms.
| Method | Description | |
|---|---|---|
| addCustVendTransOpenCashDiscAmount | Adds the cash discount amount for the open transaction to the cache. |
| addCustVendTransOpenCurrency | Adds the currency for the open transaction to the cache. |
| addCustVendTransOpenFineAmount_BR | |
| addCustVendTransOpenInterestAmount_BR | |
| calcAndUpdateFine_BR | |
| calcAndUpdateInterest_BR | Updates the Interest amount and Interest Amount Currency |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| canReorganizeTrans | Indicates whether the specified transaction can be reorganized. |
| checkDisplayMstCurrency | Determines whether the monetary standard (MST) currency of the display company exists in the open transaction company. |
| checkForFilteredRecordsWithPaymentGroup | Compares the passed in container of records to the number of records in the VendTrans table to verify that they are the same. |
| checkForUnpostInvoicesForPaymentGroup | Checks the VendInvoiceInfoTable table for unposted invoices with the specified payment group. |
| checkPaymentGroupCanBeMarked | Verifies that the given VendTransOpen record can be marked. |
| checkPaymentGroupIndividualRecords | Performs verifications on all records in the container. |
| checkRemittanceTransCanBeMarked | Verifies that the transaction can be marked for settlement. |
| checkUnmarkingVendPaymentGroup | Iterates the passed in container and displays warning messages if multiple records will be changed by the marking operation. |
| clearAllCashDiscountCaches | Clears all the cash discount internal caches. |
| clearCashDiscountCaches | Clears the cash discount internal caches that are associated with the open transaction. |
| clearPrimaryPayment | Sets the class variables that are used to track a primary payment when it is unmarked. |
| convertAmountPaymCurToAmountTransCur | Converts the specified amount from the payment currency to the currency of the open transaction. |
| convertAmountTransCurToAmountPaymCur | Converts the specified amount from the currency of the open transaction to the currency of the payment. |
| createLookupForAgreement | Creates the agreements lookup. |
| createTaxWithholding | Creates a tax withholding record for the specified VendTransOpen record. |
| determineCashDiscAmountToTake | Determines the cash discount amount to take that corresponds to the open transaction in the transaction currency. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| existPaymMstCurrencyExchRate | Determines whether the MST currency of the payment company and an exchange rate for this currency exist in the given company. |
| existTransWithDifferentVendBank | Indicates whether the marked records contain different vendor bank accounts. |
| findAllowCashDiscOnCreditNote | Finds the CashDiscForCreditNote parameter. |
| findApplicableCustVendTransCashDisc | Finds the applicable cash discount transaction based on the UseCashDisc field of the open transaction. |
| findCustDiscountGraceDays | Finds the discount grace days for the specified method of payment. |
| findVendDiscountGraceDays | Finds the discount grace days for the specified method of payment. |
| getCashDiscAmountPaymCur | Retrieves the cash discount amount converted to the payment currency that corresponds to the open transaction. |
| getCashDiscAmountTaken | Gets the cashDiscAmountTaken value that corresponds to the open transaction in the transaction currency. |
| getCashDiscAmountTakenPaymCur | Gets the cash discount amount taken that corresponds to the open transaction converted to payment currency. |
| getCashDiscAmountToTake | Gets the cash discount amount to take for the specified open transaction. |
| getCashDiscAmountToTakePaymCur | Gets the cash discount amount to take that corresponds to the open transaction converted to the payment currency. |
| getCashDiscLargestAmount | |
| getCashDiscTotalDisplayCur | Retrieves the total discount amount of the marked transactions in the display currency. |
| getCashDiscTotalMst | Retrieves the total discount amount of the marked transactions in the monetary standard (MST) currency. |
| getCrossRate | Retrieves the cross rate that corresponds to the specified open transaction. |
| getCustVendAccountNum | Retrieves the AccountNum of current vendor or customer.currency. |
| getCustVendBalanceMst | Retrieves the total posted balance of the customer or vendor in the monetary standard (MST) currency. |
| getCustVendTransOpenCashDiscAmount | Indicates the cash discount amount for the specified open transaction. |
| getCustVendTransOpenCurrency | Retrieves the currency for the open transaction. |
| getCustVendTransOpenPrevSettledAmount | Retrieves the amount settled that corresponds to the open transaction in the transaction currency. |
| getDisplayCurrency | Retrieves the display currency. |
| getFullSettlement | Retrieves the FullSettlement field of the record in the SpecTrans table associated with the open transaction. |
| getFullSettlementCashDisc | Gets the full settlement cash discount amount that corresponds to the open transaction. |
| getFullSettlementCashDiscPaymCur | Gets the full settlement cash discount amount that corresponds to the open transaction converted to payment currency. |
| getJournalTransAmountDisplayCur | Retrieves the amount of the transaction transferred from the journal in the currency displayed. |
| getJournalTransAmountMst | Retrieves the amount of the transaction transferred from the journal in the monetary standard (MST) currency. |
| getLastFineAmount_BR | Retrieves the most currently calculated fine amount from the cache |
| getLastInterestAmount_BR | Retrieves the most currently calculated interest amount from the cache |
| getMarkedPrimaryPayment | Retrieves the Payment field of the record in the SpecTrans table that is associated with the open transaction. |
| getMarkedTotalDisplayCur | Retrieves the total amount of the marked transactions in the currency displayed. |
| getMarkedTotalMst | Retrieves the total amount of the marked transactions in the monetary standard (MST) currency. |
| getParty | Retrieves the Party object of the customer or vendor. |
| getSettleAmount | Retrieves the amount to settle for the specified open transaction. |
| getSettleAmountForCashDisc | Retrieves the amount to settle including the cash discount amount of the specified cash discount transaction. |
| getSettleAmountPaymCur | Retrieves the amount to settle in the payment currency. |
| getSpecTrans | Retrieves the record in the SpecTrans table that is associated with the specified open transaction. |
| getSpecTransCount | Retrieves the count of records in the SpecTrans table that are associated with this instance of the CustVendOpenTransManager class. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTransMarked | Retrieves the marked status of the specified open transaction. |
| getTransMarkedByOtherSpec | Retrieves the marked status of the specified open transaction if it is marked by another transaction. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initCustInfo | Initializes the customer information for this instance of the CustVendOpenTransManager class. |
| initFromCaller | Retrieves the customer or vendor account number and currency and sets the display currency from the specified table buffer and related tables. |
| initFromLedgerJournalTrans | |
| initMarkedPayment | Initializes the class for a primary payment being marked. |
| initMarkedTransBalances | Initializes the balances for existing marked transactions. |
| initVendInfo | Initializes the vendor information for this instance of the CustVendOpenTransManager class. |
| isCreditNote | Indicates whether the open transaction is a credit note. |
| isMultipleSelectedWithAdvance | Indicates whether the user marks other transactions and advance invoices. |
| isPartialAdvanceInvoiceRemaining | Indicates whether there exist any partial advance invoice to implement priority settlement. |
| isRemittanceLocationValidForSettlement | Determines whether the remittance location is valid for the settlement. |
| markVendPaymentGroups | Marks and unmarks the records in the lists associated with the invoicesToBeMarkedEnum and invoicesToBeUnMarkedEnum enumerators, respectively. |
| new | Initializes a new instance of the CustVendOpenTransManager 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.) |
| parmDateTypeUsedToCalcDisc | Gets or sets the DateTypeUsedToCalcDisc parameter. |
| parmDateUsedToCalcDisc | Gets or sets the DateUsedToCalcDisc parameter. |
| parmSettlePostingDate | Gets or sets the SettlePostingDate parameter. |
| parmSettlePostingType | Gets or sets the SettlePostingType parameter. |
| parmSharedServiceCompanies | Gets the SharedServiceCompanies parameter. |
| parmSpecTransManager | Gets or sets the SpecTransManager parameter. |
| parmVendOpenTransForm | Gets or sets the VendOpenTransForm parameter. |
| preResetMarkedTrans | Prepares to reset marked transactions |
| refreshCustVendBalances | Refreshes the total posted balance of the customer or vendor in the monetary standard (MST) currency. |
| reorganizeMarkedTrans | Reorganizes marked transactions. |
| resetInterestAndFine_BR | Setting to zero Interest and Fine amounts of VendOpenTrans, related to these SpecTrans |
| resetMarkedTrans | Removes all marked transactions that are managed by this instance of the CustVendOpenTransManager class. |
| setFilterValueForAgreement | Sets filter value for agreements. |
| setPrimaryPayment | Sets the class variables that are used to track a marked primary payment. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| settleMarkedTrans | Settles marked transactions. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateAllCashDiscAmounts | Updates all cash discount amounts that are associated with marked transactions. |
| updateAmounts | Updates the settlement and cash discount amounts on the record in the SpecTrans table and the balances associated with the specified open transaction. |
| updateBankLCLineToLedgerJournalTrans | Updates the BankLCLine record ID from the selected CustVendTransOpen record to the LedgerJournalTrans record. |
| updateCashDiscAmount | Updates the related records and balances for the specified open transaction for a change in the discount amount. |
| updateCashDiscAmountPaymCur | Converts the specified cash discount amount from the payment currency to the transaction currency and calls the updateCashDiscAmount method to update the related data. |
| updateCashDiscAmountToTakePaymCur | Converts the specified cash discount amount to take from the payment currency to the transaction currency and calls the updateCashDiscAmountToTake method to update the related data. |
| updateCashDiscDate | Updates the related records and balances for the specified open transaction for a change in the discount date. |
| updateCashDiscToTake | Updates the cash discount amount to take that is associated with the specified open transaction. |
| updateCrossRate | Updates the related records and balances for the specified open transaction for a change in the cross rate. |
| updateDateTypeUsedToCalcDisc | Updates the date to use to calculate discount type. |
| updateDateUsedToCalcDisc | Updates the date to use to calculate discount. |
| updateFineAmount_BR | Updates the Fine Amount Currency |
| updateFullSettlement | Updates the FullSettlement field of the record in the SpecTrans table that is associated with the open transaction. |
| updateFullSettlementCashDiscount | Updates the cash discount amount that is associated with the full settlement record. |
| updateInterestAmount_BR | Updates the Interest Amount Currency |
| updateMarkedPrimaryPayment | Updates the Payment field of the record in the SpecTrans table that is associated with the open transaction. |
| updateOriginatorForMarkedTrans | Updates the originating transaction for marked transactions. |
| updateSettleAmount | Updates the amount to settle that is associated with the specified open transaction. |
| updateSettleAmountPaymCur | Converts the specified amount to settle from the payment currency to the transaction currency and calls the updateSettleAmount method to update the related data. |
| updateSettleDiscountAmounts | Determines what amount to settle and what discount amount should be used to update the associated record in the SpecTrans table and balances. |
| updateSpecTransWithSelectedDate | Updates the SpecTrans records with the date to use to calculate the discount. |
| updateTransMarked | Updates the marked status of the specified open transaction. |
| updateTransMarkedAdjustJournals_IN | Updates the marked status of the open transactions related to adjustment journal linked to specified original transaction. |
| updateUseCashDisc | Updates the related records and balances for the specified open transaction for a change in the UseCashDisc field. |
| updateWHTMarkedTrans_IN | Update marked withholding tax transactions. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateBankLCSettlement | Validates the settlement for the Letter of Credit. |
| validateCashDiscAmountToTake | Validates the cash discount amount to take. |
| validateMarkedTotalWithinOverUnder | Determines whether an OK or Cancel message box is displayed and retrieves the selection from the message box. |
| validateMarkedWithCrossRate | Validates the cross rate. |
| validateSettlePostingDate | Validates the settlement posting type and date. |
| validateVendPaymentGroupTransMarked | Performs validation to make sure that the supplied payment group may be marked. |
| vatTaxAgentAmount_RU | |
| vendPaymentGroupsUpdateTransMarked | Performs validation on the record to be marked or unmarked and then makes sure that any records with a different payment group are unmarked and any with the same payment group are marked. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::checkVendOpenTransFormPost_SLN | Validates the VendOpenTrans form. |
| ::checkVendOpenTransFormPre_SLN | Validates the VendOpenTrans form. |
| ::clearInterestAndFineAmounts_BR | Setting to zero Interest/Fine amounts of the linked OpenTrans |
| ::construct | Initializes a new instance of the CustVendOpenTransManager class. |
| ::findApplicableCashDisc_Server | |
| ::findSharedServiceCompanies | Finds the company accounts in the OMHierarchyType table that are associated with the Centralized Payments HierarchyPurpose enumeration value for the specified company account. |
| ::getPaymentGroupInvoicesToMark | Iterates the vendOpenTrans data source supplied and fills a container of vendTransOpen records that are associated with the passed in payment group. |
| ::getPaymentGroupInvoicesToUnMark | Queries the SpecTrans table for marked records associated with the passed in payment group and adds the associated VendTransOpen record to a container. |
| ::preResetMarkedTransHandler | Handles the event triggered in method resetMarkedTrans |
| ::validateCentralizedPaymentHierarchy | Validates whether the legal entity already exists in another organization hierarchy that is assigned to the Centralized Payment purpose. |
| ::validateCentralizedPaymentHierPublish | Validates whether a legal entity already exists in another organization hierarchy that is assigned to the Centralized Payment purpose. |
Community Additions
ADD
Show: