I have a custom field on the Invoices and Memos screen that is a link to the Sales Order if the invoice is linked to a Sales Order. Works great on the UI. However, when I added the field to the AR301000 screen on the mobile app, there was no link. I scoured the net and could not find the secret.
I finally DID find something in the Acumatica documentation that solved the issue.
This is the single line I needed to add to my code to get it to work:
update screen AR301000 {
update container "InvoiceSummary" {
containerActionsToExpand = 3
fieldsToShow = 11
add recordAction "PrintInvoice" {
redirect = True
}
add field "SOOrderNbr" {
displayName = "Sales Order Nbr"
special = "AllowEdit"
}
}
}
FYI, PrintInvoice action is a VS action to be able to print the Invoice/Credit memo.
A BIG shout out to