ERP Context

The functionality of contexts allows for assigning a global process to a Comarch ERP Standard object from the level of which the process is to be started. A list or object (e.g., invoice) detail can be used as a context. To define a context, it is necessary to select [ERP Context] button from Model group of buttons.

Starting window with context definition

A window, where it is possible to assign values retrieved from a given context to specific process parameters, is opened.

Window for defining context

In the section of startup parameters, there is a list of all user’s parameters marked as Startup. Below, there is a list of available objects of the Comarch ERP Standard system along with information about the type of a given parameter. Assigning an object to a parameter makes a process visible for a given object, whereas the value of such parameter, upon contextual startup, is automatically completed with the value of the object property.

Example
A process executes some operations on a purchase invoice document (PI). When starting the process from the level of the Task Inbox, as process parameters it is necessary to specify document ID and transaction date. So it is possible to define a context in such a way as to make it possible to start the process from the level of the list of PI and for document ID and transaction date to be completed on the basis of selected item. To do so, in the window of the context definition, it is necessary to associate process parameters with the list of purchase invoices (select object on the right side and click on [Assign]). Option Get Value should remain checked.

Context example – ID association

Context example – date association

After applying the changes, saving the process, publishing it and assigning appropriate permissions, it will be possible to start the process from the level of the list of purchase in voices in the Comarch ERP Standard system.

Starting process from context

 

 

Czy ten artykuł był pomocny?