ProjectCommitmentFacade::updateProjectCommitments Method [AX 2012]
Brings up to date the project commitments, depending on information from accounting distributions for the given source document line.
client server public static void updateProjectCommitments(
SourceDocumentLineItem _sourceDocumentLineItem,
[boolean _skipCommittedCostParameter,
boolean _suppressMessages,
boolean _trackBudgetStatus])
Run On
CalledParameters
- _sourceDocumentLineItem
- Type: SourceDocumentLineItem Class
A SourceDocumentLineItem object.
- _skipCommittedCostParameter
- Type: boolean
A Boolean value that indicates whether to skip the committed cost parameter set in the ProjParameters table.
- _suppressMessages
- Type: boolean
A Boolean value that indicates whether to suppress the over budget messages; optional.
- _trackBudgetStatus
- Type: boolean
A Boolean value that indicates whether to track the budget status of the transactions; optional.
If a project commitment does not exist, a new project commitment will be created based on information from the accounting distributions.
If a project commitment already exists, a reversing project commitment entry will be created based on the existing project commitment. A new project commitment will then be created based on the new information from the accounting distributions.
If project budgeting is enabled, creating a reversing project commitment will also liquidate project budgets and creating a new project commitment will also reserve project budgets.
This method will also handle reservation and liquidation of project budgets for the project commitments if project budgeting is enabled.