ProjBudgetManager.createAllocationLine Method [AX 2012]

Creates the allocation lines of specified project budget revision.

public void createAllocationLine(
    NoYes _isHourCosts, 
    NoYes _isExpenseCosts, 
    NoYes _isItemCosts, 
    NoYes _isFees, 
    NoYes _isHourRevenues, 
    NoYes _isExpenseRevenues, 
    NoYes _isItemRevenues, 
    TransDate _isFromDate, 
    TransDate _isToDate, 
    Common _common, 
    ProjAllocationMethod _projAllocationMethod)

Run On

Called

Parameters

_isHourCosts
Type: NoYes Enumeration
A NoYes type value that determines whether allocation should be performed on an hour cost budget line.
_isExpenseCosts
Type: NoYes Enumeration
A NoYes type value that determines whether allocation should be performed on an expense cost budget line.
_isItemCosts
Type: NoYes Enumeration
A NoYes type value that determines whether allocation should be performed on an item cost budget line.
_isFees
Type: NoYes Enumeration
A NoYes type value that determines whether allocation should be performed on a fee budget line.
_isHourRevenues
Type: NoYes Enumeration
A NoYes type value that determines whether allocation should be performed on an hour revenue budget line.
_isExpenseRevenues
Type: NoYes Enumeration
A NoYes type value that determines whether allocation should be performed on an expense revenue budget line.
_isItemRevenues
Type: NoYes Enumeration
A NoYes type value that determines whether allocation should be performed on an item revenue budget line.
_isFromDate
Type: TransDate Extended Data Type
A TransDate type value that determines the from date of allocation.
_isToDate
Type: TransDate Extended Data Type
A TransDate type value that determines the to date of allocation.
_common
Type: Common Table
A ProjBudget or ProjBudgetRevision table buffer.
_projAllocationMethod
Type: ProjAllocationMethod Enumeration
A ProjAllocationMethod type value that determines that allocation method that is used for allocation.

ExceptionCondition
Error

The allocation start date did not have lies in any fiscal period.

-or-

The allocation end date did not have lies in any fiscal period.

-or-

The allocation start date did not have lies in any fiscal year.

-or-

The allocation end date did not have lies in any fiscal year.

-or-

A cancel update error message will show if an error occurred when the allocation line was created.

UpdateConflictNotRecovered

An error throws when updating the record which creates conflict and is not recoverable.

UpdateConflict

An error throw when update conflict is occurred.

Community Additions

ADD
Show: