Plan::findVersionNum Method [AX 2012]

Finds a plan with a specific version number for a specified plan reference.

client server public static Plan findVersionNum(
    PlanReferenceRefRecId _planReference, 
    PlanVersionNum _versionNum, 
   [boolean _forUpdate])

Run On

Called

Parameters

_planReference
Type: PlanReferenceRefRecId Extended Data Type
The record ID of the plan reference.
_versionNum
Type: PlanVersionNum Extended Data Type
The version number.
_forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.

Return Value

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

Reference

Show: