CustVendOpenTransManager Class [AX 2012]

The CustVendOpenTransManager class is used to manage the business logic that supports the CustOpenTrans and VendOpenTrans forms.

Syntax

class CustVendOpenTransManager

Run On

Called

Methods

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

Top

Remarks

This class uses the SpecTransManager , CustVendOpenTransBalances , and CurrencyExchHelper classes.

Inheritance Hierarchy

Object Class
  CustVendOpenTransManager Class