Interfacing to Web Site
  Overview
 

 

The Web Site System is designed to work with other subsystems by communicating with them through a series of interface programs and data files. The use of these interface programs and files allows this communication to be established with minimal or no modification to the Web Site System itself.

 

A set of sample programs is provided with the Web Site System. The sample source code for these programs is located in the library named IFGEN. The programs provided will interface with the Web Site System and any other subsystems provided by Business Applications, Inc. However, they will not communicate with any other subsystems without modification. Programs residing in library HSMGEN are either Web Site System target or source programs and should not be modified. All modifications should be done by copying source code to IFUSER and then be compiled to library IFUSER.

It is the user's responsibility to insure these programs are modified to communicate with the user's subsystems.

These programs can be either CL or RPG depending on the requirements of the task being performed. CL programs are normally used when library lists need to be changed or modified in order to access other subsystems.

The IFUSER library should always exist at the top of the library list of any user while performing Web Site functions.

 

 

  Interface Calls To Web Site
 

 

The following are calls which can be made to the Web Site System to send information to the application, retrieve information from the application or to enter the application to display or work with information within the application.

Description Program Sample programs
Get SGI User HSSEXFR IFGEN/QRPGSRC/SOSBS115
Work with Internet Users HSTXXFR IFGEN/QRPGSRC/SOSBS119

 

  Interface Calls From Web Site
 

 

These programs may need to be modified in order to correctly access the information from or to feed information to your applications. Some may require modification. Any modified programs should reside in library IFUSER. They will then be used in place of supplied BAI interface programs when called. DO NOT place these program in IFGEN library. If you do, they may be replaced when application updates are applied.

Samples of these programs can be found in QRPGSRC in library IFGEN.

 
Description Program Note
Change Order Information HSM0013
Copy Order HSM0069
Count Records For Key HSM0053
Delete Order HSM0070
Get Brand HSM0024
Get Carrier HSM0064
Get Carrier Service HSM0061
Get Chapter HSM0014
Get Company & Account HSM0074
Get Cust Item HSM0079
Get Customer Name HSM0068
Get Customer Ship To HSM0001
Get Next Brand HSM0034
Get Next Brand Product HSM0032
Get Next Carrier HSM0065
Get Next Carrier Service HSM0062
Get Next Chapter HSM0008
Get Next Cust Item ID HSM0077
Get Next Cust Order HSM0009
Get Next Cust Template HSM0056
Get Next Order Item HSM0039
Get Next PB Product HSM0021
Get Next Prod Accessory HSM0044
Get Next Prod Alternate HSM0037
Get Next Prod For Key HSM0054
Get Next Product HSM0005
Get Next Product by Mfg HSM0028
Get Next Product by Page HSM0076
Get Next Product by Word HSM0030
Get Next Product Key HSM0026
Get Next Product Link HSM0036
Get Next Section HSM0015
Get Next Ship To HSM0010
Get Next Style Link HSM0049
Get Next Style Product HSM0047
Get Next Sub Section HSM0017
Get Order HSM0025
Get Order Change Status HSM0060
Get Order Item HSM0041
Get Order Item Prod Key HSM0052
Get Order Text HSM0058
Get Prior Brand HSM0035
Get Prior Brand Product HSM0033
Get Prior Carrier HSM0066
Get Prior Carrier Service HSM0063
Get Prior Chapter HSM0007
Get Prior Cust Item ID HSM0078
Get Prior Cust Order HSM0011
Get Prior Cust Template HSM0057
Get Prior Key Product HSM0055
Get Prior Order Item HSM0040
Get Prior PB Product HSM0022
Get Prior Product HSM0003
Get Prior Product by Key HSM0027
Get Prior Product by Mfg HSM0029
Get Prior Product by Page HSM0075
Get Prior Product by Word HSM0031
Get Prior Section HSM0016
Get Prior Ship To HSM0012
Get Prior Style Link HSM0050
Get Prior Style Product HSM0048
Get Prior Sub Section HSM0018
Get Product Information HSM0023
Get Product Link HSM0038
Get Product Style HSM0045
Get Section HSM0019
Get Style HSM0046
Get Style Link HSM0051
Get Sub Section HSM0020
Post Order HSM0042
Print Order HSM0071
Update Order Carrier HSM0067
Update Order Item Qty HSM0043
Update Order Ship To HSM0004
Update Order Text HSM0059
Update Product Order Qty HSM0002
Validate Account Number HSM0072

 

* No Notes