Indicates whether activity occurs in the opening period of the accounting date.
Syntax
client server public static boolean existForOpeningPeriod(RecId _fiscalCalendar, TransDate _accountingDate)
Run On
Called
Parameters
- _fiscalCalendar
Type: RecId Extended Data Type
The foreign key of the fiscal calendar.
- _accountingDate
Type: TransDate Extended Data Type
The accounting date used to find the opening period.
Return Value
Type: boolean
true if activity occurs in the opening period of the accounting date; otherwise, false.
Exceptions
| Exception | Condition |
|---|---|
| Error | The _fiscalCalendar parameter is empty. –or– The _accountingDate parameter is empty. |