PurchPackingSlipJournalCreate::findAvailableInventoryDate Method [AX 2012]

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

server public static AccountingDate findAvailableInventoryDate(
    VendPackingSlipJour _vendPackingSlipJour, 
    AccountingDate _startFromDate, 
    Map _dataAreaIds, 
    boolean _showMessage)

Run On

Server

Parameters

_vendPackingSlipJour
Type: VendPackingSlipJour Table
The VendPackingSlipJour record from which to start to search.
_startFromDate
Type: AccountingDate Extended Data Type
The date from which to start to search.
_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.
Show: