PurchLineLeadTimeWebpartDP.increaseOrderCount Method [AX 2012]

Increases the order count in the correct document state internal map.

private void increaseOrderCount(Days _daysToBeginLeadTime, VersioningDocumentState _documentState)

Run On

Server

Parameters

_daysToBeginLeadTime
Type: Days Extended Data Type
The number of days until the order lead time field starts.
_documentState
Type: VersioningDocumentState Enumeration
The document state field.

This method does not accept a VersioningDocumentState::Finalized enumeration value order. The VersioningDocumentState::Confirmed enumeration value orders go to the confirmed map and the VersioningDocumentState::Approved enumeration values orders go to the approved map. All other document state types go to the not approved map.

Community Additions

ADD
Show: