Skip to main content
Solved

Renaming a Field

  • December 7, 2021
  • 4 replies
  • 1189 views

Forum|alt.badge.img+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

 

Best answer by Naveen Boga

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.

 

View original
Did this topic help you find an answer to your question?

4 replies

vivekm
Varsity I
Forum|alt.badge.img
  • Varsity I
  • 78 replies
  • December 7, 2021

Hi @ShahidaValiSyed04 

Can you try like below please:

 

And it will rename the field.

 


praveenpo
Semi-Pro II
Forum|alt.badge.img+3
  • Semi-Pro II
  • 99 replies
  • December 7, 2021

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");


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3404 replies
  • Answer
  • December 7, 2021

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.

 


Forum|alt.badge.img+1

Thank you guys


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings