Detect UpdateStdCost() ended
0
I'm trying to call the INUpdateStdCostProcess.UpdateStdCost() method in code but, I'm having a hard time detecting when the process has completed. Apparently, it is asynchronous. How can I do this? INUpdateStdCostProcess costProcess = PXGraph.CreateInstance<INUpdateStdCostProcess>(); INUpdateStdCost standardCostGraph = PXGraph.CreateInstance<INUpdateStdCost>(); foreach (INUpdateStdCostRecord costRec in standardCostGraph.INItemList.Select()) { costProcess.UpdateStdCost(costRec); // how to tell when done? }
acumatica
share | improve this question
asked Nov 16 '18 at 14:34
MikeNIk...