Rename created grid column in Acumatica for specific graph only

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)
        {
        }

No Comments

Add a Comment