SalesPackingSlipJournalCreate::findOpenFiscalDate Method [AX 2012]

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

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

Run On

Server

Parameters

_startFromDate
Type: AccountingDate Extended Data Type
The date to start the search from.
_showMessage
Type: boolean
A Boolean value that indicates whether a message should be shown that states that the next available date will be used if the original accounting date cannot be used.

Return Value

Type: AccountingDate Extended Data Type
The available date.

ExceptionCondition
Error

There is no open fiscal period available.

Show: