CustInterestCreate::getInterestStartDateAndGraceDaysServer Method [AX 2012]
Calculates the interest start date and the number of grace days according to the payment calendar.
server private static container getInterestStartDateAndGraceDaysServer(
DueDate _dueDate,
PaymentDueDateUpdatePolicy _paymentDueDateUpdatePolicy,
PositiveDays _graceDays,
boolean _isInterestCalendarBased,
boolean _isAdjustGraceDays,
CustAccount _custAccount,
PaymCalendarCustInterest _paymCalendarCustInterest)
Run On
ServerParameters
- _dueDate
- Type: DueDate Extended Data Type
The due date of the invoice.
- _paymentDueDateUpdatePolicy
- Type: PaymentDueDateUpdatePolicy Enumeration
The update policy to use when adjusting the initial start date.
- _graceDays
- Type: PositiveDays Extended Data Type
The unadjusted number of grace days.
- _isInterestCalendarBased
- Type: boolean
A Boolean value that indicates whether the interest start date must be adjusted according to payment calendar.
- _isAdjustGraceDays
- Type: boolean
A Boolean value that indicates whether the number of grace day must be adjusted according to payment calendar.
- _custAccount
- Type: CustAccount Extended Data Type
The customer account number.
- _paymCalendarCustInterest
- Type: PaymCalendarCustInterest Table
A populated payment calendar customer interest table buffer.
Show: