Use of Generic Graph Extensions by the System

In this topic, you will learn how MYOB Acumatica or an MYOB Acumatica Framework-based application works with generic graph extensions.

Initialization of a Graph Instance That Includes Reusable Logic

During the initialization of a graph instance that includes reusable logic, the system adds to the collection of data views the data views that are declared in the base graph, including those that are declared in the implementation class or the generic graph extension from which the implementation class inherits. The mapping classes define the PXCache<Table> objects in which the mapping-based views keep data records.

Event handlers that are declared in the base graph, implementation class, and generic graph extension are added by the system to the collections of event handlers in the corresponding PXCache object. The event handlers defined for the fields or rows of the mapped cache extension are added to the PXCache object of the base DAC type to which the mapped cache extension is mapped.

The following diagram illustrates the initialization of a sample OpportunityMaint graph instance that includes reusable logic.
Figure 1. Intitialization of a graph instance