Laddawn.com : Programming Doc - Use Avante SYS0123 to Create Order

Sales Order Creation
SYSS0123.1
9/6/13
Instead of using the current web version of SYSS0123.1 from the AVBP file, we are going to have the new web call the Avante version of this program to create sales orders. In this way, we will ensure that we are using the same logic to create sales orders from both Avante and the new web and also do away with the need to make modifications in two places going forward. We will attempt to go back to as many Avante program calls as possible. Janice has gone down one level of program calls and has provided a spreadsheet of the differences in the programs. I have reviewed and believe that none of these differences should stop us from moving forward with removing the AVBP versions.
LDLIB RPC$CREATEORDER calls some of the programs on the attached spreadsheet, and then calls SYSS0123.1 which in turn calls the other programs.
Approach:
Work in DEV925. Starting from the bottom of the attached spreadsheet with the called programs, I would take one at a time and revert back to the Avante version:

  • Copy the AVBP version to new file DELETED.AVBP (I have already created in DEV925)
  • DELETE-CATALOG pgmname
  • Delete the program from AVBP (make sure underscore version is gone too)
  • CATALOG DBP pgmname DIRECT FORCE
  • Test on DEV925 using TEST.WEB calling RPC$CREATEORDER. John is getting list of parameters together that you can put in your test plan.
  • If everything seems okay (you are getting an order and line items and no program errors), repeat with the next program
  • The last program to be reverted would be SYSS0123.1


When this is all working, we will take a look at what is remaining in the AVBP file to see if there are other programs that we can revert back to the Avante version. We will use the DELETED.AVBP file to clean up the TRN and LIVE sites when we go live with the new site.