Rename Created Grid Column In Acumatica For Specific Graph Only
27 June 2014
Hello everybody,
today I want to share trick about renaming item in grid. Suppose you want to use developed by Acumatica data access class of acumatica, which has name BAccount, and you have huge desire to rename it in column from "Account name" to "Employee Name".
You can use for such purpose CacheAttached event. In my case following code helped to achieve renaming:
[PXDBString(60, IsUnicode = true)] [PXDefault()] [PXUIField(DisplayName = "Employee Name", Visibility = PXUIVisibility.SelectorVisible)] [PXFieldDescription] [PXMassMergableField] protected virtual void BAccount_AcctName_CacheAttached(PXCache sender) { }