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
- _reqPlanId
Type: ReqPlanId Extended Data Type
The ID of the master plan.
- _reqPlanDataAreaId
Type: DataAreaId Extended Data Type
A string value that represents the data area ID.
- _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.