Sale generation through ww.dll
The ww_sales table on the server is the first repository of the sale information processed by ww.dll. The web pages finalize a sale through ww.dll (using the processsale call, as described in the Salesware ww.dll API Description document) and ww.dll, in turn, puts a record into the ww_sales table. At this point, the fields are filled in as shown in the following table:
Field in ww_sales table | Description |
wwsale_id | Unique identifier of the record in ww_sales |
sale_no | Empty |
sale_text | XML describing the sale in the format that Sales Host needs to process it |
salespoint | Empty |
fwd_status | 0 |
fwd_time | NULL |
date_time | datetime of when the call was processed by ww.dll |
result | Empty |
The three empty fields (sale_no, salespoint and result) are filled in by the Sales Host that “picks up” the ww_sales record to process. Note that the design supports processing by multiple Sales Hosts at one time.