\Classes\InventUpd_Reservation\updateReserveMore
X++:
appl.inventUpdateTTSControl().setTTSBeginLock();
if (movement.mustBeOnhandLocked(false))
appl.inventUpdateTTSControl().inventItemLocationSelectLocked(movement.itemId());
\Classes\InventUpdateTTSControl\inventItemLocationSelectLocked
X++:
/*
Lock on table inventItemLocation is used for serialisation of updating processes - lock is only used,
if required when instantiating class: InventOnHand (when 'lock' -flag is set to 'true')
*/
public inventItemLocation inventItemLocationSelectLocked(ItemId itemId)
{
InventItemLocation inventItemLocation;
;
...
}
\Classes\InventUpdateTTSControl\setTTSBeginLock
X++:
/*
Begin secondary transaction (used to establish serializing lock in table InventItemLocation)
*/
public void setTTSBeginLock()
{
InventUpdateTTSMode tmpTTSMode;
;
if (!this.mustUseTTSSystem())
return;
...
}
обращаю внимание на этт кусок кода
X++:
if (!this.mustUseTTSSystem())
return;