Contents tagged with auto initialized caches PXHidden Method signature looks like event handler

  • Failed to subscribe event CacheAttached in graph

    Hello everybody, who follows my blog.

    Today I want to share with you some surpsise of Acumatica which taken me some time. 

    In one of my graphs I added CacheAttached event in order to modify way of displaying title. As outcome I got something like this:

    Failed to subscribe event Graph::Table_Row_CacheAttached in graph Graph. Method signature looks like event handler, but cache Table has not been found in the list of auto initialized caches.Remove unused event handlers from code.

    Let's assume that Table name is BAccount. 

    It is possible to solve with the following statement:

    [PXHidden]

    public PXSelect<BAccount> HiddenBacount;

    The following statement added BAccount into list of auto … more