Locks an entity for a given scenario, year, and period.
Syntax
<IHsvAdminICM>.LockICEntity lScenario, lYear, lPeriod, lEntity, vbCheckMVBP
Argument | Description |
---|
lScenario | Long (ByVal). The member ID of the Scenario dimension member. |
lYear | Long (ByVal). The member ID of the Year dimension member. |
lPeriod | Long (ByVal). The member ID of the Period dimension member. |
lEntity | Long (ByVal). The member ID of the Entity dimension member. |
vbCheckMVBP | Boolean (ByVal). A flag that specifies whether to lock the entity only if matched transactions and mismatched transactions with a reason code are posted. Pass TRUE to lock only if such transactions are posted, FALSE otherwise. If you pass TRUE, and one or more of such transactions are not posted, the entity is not locked and an error is thrown. |