static void UpdatingDimensionGroup(Args _args)
{
inventTable inventTable;
ttsBegin;
while select inventTable
{
InventTableInventoryDimensionGroups::updateDimensionGroupsForItem(curext(), inventTable.itemid, EcoResStorageDimensionGroup::findByDimensionGroupName("XXX_SDG").RecId, EcoResTrackingDimensionGroup::findByDimensionGroupName("XXX_TDG").RecId,inventtable.product);
}
ttsCommit;
}
{
inventTable inventTable;
ttsBegin;
while select inventTable
{
InventTableInventoryDimensionGroups::updateDimensionGroupsForItem(curext(), inventTable.itemid, EcoResStorageDimensionGroup::findByDimensionGroupName("XXX_SDG").RecId, EcoResTrackingDimensionGroup::findByDimensionGroupName("XXX_TDG").RecId,inventtable.product);
}
ttsCommit;
}
No comments:
Post a Comment