ProjBudgetTransactionManager.isOverrunAllowed Method [AX 2012]

Determines whether overrun is enabled for the project.

private boolean isOverrunAllowed(
    ProjId _projId, 
    ProjCategoryId _projCategoryId, 
    AmountMST _overBudgetedCostAmount, 
    AmountMST _overBudgetedSalesAmount, 
    ProjBudgetaryControlOn _projBudgetaryControlOn, 
    ProjActivityNumber _projActivityNumber, 
   [RefRecId _sourceDocumentLine])

Run On

Called

Parameters

_projId
Type: ProjId Extended Data Type
The project ID for which budget is to be obtained.
_projCategoryId
Type: ProjCategoryId Extended Data Type
The category ID.
_overBudgetedCostAmount
Type: AmountMST Extended Data Type
The over-budgeted cost amount.
_overBudgetedSalesAmount
Type: AmountMST Extended Data Type
The over-budgeted sales amount.
_projBudgetaryControlOn
Type: ProjBudgetaryControlOn Enumeration
A ProjBudgetaryControlOn enumeration value.
_projActivityNumber
Type: ProjActivityNumber Extended Data Type
_sourceDocumentLine
Type: RefRecId Extended Data Type

Return Value

Type: boolean
true if overrun is enabled; otherwise, false.

The specified project ID can be from the alternate project instead of the original project.

The project category ID will be empty if this method is called on account type transactions.

Community Additions

ADD
Show: