Hello everyone,
As part of customization, we are trying to allow creating a Payment for a Sales order which is in pending approval status.
Standard Acumatica has a restriction here to avoid Payment creation in this case, to remove the restriction for the Pending Approval status, we tried to override the Restrctor attribute as below, which is not helpful, and we don’t see this restriction, anywhere else in the code.
Tried Modifying the PXRestrictor attribute remove SOOrderStatus.pendingApproval , which didn’t help. As a next step, tried with Override the AdjdOrderNbr Selector without PXRestrictor still giving same error, and unable to create the Payment.

Steps to verify this:
• Create a Sales Order, and ensure Order status is Pending approval
• Navigate to Payments and Applications screen, try to create a new Payment with the same customer used in the Sales Order, and then try to add the select the Sales order from the Sales Orders tab
• Tab out here, or saving the record pops out the error, which we are trying to avoid here.
Looking for the suggestions to achieve this. Please review let us know if you have any inputs on this.
Appreciate your help!!

