PurchPackingSlipJournalCreate::findOpenFiscalDate Method [AX 2012]

Finds the first available fiscal date starting from the specified date.

server public static AccountingDate findOpenFiscalDate(
    AccountingDate _startFromDate, 
    Map _dataAreaIds, 
    boolean _showMessage)

Run On

Server

Parameters

_startFromDate
Type: AccountingDate Extended Data Type
The date to start to search from
_dataAreaIds
Type: Map Class
The map of the company IDs and related packing slip journals that are already checked.
_showMessage
Type: boolean
Indicates whether a message should be shown if the original accounting date cannot be used so next available date will be used instead.

Return Value

Type: AccountingDate Extended Data Type
The available date.

ExceptionCondition
Error

The exception is thrown if there is no open fiscal period available.

Show: