ReqPlanManager.acquireUpdateLockOnActiveVersionInCmp Method [AX 2012]

Acquires the update lock on the active master plan version in the specified company.

public ReqPlanVersion acquireUpdateLockOnActiveVersionInCmp(DataAreaId _company, ReqPlanId _planId)

Run On

Server

Parameters

_company
Type: DataAreaId Extended Data Type
The company ID.
_planId
Type: ReqPlanId Extended Data Type
The master plan ID.

Return Value

Type: ReqPlanVersion Table
The master plan version that has been locked.

If the version that has been locked is inactive, this method will retry until the active version is locked.

This method supports nested invocations.

Community Additions

ADD
Show: