ProjectCommitmentFacade::canUpdateProjectCommitment Method [AX 2012]

Indicates whether an existing project commitment must be updated.

client server private static boolean canUpdateProjectCommitment(
    CostControlTransCommittedCost _costControlTransCommittedCost, 
    SourceDocumentLineItem _sourceDocumentLineItem, 
    ProjId _projectId, 
    ProjCategoryId _categoryId, 
    smmActivityNumber _activityNumber, 
    LedgerDimensionAccount _ledgerDimension, 
    Qty _quantity, 
    CurrencyCode _transactionCostCurrency, 
    AmountCur _transactionCurrencyCostAmount, 
    AmountMST _accountingCurrencyCostAmount, 
    AmountMST _accountingCurrencySalesAmount)

Run On

Called

Parameters

_costControlTransCommittedCost
Type: CostControlTransCommittedCost Table
An existing record of the CostControlTransCommittedCost table.
_sourceDocumentLineItem
Type: SourceDocumentLineItem Class
An instance of the SourceDocumentLineItem class.
_projectId
Type: ProjId Extended Data Type
The new project ID value.
_categoryId
Type: ProjCategoryId Extended Data Type
The new category ID value.
_activityNumber
Type: smmActivityNumber Extended Data Type
The new activity number value.
_ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The new ledger dimension value.
_quantity
Type: Qty Extended Data Type
The new quantity value.
_transactionCostCurrency
Type: CurrencyCode Extended Data Type
The new transaction cost currency value.
_transactionCurrencyCostAmount
Type: AmountCur Extended Data Type
The new transaction currency cost amount value.
_accountingCurrencyCostAmount
Type: AmountMST Extended Data Type
The new accounting currency cost amount value.
_accountingCurrencySalesAmount
Type: AmountMST Extended Data Type
The new accounting currency sales amount value.

Return Value

Type: boolean
true if existing project commitment can be updated; otherwise, false.
Show: