CustInterestCreate.validateInterestCode Method [AX 2012]

Validates the interest code that is associated with posting profile of the customer or the transaction.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public CustInterestCreationErrorType validateInterestCode(
            CurrencyCode _currency, 
            CustTrans _custTrans, 
            TransDate _calcFrom, 
            TransDate _calcTo, 
            AmountCur _calculationAmount, 
           [BillingCodeRefRecId _custBillingCodeRecId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public CustInterestCreationErrorType validateInterestCode(
            CurrencyCode _currency, 
            CustTrans _custTrans, 
            TransDate _calcFrom, 
            TransDate _calcTo, 
            AmountCur _calculationAmount, 
           [BillingCodeRefRecId _custBillingCodeRecId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public CustInterestCreationErrorType validateInterestCode(
            CurrencyCode _currency, 
            CustTrans _custTrans, 
            TransDate _calcFrom, 
            TransDate _calcTo, 
            AmountCur _calculationAmount, 
           [BillingCodeRefRecId _custBillingCodeRecId])

  Microsoft Dynamics AX 2012 (FPK)
          public CustInterestCreationErrorType validateInterestCode(
            CurrencyCode _currency, 
            CustTrans _custTrans, 
            TransDate _calcFrom, 
            TransDate _calcTo, 
            AmountCur _calculationAmount)

  Microsoft Dynamics AX 2012 (SYS)
          public CustInterestCreationErrorType validateInterestCode(
            CurrencyCode _currency, 
            CustTrans _custTrans, 
            TransDate _calcFrom, 
            TransDate _calcTo, 
            AmountCur _calculationAmount)

Run On

Called

Parameters

_currency
Type: CurrencyCode Extended Data Type
A currency code.
_custTrans
Type: CustTrans Table
A CustTrans record.
_calcFrom
Type: TransDate Extended Data Type
The start date of the calculation period.
_calcTo
Type: TransDate Extended Data Type
The end date of the calculation period.
_calculationAmount
Type: AmountCur Extended Data Type
The amount on which interest should be calculated.
_custBillingCodeRecId
Type: BillingCodeRefRecId Extended Data Type
The billing code record id.

Return Value

Type: CustInterestCreationErrorType Enumeration
The interest error type.

Community Additions

ADD
Show: