Share via


BudgetControlSourceDocumentLinePolicy::newPolicy Method [AX 2012]

Creates an instance of the policy.

Syntax

client server public static BudgetControlSourceDocumentLinePolicy newPolicy(
    SourceDocumentLineItem _sourceDocumentLineItem, 
    boolean _isDraftReservation, 
    SourceDocumentProcessorCaller _caller, 
    boolean _isOnDemandBudgetCheck, 
    UserId _user)

Run On

Called

Parameters

  • _isDraftReservation
    Type: boolean
    A Boolean value that indicates whether the budget reservation is a draft reservation.
  • _isOnDemandBudgetCheck
    Type: boolean
    A Boolean value that indicates whether the budget check is initiated by a specific user action.

Return Value

Type: BudgetControlSourceDocumentLinePolicy Class
An instance of the policy.

See Also

Reference

BudgetControlSourceDocumentLinePolicy Class