Updating the events rules

com.Geac.erp.system21.aef/xml/maps. Inside these folders, there are additional folders that represent the iSeries libraries where the System21 PMPxx and PLPxx tables reside. You must also change these folder names to match your libraries (see Figure 4-10).

Figure 4-10 File structure for libraries named Xyz…

Updating the events rules

There are two ways to update these event rules:

￿Edit the XML documents provided (preferably using Notepad). Do not use an editor that reformats the XML, for example, one that adds carriage returns and formatting such as XMLSpy.

￿If you have @ctive Modeler, import the vendorconnect Business Process (found in the /bpr directory) into @M. Click the Events bar in the Palette. If this is not visible, right-click the Palette bar and select the Show WM Controls option.

Edit the relevant event (by double-clicking the event, double-clicking the rule, double-clicking the VNDRxx test, and changing the list of suppliers and saving it), and re-activate the changed event.

If you are editing the XML documents directly (option 1), proceed as explained here:

1.Change all the rules for PMP02, PMP03, and PMP09 (in /com.geac.erp.system21.aef/xml/rules). There are nine events or XML files to edit or reactivate in total.

2.In each event, edit the VNDR comparison test to specifically include the list of suppliers that are in use.

3.Change the list of dummy suppliers abc, def, and ghi (see the following example) into the real list of supplier IDs.

4.Change the VDNRxx reference to match the 02, 03, or 09 file to which the rule applies:

<tests>

<test>

<format>1</format>

<format_string>COMPARISON</format_string> <field_id>DTLC02</field_id> <field_scope>1</field_scope> <field_scope_string>AFTER</field_scope_string> <diff_field_id /> <diff_field_scope>1</diff_field_scope>

<diff_field_scope_string>AFTER</diff_field_scope_string> <condition>1</condition> <condition_string>EQ</condition_string> <value>9999999</value>

90Geac System21 commerce.connect: Implementation on the iSeries Server

Page 102
Image 102
IBM SG24-6526-00 manual Updating the events rules