I have been asked to stop a sales order counter sale when they click the ‘Process Counter Sale’ button if the credit card order checkbox is not checked.
I ran a trace and the obvious process is ‘SalesOrder.ProcessCounterSale’.
I have tried messages on this to make sure it is gettng the data and I get nothing to show.
So does anyone know which process to use in BPM to stop a counter sale when the button is pushed?
The fields you need are frequently not directly available (depends on the method).
So you have to 1) figure out what fields you do have at your disposal and 2) use those to query what you need.
I usually just fire a email to myself and insert whatever variables are available.
In this case, order number would be useful. If that’s not blank, you can use it as a parameter in a Fill Table by Query widget. I think you also need a Sales Order Tableset variable to put your query results in, and THEN you can check those values.