Hello everyone,
I’m having issues trying to create an extended workflow that allows Acumatica to override Customers On Credit Hold.
Here is the scenario: Customer is on credit hold or has exceeded the credit hold limit. In normal circumstances the customer needs to be approved from credit hold to be able to process a sales order. So the new workflow is to bypass the credit hold status if the customer pays in cash:
On Hold → Payment Hold → Open
The termsID parameter to request prepayment is not applicable in this situation because I need to be able to either create a PO from the Sales Order or create a Transfer Order as i do not have the stock available in the selling warehouse. The only way i can do this is if the sales order state is Open.
I have created a new state “Payment On Hold” that is triggered from the on hold status if the TermsID is Cash and then can be removed from it to the Open state. The first transition works. The problem is that after I remove “Payment on Hold”, the system sets the state as “Credit Hold”. I have set this second transition to update CreditHold = False, ApprovedCredit = True and InclCustOpenOrders = True.
Any suggestions are really appreciated.