static void forupdate(Args _args)
{
InventTable _inventTable;
InventItemGroupItem _inventItemGroupItem;
ItemGroupId _ItemGroupId = _inventItemGroupItem.ItemGroupId ;
ttsBegin;
while select forUpdate _inventTable
exists join _inventItemGroupItem
where _inventItemGroupItem.ItemGroupId == "WIP" && _inventTable.TECIsOverideInvTransParam == NoYescombo::Yes
{
_inventTable.TECIsOverideInvTransParam = NoYesCombo::No;
_InventTable.update();
}
ttsCommit;
}
Regards,
Tyo
{
InventTable _inventTable;
InventItemGroupItem _inventItemGroupItem;
ItemGroupId _ItemGroupId = _inventItemGroupItem.ItemGroupId ;
ttsBegin;
while select forUpdate _inventTable
exists join _inventItemGroupItem
where _inventItemGroupItem.ItemGroupId == "WIP" && _inventTable.TECIsOverideInvTransParam == NoYescombo::Yes
{
_inventTable.TECIsOverideInvTransParam = NoYesCombo::No;
_InventTable.update();
}
ttsCommit;
}
Regards,
Tyo
0 comments:
Post a Comment