Transform Rule Engine Input-Events Types

About Rule Engine Input-Events types

AccountingIntegrator Input-Events are based on one or more formats (Business-documents) that contain a sequence of fields. No field is defined on the Input-Event type itself.

In comparison, Datastore / InterPlay Objects are defined by a set of properties and are composed of a set of elements that are themselves defined by properties. An Input-Event type that includes only one type of record will be transformed into an Object Type with no property attached and made of one element. A better transformation could be to generate in Datastore / InterPlay an Object Type with properties and no Element. More generally, you can configure the transformation by providing an annotation file as illustrated in the graphic below.

Syntax of the annotation file:

<BUSINESS_OBJECT_TYPE_NAME>.properties= <ELEMENT_NAME>

Transforming the files

  1. Run the transformConfiguration script to transform the Finance XML Export file into Datastore / InterPlay configuration.
  2. For more information, refer to AccountingIntegrator configuration import script
  3. In Designer, click Load configuration to import the transformed Configuration.
  4. A window is displayed.
  5. Select Transformed configuration and click Load.
  6. A confirmation message is displayed

You can also load the configuration using the following Designer scripts located in the folder.

‘${AISDesginer }/extra/Tools

:

  • importDocumentByCollectionType
  • importDocument
  • importDocuments

Related Links