InventModelGroupItem inventModelGroupItem; EcoResProduct ecoresproduct; InventTable inventTable; ttsBegin; while select forUpdate inventModelGroupItem where inventModelGroupItem.ItemId != '' join inventTable where inventModelGroupItem.ItemId == inventTable.ItemId && inventModelGroupItem.ItemDataAreaId == 'QTS' && inventTable.ItemType == ItemType::Item inventModelGroupItem.ModelGroupId = 'WA'; inventModelGroupItem.update(); ttsCommit; info(/completed/);
-
Job class to update" item model group "in inventModelGroupItem Table i'm facing issues !Hi,make sure you pointed to the legal entity QASotherwise you can use changeCompany('USMF')try this :
while select forUpdate inventModelGroupItem where inventModelGroupItem.ItemId != '' join inventTable where inventModelGroupItem.ItemId == inventTable.ItemId && inventModelGroupItem.ItemDataAreaId == inventTable.DataAreaId && inventTable.ItemType == ItemType::Item { }
Best regards,Mohamed Amine MAHMOUDI
Helpful resources
Quick Links
Subscribe to
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
Leaderboard
Andre Arnaud de Cal... 283,183 Super User
Martin Dráb 222,733 Super User
nmaenpaa 101,138