Some user fields were added to the ARInvoice entry screen (AR301000). The user fields exist in the Transactions grid. They are text fields only. There is no custom logic associated, and are bound to the DB table.
A user wishes to modify a particular user text field after the invoice is released - what would be the best way to achievee this?
Thankfully, the Transactions grid on the ARInvoces entry screen is never disabled by automation steps. All UI presentation logic for the Transactions grid is only defined within the ARInvoiceEntry BLC:
To enable a custom field on AR301000 after the ARInvoice is released, you should complete the following relatevely simple steps:
Set AllowUpdate to true for the ARTran cache within the ARInvoice_RowSelected event handler
Invoke the static PXUIFieldAttribute.SetEnabled method to disable all ARTran fields, except the particular custom text field, the user wants to modify
The complete code snippet is listed below: