Manually Filing a SO

Sometimes, you will want to disable the Eportal side to not run the Avante filing logic. This would usually be done because there is a problem and you are trying to debug it. The only program you will need to change is SFLIB SFORDERAPI. All the changes needed for debugging are already in place, and can be turned on/off with a single line change.

To disable the normal filing, simply:

  • In SFLIB SFORDERAPI, change MANUAL.PUSH = @TRUE to @FALSE
  • Re-compile SFLIB SFORDERAPI
  • If LIVE, bounce the Redback Gateway server
  • From StoreFront, file a sales order normally

Instead of connecting to Avante and processing the desired data, it will instead:

  • send the user an E-mail
  • cleanly terminate the code w/o connecting to Avante
  • Write an XML file
This E-mail will contain an attachment which is a copy of the XML file (so that you can see exactly what is being passed).
This E-mail will also contain the specific instructions needed to manually "push" the XML data through to Avante in a debug mode.
It will be something like:
      From Avante, type ECL.RUNAGENT AgentID1 DEBUG
            1Where AgentID is 95000 for LIVE, 10001 for PILOT, and 10000 for TEST.