ReqPlanVersion::findActiveReqPlanId Method

Finds the active version of the specified master plan.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          server public static ReqPlanVersion findActiveReqPlanId(
            ReqPlanId _reqPlanId, 
            DataAreaId _reqPlanDataAreaId, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static ReqPlanVersion findActiveReqPlanId(
            ReqPlanId _reqPlanId, 
            DataAreaId _reqPlanDataAreaId, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static ReqPlanVersion findActiveReqPlanId(ReqPlanId _reqPlanId, [boolean _forUpdate])

  Microsoft Dynamics AX 2012 (FPK)
          server public static ReqPlanVersion findActiveReqPlanId(ReqPlanId _reqPlanId, [boolean _forUpdate])

  Microsoft Dynamics AX 2012 (SYS)
          server public static ReqPlanVersion findActiveReqPlanId(ReqPlanId _reqPlanId, [boolean _forUpdate])

Run On

Server

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that specifies whether to read the record for update; optional.

Return Value

Type: ReqPlanVersion Table
A record in the ReqPlanVersion table; otherwise, an empty record.

Remarks

The _reqPlanDataAreaId parameter has been added.

See Also

Reference

ReqPlanVersion Table