Solved

Renaming a Field

  • 7 December 2021
  • 4 replies
  • 780 views

Userlevel 3
Badge +1

Hi Team I am unable to rename a Field under a section in customization project could you please get me out of this. its showing error like below

 

icon

Best answer by Naveen Boga 7 December 2021, 10:23

View original

4 replies

Userlevel 4
Badge

Hi @ShahidaValiSyed04 

Can you try like below please:

 

And it will rename the field.

 

Userlevel 6
Badge +3

hi @ShahidaValiSyed04 ,

Are you trying to change customized field or Default Acumatica field? if default Acumatica what is the field on screen?

Alternate way you can write the logic on the extension graph with two approaches,

1)Cached attached

Sample Code:
 [PXMergeAttributes(Method = MergeMethod.Append)]
 [PXCustomizeBaseAttribute(typeof(PXUIFieldAttribute), nameof(PXUIFieldAttribute.DisplayName), "Customer Order Nbr.")]
 protected virtual void SOOrder_CustomerOrderNbr_CacheAttached(PXCache sender) { }


2)RowSelected event 


Sample Code:
PXUIFieldAttribute.SetDisplayName<ABCOrder.status>(Base.ProdOperRecords.Cache,  "QCO Status");
PXUIFieldAttribute.SetDisplayName<AMProdItem.statusID>(Base.ProdOperRecords.Cache, "Order Status");

Userlevel 7
Badge +17

Hi @ShahidaValiSyed04  According to me code level changes are NOT required. 

You can use workflow and with a few clicks you can change the field name and very simple.

Please find the below steps to rename the field.

  • In the Customization Projects, select the Screen by clicking the “Customize Existing Screen”
  • Left menu, expand the screen, click on the Fields and choose the field which you wanted to rename
  • Change the display name
  • Do Publish the package

Screenshots for your reference.

 

Userlevel 3
Badge +1

Thank you guys

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved