static void SetFlushingPrincipItem(Args _args)
{
InventTable inventTable;
ttsBegin;
while
select forUpdate * from inventtable
where
inventTable.ItemId like "S-*" &&
inventTable.ProdFlushingPrincip != ProdFlushingPrincipItem::Finish
{
inventTable.ProdFlushingPrincip = ProdFlushingPrincipItem::Finish;
inventTable.update();
info( InventTable.ItemId );
}
ttsCommit;
info( 'OK' );
}
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Friday, February 9, 2018
AX - "UPDATE" job
"Update job" - it change flushing princip on group of items to "Finish".
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment