Epicor ERP: Setting the Screen Status Message With Code
At the bottom of every screen within Epicor, there is a status message that usually just says ‘Ready’:
There may be times where it is useful to control this status, especially for long-running processes in your code where you may wish to keep your end user appraised of the current status. Fortunately, Epicor gives us a very easy one-liner of code to set this value within a customization:
// Set the status to 'Adding Customer' and show an hourglass oTrans.PushStatusText("Adding Customer", true); // Set the status to 'Emailing Customer Service' and do not show an hourglass oTrans.PushStatusText("Emailing Customer Service", false);
As you can infer from the comments here, the method oTrans.PushStatusText takes two arguments - the first being the new message and the second being a boolean indicating whether or not an hourglass cursor should be shown. That’s it - simple control over status text.