21796

How do I rename the Column Name on Acumatica Customers screen?

Question:

How do I rename the Column Name on Acumatica Customers screen?

I tried the below method on other screens, but for the customers page, it does not seem to be working:

PXUIFieldAttribute.SetDisplayName<PX.Objects.CR.CRRelation.BAccount__AcctName>(this.Transactions.Cache, "Customer Name");

Answer1:

Not sure which Customers screen are you referring but AR.30.30.00 does not have view called Transactions out of the box. Also, SetDisplayName in your case should take 3 parameters -

PXUIFieldAttribute.SetDisplayName(PXCahce, fieldname, displayName)

And changing display names for grid columns are best handled at DAC attribute level. At runtime, there is lesser know (read undocumented) repaintcolumns property that forces redraw of column headers which might work.

best of luck!

Answer2:

Try this

PXUIFieldAttribute.SetDisplayName<DAC.field>(this.Transactions.Cache, null, "Field Name")

I don't have VS here so I don't remember the syntax correctly, hope it'll help

Recommend

  • Building libiconv fails with the Android standalone toolchain
  • How to get top 10 and ORDER BY() from COUNT()
  • Why is this jQuery reference '$(“”)' instead of '$(“”)'?
  • SQL Server - Get all children of a row in many-to-many relationship?
  • What do internal compiler error messages mean, and what can I do?
  • Why does an array get passed by value some times and not others?
  • Which devices/recommended sizes should I target with mediaqueries?
  • Flush google analytics events manually with Google Play Services
  • WPF Listbox commands
  • Iterate twice through a DataReader
  • Neo4j: Filter nodes based on aggregate function
  • Command line installation of Code Signing certificates, .p12 files, and mobileprovisions
  • HttpClient: disabling chunked encoding
  • Magento get URL before current
  • Angular2 - Template reference inside NgSwitch
  • How to estimate the Kalman Filter with 'KFAS' R package, with an AR(1) transition equation
  • Clear fused location provider's location for testing
  • Fail:(TESTMODE) Transactions of this market type cannot be processed on this system
  • Tell Git to stop prompting me for conflicts when none really exist?
  • Bigquery event streaming and table creation
  • android.support.v7.widget.Toolbar VectorDrawableCompat IllegalStateException when using support lib
  • Differences in dis-assembled C code of GCC and Borland?
  • Run multiple queries from 1 SQL file showing result in multiple tables
  • MS Access - How to change the linked table path by amend the table
  • Query to find the duplicates between the name and number in table
  • Unable to get column index with table.getColumn method using custom table Model
  • Parse a date string in a specific locale (not timezone!)
  • How to define and use opencv mat of user type
  • Django: Count of Group Elements
  • Handling un-mapped Rest path
  • What is the “return” in scheme?
  • recyclerView does not call the onBindViewHolder when scroll in the view
  • JSON with duplicate key names losing information when parsed
  • How to make Safari send if-modified-since header?
  • How to pass list parameters for each object using Spring MVC?
  • Setting background image for body element in xhtml (for different monitors and resolutions)
  • JaxB to read class hierarchy
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Conditional In-Line CSS for IE and Others?