CustVendSettle Class [AX 2012]

The CustVendSettle class serves as the parent class of a hierarchy of five classes that serve as the engine for settling customer and vendor transactions.

class CustVendSettle implements SysSaveable

Run On

Server

  MethodDescription
Gg880732.pubmethod(en-us,AX.60).gif accountLossProfit
Gg880732.pubmethod(en-us,AX.60).gif accountNonrealLossProfit
Gg880732.protmethod(en-us,AX.60).gif addTransToTaxSortedList Adds a record in the rslTmpOverUnderReverseTax record sorted list using the specified parameters.
Gg880732.protmethod(en-us,AX.60).gif adjustSettleAmountAcctForFullySettled
Gg880732.protmethod(en-us,AX.60).gif adjustSettleAmountReportForFullySettled
Gg880732.pubmethod(en-us,AX.60).gif amount
Gg880732.protmethod(en-us,AX.60).gif approvalVoucherDate
Gg880732.protmethod(en-us,AX.60).gif calcActualCashDiscAmount Calcuates the amount of cash discount for the amount being settled.
Gg880732.pubmethod(en-us,AX.60).gif calcAndPostTaxExchRateDiff_RU Calculates and posts tax on exchange rate difference.
Gg880732.privmethod(en-us,AX.60).gif calcBalanceOnSelectedDate_W
Gg880732.protmethod(en-us,AX.60).gif calcCreditToDebitExchRate Calculates the exchange rate between the credit and debit transactions.
Gg880732.privmethod(en-us,AX.60).gif calcExchRateForCreditTransDate
Gg880732.privmethod(en-us,AX.60).gif calcExchRateReportingForCreditTransDate
Gg880732.protmethod(en-us,AX.60).gif calcFinInterestOrFineForCreditCompany_BR Calculates the amount of the Interest/Fine for the credit (payment) company.
Gg880732.protmethod(en-us,AX.60).gif calcFullSettlementAmount Calculates the sum of the remaining amount.
Gg880732.protmethod(en-us,AX.60).gif calcInvoiceTaxWithholdAmount Calculates the amount of tax withholding that was previously decided on the invoice.
Gg880732.protmethod(en-us,AX.60).gif calcRealizedExchAdjAmount Calculates the amount of the realized exchange adjustment.
Gg880732.protmethod(en-us,AX.60).gif calcRealizedReportingExchAdjAmount
Gg880732.protmethod(en-us,AX.60).gif calcRealizeExchAdjAmountForPayment Calculates the amount of realized exchange adjustment in the monetary standard (MST) currency of the credit transaction.
Gg880732.pubmethod(en-us,AX.60).gif calcRecoveryLOIByPaymVoucher_IN Calculates the amount of interim recoverable Load On Inventory tax by payment tax trans.
Gg880732.protmethod(en-us,AX.60).gif calcSettleAmountCurForCredit Calculates the amount to settle in the transaction currency of the credit transaction.
Gg880732.protmethod(en-us,AX.60).gif calcSettleAmountCurForDebit Calculates the amount to settle in the transaction currency of the debit transaction.
Gg880732.protmethod(en-us,AX.60).gif calcSettleAmountMstForCredit Calculates the amount to settle in the monetary standard (MST) currency for the credit transaction.
Gg880732.protmethod(en-us,AX.60).gif calcSettleAmountMstForDebit Calculates the amount to settle in monetary standard (MST) currency for the debit transaction.
Gg880732.protmethod(en-us,AX.60).gif calcSettleAmtCurBasedOnPossibleCashDisc Calculates the settled amount in the debit transaction currency assuming the possible cash discount is taken.
Gg880732.protmethod(en-us,AX.60).gif calcSettledFactor Calculates the percent of the transaction that is being settled.
Gg880732.pubmethod(en-us,AX.60).gif calcSettlementOutsideCashDiscDate Calls the calcSettlementOutsideCashDiscDate method on the customer or vendor transaction respectively, and returns the result of that method.
Gg880732.protmethod(en-us,AX.60).gif calcSettleReportingAmountCredit
Gg880732.protmethod(en-us,AX.60).gif calcSettleReportingAmountDebit
Gg880732.protmethod(en-us,AX.60).gif calcUnrealizedExchAdjCurrencyDeal_RU
Gg880732.protmethod(en-us,AX.60).gif calcUnrealizedExchAdjToReverse Calculates the amount of the unrealized exchange adjustment to reverse in the monetary standard (MST) currency for the transaction.
Gg880732.protmethod(en-us,AX.60).gif calcUnrealizedReportingExchAdjToReverse
Gg880732.protmethod(en-us,AX.60).gif calcWHTRealizedExchAdjAmount Calculates the realized gain or loss for the withholding tax for a voucher.
Gg880732.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg880732.pubmethod(en-us,AX.60).gif cashDiscAmount Evaluates the cash discount amount on the basis of ledger dimension.
Gg880732.pubmethod(en-us,AX.60).gif cashDiscForCreditNote
Gg880732.pubmethod(en-us,AX.60).gif cashDiscForPartialPaym
Gg880732.protmethod(en-us,AX.60).gif cashDiscLedgerDimensionForCreditCompany Gets the cash discount ledger account for the credit company.
Gg880732.pubmethod(en-us,AX.60).gif cashDiscMethod
Gg880732.protmethod(en-us,AX.60).gif cashDiscountLedgerDimension
Gg880732.protmethod(en-us,AX.60).gif cashDiscountSystemLedgerDimension
Gg880732.pubmethod(en-us,AX.60).gif cashDiscVat
Gg880732.pubmethod(en-us,AX.60).gif checkCreditRemainAmountCur Checks whether the settlement is about to set a customer/vendor transaction balance to more than the amount.
Gg880732.protmethod(en-us,AX.60).gif checkCurDealCanBeSettled_RU
Gg880732.protmethod(en-us,AX.60).gif checkIfCanBeSettled_RU
Gg880732.protmethod(en-us,AX.60).gif checkOverdueJournal_W Checks if overdue journal exists, then takes the date of last journal and validates that overdue debt amount on that date will not be changed by settlement operation.
Gg880732.privmethod(en-us,AX.60).gif convertAcctToReportingForCreditDate
Gg880732.privmethod(en-us,AX.60).gif convertTransToAcctForCreditTransDate
Gg880732.privmethod(en-us,AX.60).gif convertTransToReportingForCreditDate
Gg880732.privmethod(en-us,AX.60).gif createAndPostDueToDueFromTaxExpense This method is used to create a due to or from transaction when the tax company is different then wither the invoice or payment company.
Gg880732.pubmethod(en-us,AX.60).gif createBankChequeTrans
Gg880732.protmethod(en-us,AX.60).gif createCreditNoteForCashDiscount_CZ The method creates CustInvoiceJour and CustInvoiceTrans for discount trans CustTrans
Gg880732.privmethod(en-us,AX.60).gif createInterestFineCustVendTrans_BR Creates the fine transactions for the settlement.
Gg880732.pubmethod(en-us,AX.60).gif createLedgerTransSum_RU
Gg880732.protmethod(en-us,AX.60).gif createLedgerVoucherForCashDisc
Gg880732.protmethod(en-us,AX.60).gif createLedgerVoucherObject_RU
Gg880732.privmethod(en-us,AX.60).gif createLedgerVoucherTransObject This method is used to create a new LedgerVoucherTransObject corresponding to tax or expense and add it to the LedgerVoucher for the current company.
Gg880732.pubmethod(en-us,AX.60).gif createPostingTransLog_RU
Gg880732.protmethod(en-us,AX.60).gif createSettlementForDebitOrCreditTrans Creates CustVendSettlement record for the debit or credit transaction.
Gg880732.protmethod(en-us,AX.60).gif createSettlementToReverseUnrealExchAdj Creates the CustVendSettlement record to reverse the unrealized exchange adjustment.
Gg880732.protmethod(en-us,AX.60).gif createTaxPostingTransLog_RU Creates records in CustVendTransPostingLog_RU table.
Gg880732.protmethod(en-us,AX.60).gif crossCompanyTxt
Gg880732.protmethod(en-us,AX.60).gif curAmount2CurAmountFullSettlement Converts the amount from one currency to another, considering that the currencies may be from different companies.
Gg880732.pubmethod(en-us,AX.60).gif datePrinciple Returns or sets the global variable for the dateprinciple.
Gg880732.pubmethod(en-us,AX.60).gif determineGTAExpenseAmount_IN Determines GTA Expense amount.
Gg880732.protmethod(en-us,AX.60).gif determineTransDate
Gg880732.pubmethod(en-us,AX.60).gif dialogDatePrinciple Creates the dialog box for entering the date principle.
Gg880732.pubmethod(en-us,AX.60).gif discGraceDays
Gg880732.pubmethod(en-us,AX.60).gif discTxtCustVend Returns a CustCashDiscCust enum or VendCashDiscVend enum respectively.
Gg880732.pubmethod(en-us,AX.60).gif discTxtLedger
Gg880732.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg880732.pubmethod(en-us,AX.60).gif exchAdjTxt
Gg880732.protmethod(en-us,AX.60).gif fetchInvoice
Gg880732.protmethod(en-us,AX.60).gif fetchPayment
Gg880732.privmethod(en-us,AX.60).gif findCustVendTransByRecID
Gg880732.pubmethod(en-us,AX.60).gif findInvoice
Gg880732.privmethod(en-us,AX.60).gif findInvVoucherFrmPymtRelVoucher_IN Gets the Invoice voucher using the payment related voucher and transDate.
Gg880732.protmethod(en-us,AX.60).gif findLedgerInterCompany Finds the LedgerInterCompany record for the specified parameters.
Gg880732.protmethod(en-us,AX.60).gif findLedgerJournalNum Finds the ledger journal number for the specified parameter.
Gg880732.protmethod(en-us,AX.60).gif findLedgerVoucherByCompany Finds the LedgerVoucher instance for the specified company.
Gg880732.pubmethod(en-us,AX.60).gif findNumberSequenceCodeByCompany Finds the number sequence code that is used to create settlement transaction voucher numbers for the specified company.
Gg880732.privmethod(en-us,AX.60).gif findOrCreateLedgerVoucherByCompany Finds the LedgerVoucher instance for the specified company.
Gg880732.protmethod(en-us,AX.60).gif fineLedgerDimension_BR Gets the default ledger dimension account
Gg880732.protmethod(en-us,AX.60).gif fineLedgerDimensionCreditCompany_BR Gets the Fine ledger account for the credit (payment) company.
Gg880732.protmethod(en-us,AX.60).gif fineSystemAccount_BR
Gg880732.pubmethod(en-us,AX.60).gif fineTxtCustVend_BR Returns a correct enum depending on Vendor or Customer.
Gg880732.pubmethod(en-us,AX.60).gif fineTxtLedger_BR
Gg880732.protmethod(en-us,AX.60).gif fullSettlementAmountCur Returns the full settlement amount currency, adjusted from the currency code of the LedgerJournalTrans or CustTable respectively, to a new currency code.
Gg880732.pubmethod(en-us,AX.60).gif getCustVendName_BR Gets the name of third party related to the transaction.
Gg880732.privmethod(en-us,AX.60).gif getDifferentProfileSettlementTransText
Gg880732.pubmethod(en-us,AX.60).gif getLedgerPostingType_Balance
Gg880732.pubmethod(en-us,AX.60).gif getLedgerPostingType_CashDisc
Gg880732.pubmethod(en-us,AX.60).gif getLedgerPostingType_ExchRate
Gg880732.pubmethod(en-us,AX.60).gif getLedgerPostingType_Settlement
Gg880732.protmethod(en-us,AX.60).gif getPrevCashDiscTaken Gets the cash discount amount already taken for the open transaction.
Gg880732.protmethod(en-us,AX.60).gif getPrevSettledAmount Gets the amount already settled for the open transaction.
Gg880732.privmethod(en-us,AX.60).gif getReverseChargeExpenseAmt_IN
Gg880732.privmethod(en-us,AX.60).gif getReverseChargeRecoverableAmt_IN
Gg880732.privmethod(en-us,AX.60).gif getTaxCompanyVoucherDate This method is used to find all the vouchers, companies and transaction dates related to the invoice.
Gg880732.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg880732.protmethod(en-us,AX.60).gif getVoucherNumberByCompany Gets the voucher number for the specified company.
Gg880732.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg880732.protmethod(en-us,AX.60).gif init Initializes class variables for the settlement process.
Gg880732.pubmethod(en-us,AX.60).gif initCustVendSettlementBuffer Instantiates either a CustSettlement or a VendSettlement.
Gg880732.protmethod(en-us,AX.60).gif initCustVendSettlementOffsetVoucher Instantiates either a CustSettlementOffsetVoucher or a VendSettlementOffsetVoucher.
Gg880732.protmethod(en-us,AX.60).gif initCustVendTransBuffer
Gg880732.protmethod(en-us,AX.60).gif initCustVendTransOpenBuffer
Gg880732.protmethod(en-us,AX.60).gif initForNewSettlement Initializes variables when a settlement is started.
Gg880732.pubmethod(en-us,AX.60).gif initJournalNumCashDisc
Gg880732.pubmethod(en-us,AX.60).gif initParmDefault This method is called when no SysLastValue record can be found in xSysLastValue.GetLast.
Gg880732.privmethod(en-us,AX.60).gif initTaxTrans_IN
Gg880732.privmethod(en-us,AX.60).gif initTaxTransIN_IN
Gg880732.protmethod(en-us,AX.60).gif insertAgreementRecordList_RU Adds a container to a set.
Gg880732.privmethod(en-us,AX.60).gif insertSettlementOffsetVoucher This method is used to insert a record in the CustSettlementOffsetVoucher or VendSettlementOffsetVoucher table.This record is used while reversing the settlement.
Gg880732.protmethod(en-us,AX.60).gif interestLedgerDimension_BR Returns the interest ledger dimension
Gg880732.protmethod(en-us,AX.60).gif interestLedgerDimensionCreditCompany_BR Gets the Interest ledger account for the credit (payment) company.
Gg880732.protmethod(en-us,AX.60).gif interestSystemAccount_BR Gets the interest system account
Gg880732.pubmethod(en-us,AX.60).gif interestTxtCustVend_BR Returns a correct enum depending on Vendor or Customer.
Gg880732.pubmethod(en-us,AX.60).gif interestTxtLedger_BR Returns the transaction text type for financial interest
Gg880732.pubmethod(en-us,AX.60).gif inventSumAdjustOnAmountDiff_RU
Gg880732.privmethod(en-us,AX.60).gif isBadDebtAmortisation_RU
Gg880732.protmethod(en-us,AX.60).gif isCashOnDeliveryPaymentMethod Indicates if debit transaction payment method is cash on delivery.
Gg880732.protmethod(en-us,AX.60).gif isCurrencyDeal_RU
Gg880732.pubmethod(en-us,AX.60).gif isExchAmountDiff_RU
Gg880732.pubmethod(en-us,AX.60).gif isGTAPartialPaym_IN Checks if it is the GTA partial payment.
Gg880732.pubmethod(en-us,AX.60).gif isGTAPartialPaymAdv_IN Checks if it is the GTA partial payment.
Gg880732.protmethod(en-us,AX.60).gif isReimbursementType Determines whether the debit transaction is of reimbursement type.
Gg880732.pubmethod(en-us,AX.60).gif isSettlementActive_W
Gg880732.pubmethod(en-us,AX.60).gif lastValueDataAreaId Returns curext(), which is the current company code.
Gg880732.pubmethod(en-us,AX.60).gif lastValueDesignName Returns a blank value of the extended data type identifiername.
Gg880732.pubmethod(en-us,AX.60).gif lastValueElementName Returns the classname of the instance "this".
Gg880732.pubmethod(en-us,AX.60).gif lastValueType Returns the enumeration UtilElementType "Class".
Gg880732.pubmethod(en-us,AX.60).gif lastValueUserId Returns the current user ID.
Gg880732.pubmethod(en-us,AX.60).gif ledgerDimensionObtainedEventHandler Overrides account to profitLoss if _isOffset, dimension to RTax25
Gg880732.pubmethod(en-us,AX.60).gif ledgerJournalACType
Gg880732.pubmethod(en-us,AX.60).gif ledgerPostingType_W
Gg880732.pubmethod(en-us,AX.60).gif ledgerTransactionType
Gg880732.pubmethod(en-us,AX.60).gif maxInaccurateAmountMST
Gg880732.pubmethod(en-us,AX.60).gif maxMSTDiff
Gg880732.pubmethod(en-us,AX.60).gif maxPennyDiff
Gg880732.pubmethod(en-us,AX.60).gif mcrCalcOutOfBalanceWriteOff Calculates the amount that is being written off, if a sales order has been released from the out of balance workbench.
Gg880732.protmethod(en-us,AX.60).gif moduleCustVend
Gg880732.pubmethod(en-us,AX.60).gif mstDiffTxtLedger
Gg880732.privmethod(en-us,AX.60).gif mustOffsetOriginalSummaryDistributions
Gg880732.pubmethod(en-us,AX.60).gif new Initializes a new instance of the CustVendSettle class.
Gg880732.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.)
Gg880732.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.)
Gg880732.protmethod(en-us,AX.60).gif numRefCustVendPaymVoucher
Gg880732.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg880732.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg880732.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the CustVendSettle class.
Gg880732.pubmethod(en-us,AX.60).gif parmBankTransactionTypes Gets or sets the BankTransactionTypes parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmCustVendExchAdjParm_W Gets or sets the CustVendExchAdjParm_W parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmCustVendTransCredit_W Gets or sets the CustVendTransCredit_W parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmCustVendTransDebit_W Gets or sets the CustVendTransDebit_W parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmCustVendTransSettlement_W Gets or sets the CustVendTransSettlement_W parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmIsCashDiscountAdjustedForOverPayment Gets or sets the IsCashDiscountAdjustedForOverPayment parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmIsTaxInvoiceInfoFilled Gets or sets the IsTaxInvoiceInfoFilled parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmLedgerVoucher_W
Gg880732.pubmethod(en-us,AX.60).gif parmModule Gets or sets the Module parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmParentCustTrans_IN Gets or sets the ParentCustTrans_IN parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmParentLedgerVoucher_RU Gets or sets the ParentLedgerVoucher_RU parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmRelatedJournalId Gets or sets the RelatedJournalId parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmRelatedLedgerVoucher Gets or sets the RelatedLedgerVoucher parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmSettlementGroupPlaceHolder_W Gets or sets the SettlementGroupPlaceHolder_W parameter.
Gg880732.pubmethod(en-us,AX.60).gif parmTransactionDate_W Gets or sets the TransactionDate_W parameter.
Gg880732.pubmethod(en-us,AX.60).gif pennyDiffTxt
Gg880732.protmethod(en-us,AX.60).gif postCashDisc
Gg880732.protmethod(en-us,AX.60).gif postCashDiscForTaxGeneralJournal
Gg880732.protmethod(en-us,AX.60).gif postCashDiscForTaxLedgerVoucher
Gg880732.protmethod(en-us,AX.60).gif postCashDiscForTaxSubLedger
Gg880732.protmethod(en-us,AX.60).gif postCashDiscPerDimensionGeneralJournal
Gg880732.protmethod(en-us,AX.60).gif postCashDiscPerDimensionSubLedger
Gg880732.protmethod(en-us,AX.60).gif postClosing
Gg880732.protmethod(en-us,AX.60).gif postConditionalTax Creates conditional tax transactions for the settlement.
Gg880732.protmethod(en-us,AX.60).gif postDiscTrans Creates the cash discount transactions for the settlement.
Gg880732.protmethod(en-us,AX.60).gif postDiscTransToCreditCompany Creates the ledger transactions when the cash discount is posted to the payment company.
Gg880732.protmethod(en-us,AX.60).gif postDueToAndFrom Creates due to and due from transactions for the settlement.
Gg880732.protmethod(en-us,AX.60).gif postDueToAndFromCreateTrans Creates the due-to or due-from transactions for the specified settlement and transaction.
Gg880732.protmethod(en-us,AX.60).gif postExchRateDiff Creates exchange adjustment transactions for the settlement.
Gg880732.protmethod(en-us,AX.60).gif postExchRateLedgerTrans Posts the exchange rate adjustment in the ledger.
Gg880732.protmethod(en-us,AX.60).gif postFineTrans_BR Creates and post fine transaction for the settlement.
Gg880732.protmethod(en-us,AX.60).gif postFineTransToCreditCompany_BR Creates the ledger transactions when the Fine is posted to the payment company.
Gg880732.pubmethod(en-us,AX.60).gif postForeignVendor_IN Posts foreign vendor information.
Gg880732.pubmethod(en-us,AX.60).gif postForeignVendorAdv_IN Posts foreign vendor information.
Gg880732.pubmethod(en-us,AX.60).gif postForeignVendorReverseCharge_IN Posts foreign vendor reverse charge.
Gg880732.pubmethod(en-us,AX.60).gif postForeignVendorReverseChargeAdv_IN Posts advance foreign vendor reverse charge.
Gg880732.pubmethod(en-us,AX.60).gif postGTAvendor_IN Posts GTA vendor information.
Gg880732.pubmethod(en-us,AX.60).gif postGTAVendorAdv_IN Posts GTA vendor information.
Gg880732.pubmethod(en-us,AX.60).gif postGTAVendorReverseCharge_IN Posts GTA vendor information.
Gg880732.pubmethod(en-us,AX.60).gif postGTAVendorReverseChargeAdv_IN Posts GTA vendor information.
Gg880732.protmethod(en-us,AX.60).gif postingProfileSettle_CreateDistributions Creates the general journal records for posting profile differences.
Gg880732.protmethod(en-us,AX.60).gif postingProfileSettle_CreateTrans Creates the CustVendTrans and CustVendSettlement records for posting profile differences.
Gg880732.pubmethod(en-us,AX.60).gif postingTypeFine_BR Gets the fine posting type
Gg880732.pubmethod(en-us,AX.60).gif postingTypeInterest_BR Returns the interest posting type
Gg880732.protmethod(en-us,AX.60).gif postInterestTrans_BR Creates and post interest transaction for the settlement.
Gg880732.protmethod(en-us,AX.60).gif postInterestTransToCreditCompany_BR Creates the ledger transactions when the interest is posted to the payment company.
Gg880732.protmethod(en-us,AX.60).gif postPennyDiff Creates the penny difference transactions for the settlement.
Gg880732.pubmethod(en-us,AX.60).gif postPennyDiffOnCashDisc Posts the penny difference on cash discount in the ledger.
Gg880732.protmethod(en-us,AX.60).gif postServiceTax_IN Postss service tax information.
Gg880732.protmethod(en-us,AX.60).gif postTaxOverUnderPayment Posts the tax for an over or under payment.
Gg880732.protmethod(en-us,AX.60).gif postTaxToInvoiceCompany_IN Post the calculated tax to the invoice company.
Gg880732.privmethod(en-us,AX.60).gif postVATTransForTaxAgent_RU
Gg880732.protmethod(en-us,AX.60).gif postVATTransit_RU
Gg880732.pubmethod(en-us,AX.60).gif postVATTransitAmountDiff_RU
Gg880732.protmethod(en-us,AX.60).gif processCashDiscount Calculates the amount of the cash discount for the debit and credit transactions.
Gg880732.protmethod(en-us,AX.60).gif processConditionalTax Determines if the conditional tax must be calculated on the settlement transactions.
Gg880732.protmethod(en-us,AX.60).gif processConditionalTax_ES Performs posting of conditional tax for Spanish scenarios (remittance without BOE/Promissory note).
Gg880732.protmethod(en-us,AX.60).gif processFine_BR Calculates the amount of the Fine for the debit and credit transactions.
Gg880732.protmethod(en-us,AX.60).gif processInterest_BR Calculates the amount of the Interest for the debit and credit transactions.
Gg880732.protmethod(en-us,AX.60).gif processServiceTax_IN Process service tax.
Gg880732.protmethod(en-us,AX.60).gif processStillOpenTransactions Processes transactions that that have a balance remaining after settlement.
Gg880732.protmethod(en-us,AX.60).gif processStillOpenTransSpecific Posts transactions to settle the remaining amount on the transaction by using the cash discount administration specific rules.
Gg880732.protmethod(en-us,AX.60).gif processStillOpenTransUnspecific Posts transactions to settle the remaining amount on the transaction using the cash discount administration unspecific rules.
Gg880732.privmethod(en-us,AX.60).gif processTaxChargeIntercompany This method is used to process the set containing a collection of TaxChargeInterCompany objects.It creates two transactions, one for due to/from and the other for the expense.
Gg880732.protmethod(en-us,AX.60).gif processTaxOnOverPayment Processes the tax on an over-payment.
Gg880732.protmethod(en-us,AX.60).gif processTaxOnOverPaymentCalcPercent Calculates the percent of tax to be adjusted for an over payment.
Gg880732.protmethod(en-us,AX.60).gif processTaxOnUnderPayment Processes the tax on an under-payment.
Gg880732.protmethod(en-us,AX.60).gif processVatTaxAgentAmounts_RU
Gg880732.protmethod(en-us,AX.60).gif processVATTransit_RU
Gg880732.pubmethod(en-us,AX.60).gif reverseAmounts
Gg880732.protmethod(en-us,AX.60).gif reversedAmount_RU
Gg880732.pubmethod(en-us,AX.60).gif reverseTax Reverses unrealized VAT according to given reversal journal.
Gg880732.pubmethod(en-us,AX.60).gif reverseTransOpenAmounts
Gg880732.protmethod(en-us,AX.60).gif roundTransactionAmounts Rounds the amounts for the specified transactions.
Gg880732.pubmethod(en-us,AX.60).gif saveDate Gets or sets the value of the variable saveDate.
Gg880732.pubmethod(en-us,AX.60).gif setBuffer
Gg880732.protmethod(en-us,AX.60).gif setCreditCompanyCurrency
Gg880732.protmethod(en-us,AX.60).gif setDebitCompanyCurrency
Gg880732.protmethod(en-us,AX.60).gif setDiscHistoryValues Sets the cash discount array variables.
Gg880732.privmethod(en-us,AX.60).gif setIsDebitCreditVoucherCreated This method is used to reset the isDebitVoucherCreated and isCrediVoucherCreated flags.
Gg880732.pubmethod(en-us,AX.60).gif setLedgerVoucherGroup
Gg880732.pubmethod(en-us,AX.60).gif setOffsetVoucher Sets the OffsetVoucher variable.
Gg880732.pubmethod(en-us,AX.60).gif setPostingProfile Sets the PostingProfile variable.
Gg880732.protmethod(en-us,AX.60).gif setStillOpenValues Sets the still open array variables.
Gg880732.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg880732.protmethod(en-us,AX.60).gif settleForDifferentProfilesOrPrepayment Creates settlement transactions when the transactions being settled have different posting profiles or are prepayment.
Gg880732.protmethod(en-us,AX.60).gif settlementControl
Gg880732.pubmethod(en-us,AX.60).gif settleNow Settles the transactions associated with the specified parameters.
Gg880732.pubmethod(en-us,AX.60).gif sumRemainAmount Finds the sum of the amount that remains on the specification table, connected to the CustVendTransOpen table.
Gg880732.pubmethod(en-us,AX.60).gif targetTaxLedgerParmsList_RU Returns list targetTaxLedgerParmsList.
Gg880732.protmethod(en-us,AX.60).gif taxCashDisc Calculates and posts the tax on the cash discount.
Gg880732.protmethod(en-us,AX.60).gif taxSettlement Calls the TaxSettlement.
Gg880732.pubmethod(en-us,AX.60).gif taxSettlement_IN Settles tax of given transaction.
Gg880732.pubmethod(en-us,AX.60).gif taxTransRecIDs_RU Set of tax transactions recIDs inserted by calcAndPostTaxExchRateDiff_RU,which should be linked with posting log
Gg880732.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg880732.privmethod(en-us,AX.60).gif totalTaxWithholdAmount_IN Reads the table buffer and calculate the amount.
Gg880732.pubmethod(en-us,AX.60).gif unpack Deserializes the _packedClass parameter value to an instance of the CustVendSettle class.
Gg880732.protmethod(en-us,AX.60).gif updateAdvanceDefinition
Gg880732.privmethod(en-us,AX.60).gif updateAmountsOnTransactionForFine_BR
Gg880732.privmethod(en-us,AX.60).gif updateAmountsOnTransactionForInterest_BR
Gg880732.protmethod(en-us,AX.60).gif updateCashDiscDate Selects the CustTransOpen or VendTransOpen table from the SpecTrans table and sets the cash discount date equal to the due date.
Gg880732.privmethod(en-us,AX.60).gif updateCustReceipt Updates cust receipt number.
Gg880732.privmethod(en-us,AX.60).gif updateCustTaxInvoice Updates cust tax invoice number.
Gg880732.protmethod(en-us,AX.60).gif updateExchAdjAmountOnTrans Updates the exchange adjustment fields on the specified transactions.
Gg880732.protmethod(en-us,AX.60).gif updateOtherSettlementFieldsOnTrans Updates the fields on the CustVendTrans and SpecTrans tables for settlement.
Gg880732.protmethod(en-us,AX.60).gif updateSettleCurAmountOnTrans Updates the amount settled in the transaction currency fields on the specified transactions.
Gg880732.protmethod(en-us,AX.60).gif updateSettleMstAmountOnTrans Updates the amount settled in the monetary standard (MST) currency fields on the specified transactions.
Gg880732.protmethod(en-us,AX.60).gif updateSettleReportingAmountOnTrans
Gg880732.pubmethod(en-us,AX.60).gif updateSTAdvancePayment_IN Updates STA advance payment information.
Gg880732.protmethod(en-us,AX.60).gif updateTaxWithholdTrans_IN Updates the table for transaction record.
Gg880732.pubmethod(en-us,AX.60).gif updateTransaction_W
Gg880732.pubmethod(en-us,AX.60).gif updateTransactionProject
Gg880732.pubmethod(en-us,AX.60).gif updateTransactionReverseExchAdj_W
Gg880732.protmethod(en-us,AX.60).gif updateTransFor1099 Updates the 1099 tax amount fields on the debit and credit transaction.
Gg880732.protmethod(en-us,AX.60).gif updateTransForCashDisc Updates fields on the specified transaction for the specified cash discount amount.
Gg880732.protmethod(en-us,AX.60).gif updateTransForFine_BR Updates fields on the specified transaction for the specified Fine amount.
Gg880732.protmethod(en-us,AX.60).gif updateTransForInterest_BR Updates fields on the specified transaction for the specified Interet amount.
Gg880732.protmethod(en-us,AX.60).gif updateTransForVATTaxAgent_RU
Gg880732.pubmethod(en-us,AX.60).gif updateTransOpen Transfers the customer or vendor transaction cash discount to the settlement.
Gg880732.protmethod(en-us,AX.60).gif updateVendSettlementTax1099 Records the payments per invoice line for 1099 purposes.
Gg880732.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.)
Gg880732.privmethod(en-us,AX.60).gif useInvoiceLineAccount Determines whether to use invoice line accout or cash discount account for discount posting
Gg880732.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg880732.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::checkServiceTaxPayment_IN Validates advance payment of one company with taxes cannot be applied on the invoices of other company
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::checkTransDimension_RU
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::construct
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::constructCurrencyDeal_RU
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::constructPayment Creates a new instance of the CustVendSettle parent class by instantiating the derived classes CustVendSettle_CustPaym or CustVendSettle_VendPaym.
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::isOriginAdjustingInvoice_IN Verifies if the free text invoice is a cancelling invoice.
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::newOffsetVoucher Calls the construct method, and then sets the parameters OffsetVoucher, LedgerVoucher, TransactionDate, and PostingProfile.
Gg880732.pubmethod(en-us,AX.60).gif Gg880732.static(en-us,AX.60).gif ::postingProfileSettle_RU
Top

This settlement can be performed from the customer table form, vendor table form or from a journal.

The settleNow method is the main method that performs the settlement. All the other methods are sub-methods to this class. The settlement engine can only settle transactions from the customer or vendor transactions form and the journals. The engine cannot be used for extended development, if the functionality of settling customer or vendor transactions is needed from somewhere else.

This example demonstrates the use of the CustVendSettle class. However, this example will not compile in a job as it must be run in the context of a class, form, or other object.

// Upon selecting each transactions for settlement, a transaction in the  
// Specification table is created. These Specification transactions are the  
// foundation for settling. 
Specification.create(CustTransOpen.RecId, AmountCur, CustTrans.CurrencyCode); 
 
// Construct this class. 
custVendSettle = CustVendSettle::newOffsetVoucher( 
    module,  
    offsetVoucher,  
    ledgerVoucher,  
    postingProfile)  
 
// The settleNow method is called with the following parameters: 
// tableId: Indicates whether customer or vendor transactions are to be  
// settled. 
// recId: Indicate which customer or vendor is to be settled. All  
// specification transactions within that customer or vendor are settled. 
used custVendSettle.settleNow(CustTable.tableId, CustTable.recId); 

Community Additions

ADD
Show: