Customization beginner here.
How do I rename a data field on a screen? Looks like some changes were made from previous versions where this was done. In the example below, I simply want to rename this filed from the screen editor.
Customization beginner here.
How do I rename a data field on a screen? Looks like some changes were made from previous versions where this was done. In the example below, I simply want to rename this filed from the screen editor.
Approach 1: Customization
This is the track you’re in right now - the caption/column names are derived from the attributes of the field; in this case the field is APInvoice.OrigDocAmnt. This can be overridden a few different ways:
Was this renamed/changed by someone,? I would suggest checking in the Code section of the customization project for anything that appear to alter this -- the original name I see on my side is “Amount”
Approach 2: Translation
By using the same tools available to translate the application in another language, you can make alterations to the English labels and messages. Go to Translation Dictionaries (SM200540), pick english and search the label or message you want to translate:
I added the data field to the column to reflect the Original Document Amount (APInvoice__OrigDocAmtWithRetainageTotal). The default label is Total Amount in my system.
I assume that this is what you meant by the Data Access Section? And just change the label here?
That’s what the Data Access section look like:
When you click add, you’ll be prompted to select the class name. Since APInvoice inherits from APRegister, it will automatically revert back to APRegister (this is fine). Click Add Field->Change Attributes of Base Field and pick the OrigDocAmtWithRetainageTotal field.
You simply need to add the following attribute and enter the display name you want:
/PXUIField(DisplayName = ”Total with Retainage", FieldClass = nameof(FeaturesSet.Retainage))]
It will apply to every screen where this field is used. Here’s the result on my system:
This is great!! Thanks!
There is an article (a bit dated) with some additional screen shots here: https://www.acumatica.com/blog/technical-tuesday-changing-field-labels-in-acumatica/
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.