Contents tagged with CacheAttached Rename column name Acumatica
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)]
[PXUIField(DisplayName = "Employee Name", Visibility = PXUIVisibility.SelectorVisible)]
protected virtual void BAccount_AcctName_CacheAttached(PXCache sender)
} … more