During the process of upgrading to latest ERP version say 10.2.200.12 the release upgrade guide section 3.1.4 talks about running conversions first time upgrading to 10.2.200.12.
The conversions Balance Update Process, Bank Statement Conversions and Recalculate Customer Credit are required to be run in each ERP company individually. We have 70+ companies and this process of running conversions in each company during an upgrade is time consuming and tedious thus wanted to know if there is a way to speed up the process for all companies. Moreover it’s a manual effort and chances are high to skip some companies when there is a big list of companies in hand.
This is not really a recommendation but more of an example - but we do it this way in some automation scripts.
1 - Create a new post-processing method directive on a table that will serve as a Trigger (i.e. UD01.Update)
2 - Make sure to have a specific condition to prevent this from accidental execution and disable when complete
3 - Use something like the code below (might need adjustments) - make sure to return to original company executed from when complete for the context
4 - Update your trigger table, BPM will execute and then check the log files (company specific created)