LedgerAccrualTrans_Fiscal::getFirstDateAfterAllAccrualPeriods Method [AX 2012]
Gets the date of the first day after all accrual periods, based on the period length, type, calendar, and transaction date.
Syntax
server private static TransDate getFirstDateAfterAllAccrualPeriods(
LedgerAccrualPeriodLength _accrualPeriodLength,
LedgerAccrualPeriodType _acrualPeriodType,
TransDate _transactionDate,
RecId _calendarRecId)
Run On
Server
Parameters
- _accrualPeriodLength
Type: LedgerAccrualPeriodLength Extended Data Type
The period length that is specified in the LedgerAccrualTable record.
- _acrualPeriodType
Type: LedgerAccrualPeriodType Extended Data Type
The period type that is specified in the LedgerAccrualTable record.
- _transactionDate
Type: TransDate Extended Data Type
The transaction date that is specified in the LedgerJournalTransAccrual record.
- _calendarRecId
Type: RecId Extended Data Type
The record ID of the FiscalCalendar record.
Return Value
Type: TransDate Extended Data Type
The first day after all accrual periods.