Eyefinity WIP Processing

For some customers Eyefinity produces a file called basename-osr.xml. This is an encrypted file containing all of the orders Eyefinity believes to be in process.

We can reconcile these orders against the Rx-Universe WIP using the EYEFIN_WIP program as a scheduled task (or on the comandline)

Running as a task

Once the trigger has been set up, the “Action” for the scheduled task is:

Program: wrun32.exe (optionally with the complete path if it is not in the system PATH)

Arguments: -c omics.cfg -y omics6 -y xmlif.dll EYEFIN_WIP

Running from command line

The EYEFIN_WIP program can also be run from the command line (or invoked by a third-party system) - it does not have to be run as a scheduled task. To illustrate, the following command could be run from the root Rx-Universe folder, from the command line:

wrun32 -c omics.cfg -y OMICS6 -y XMLIF.DLL EYEFIN_WIP

This invokes exactly the same instruction as the previous, scheduled, task.

Actions

The program will attempt to fetch basename-osr.xml from Eyefinity. Then it will decrypt and process it, categorizing each order as one of the following:

  1. Correctly WIP: the order number is recognized and it is not completed. No action is needed.

  2. Completed: the order number is recognized but the order has been completed. A status update to Eyefinity will be queued Eyefinity Interface - Rx-Universe - Confluence (atlassian.net)

  3. Not recognized: the order number is not known. An email will be sent to support@omics.com and the email entered in the Alert Email parameter Eyefinity Interface - Rx-Universe - Confluence (atlassian.net) advising the recipients of the discrepancy.

The last 10 osr.xml files and the last 10 EYEFIN_WIP run logs will be archived in omicstx/eyefinity/archive.