Contents tagged with Automation steps
today I want to share one interesting gotcha which took plenty of efforts from mine side in order to understand it.
Recently I got an assignment to modify behaviour of Create Prepayment action at purchase orders.
If to look at CreatePreapyment implementation, it has following part of code:
if (this.Document.Current == null)
APInvoiceEntry instance = PXGraph.CreateInstance<APInvoiceEntry>();
if (this.Document.Current.PrepaymentRefNbr == null)
if to put simply it checks if current purchase order already has a prepayment, and in case if it has, then give to a user error message.
Imagine, that you need to modify that behaviour for … more
today I want to describe some tricky feature of Automation steps.
Quite often in Acumatica I face interesting challenge. I've added some code in Row_Selected, open some screen, and to mine disappointment I find that screen totally ignores mine code. What can stand behind such weird behaviour?
One of the explanations can lie behind automation steps. If to put simply, automation steps is a feature of Acumatica, that allows to program it without any usage of C# code. All that is needed from you as Acumatica user is just add via GUI designer staff on the form and then via automation steps configure it's behaviour.
So, let's consider some details, that can help you to … more