Does anyone know how to disable an epicor standard button after we click it and it trigger the event it needs to trigger?
How you do it will depend on if you’re customizing the Classic client or Kinetic. In either scenario, write something to a spare Char or Int field on the record when the button is clicked. Then modify the main event to check the value of that field and set it to only run when the value of that field is empty.
I somewhat understand but the events in standard epicor button is lock how do I go about modifying it?
You can’t modify system events, but you can trigger your event before or after a system event.
Just copy the event and modify as needed for your logic. Hide the system button and place a new button tied out to the copied and modified event.
Thanks! I will try that
I manage to copy the Next Lot button but the DataRules FromLotNumberRules that hides the standard button that I also copied to set to hide my custom button is causing an error. Have you ever seen this error before?
To my understanding it seems to be caused by $rowCount in the condition field.
I figured out what the additional condition does, its to hide the button for when you first open the Inventory Transfer page. I manage to work around it using the PartNum as empty to hide the button.