TS/MP Pathsend and Server Programming Manual (H06.05+, J06.03+)
5. Accept any special instructions, such as back-ordering out-of-stock items, required to process
the order.
6. Calculate the total order cost; get the current customer balance and credit limit from the \REG
database; add the total order cost to current customer balance; and ensure that the new
balance does not exceed the customer’s credit limit.
7. Ask the customer to confirm the order.
8. After the customer has confirmed the order, subtract the quantity ordered from the current
quantity available, in the \WHS database, for each ordered item.
9. Add the total order cost to the customer’s current balance in the \REG database.
10. Record the order information in the \REG database.
11. Transmit the order information in the accounts receivable files to the \CORP database and
record the information in the database.
12. Record the order shipping information in inventory files on the \WHS database.
Assume that your analysis of the previous flow of information shows that only two transactions
need to be created to support order processing: an Add New Customers transaction and an Enter
Sales transaction. The Enter Sales transaction, which accepts and records all the information
associated with a customer order, is the example used in the rest of this section.
The data flow outlined in the previous steps is illustrated in Figure 4 (page 30).
Figure 4 Data Flow for a Business Task
30 Designing Your Application










