Order processing | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The sale of an item in a shop, the hire of a video, the delivery of new stock to a supermarket are all examples of transactions. A file of these transactions (transaction file) is usually stored and used to update a master file of data. Example Application : Faye's Catalogue Faye's Catalogue receives an order from Mrs Thompson :
When this order is received, it is placed on an Order File. A record from the Order File would look like :
EOR is an end of record marker. To produce an Invoice, two other files are needed : The Customer File :
The Stock File :
Faye's Catalogue then produces this invoice and sends it together with the goods ordered to Mrs Thompson....
Mrs Thompson, when she receives the goods, will return the invoice and the payment to Faye's Catalogue. When the payment is received it is recorded on the Payment Details File (after verification and validation).
The final stage is to use the Payment Details File to update the Customer File. (The 'Amount Owed' field is changed.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||