Share via


InterCompanyReqCalcSchedule.checkUpdateTypeAllowed Method [AX 2012]

Checks whether net change is used in the first iteration of an intercompany master planning run.

Syntax

public boolean checkUpdateTypeAllowed(
    ReqIntercompanyPlanningGroupRecId _intercompanyGroup, 
    ReqCalcUpdate _reqCalcUpdate, 
   [boolean _throwOnError])

Run On

Called

Parameters

  • _reqCalcUpdate
    Type: ReqCalcUpdate Enumeration
    A ReqCalcUpdate enumeration value that indicates for which update type the check is performed.
  • _throwOnError
    Type: boolean
    A Boolean value that indicates whether to throw an error exception in the infolog or post and infolog warning.

Return Value

Type: boolean
A Boolean that indicates whether net change is used in the first iteration of an intercompany master planning run.

Exceptions

Exception Condition
Error

The method is called without specifying an intercompany planning group.

-or-

Net change is not allowed to be used for the configuration defined by the given intercompany planning group.

See Also

Reference

InterCompanyReqCalcSchedule Class