Progress
Application Development
Environment — Getting Started


Working With the Order Tracking System

The Order Tracking System combines modules to answer the common business functions needed in an order tracking application. Using it, you can add, search for, and maintain particular customers and orders. You can also maintain the product catalog and warehouse inventory records.

To begin examining the Order Tracking System, choose the Order Tracking button from the SportsPro sample application’s main window.

The main window of the Order Tracking System opens:

NOTE: You might encounter problems with the application screens if you have your display set to large fonts and a resolution of 800x600. As a rule, if you use large fonts, you should use a higher resolution setting, such as 1024x768. In general, you can use large or small fonts with a higher resolution setting. If you do encounter problems with the application screens, try changing your display settings.

The main window is a SmartWindow that is divided into three parts:

Table 2–11 describes the major objects used in the main window of the Order Tracking System.

Table 2–11: Components Of the Order Tracking System Main Window
Object Or File Name
Object Type
Function
worder.w
SmartWindow
Serves as a container for the other objects in the module.
m_Item_Maintenance
Menu-item
Launches wmntitem.w, which is described in Table 2–7.
m_Inventory_Trans
Menu-item
Launches winvtrans.w. The Inventory Transfer section is described below in Table 2–15.
m_Set_Application
_Language
Menu-item
Launches wlang.w. The Set Application Language section is described below in Table 2–16.
dcust
SmartDataObject
Queries the Customer table to retrieve all customer records for the selected query.
vcust
SmartDataViewer
Displays the contents of several fields of the selected customer record.
bfndcust
Button
Launches wfndcust.w, passing it the handle of dcust. Table 2–3 describes wfndcust.w in detail.
bmntcust
Button
Launches wmntcust.w, passing it the handle of dcust. The Customer Maintenance section is described below in Table 2–12.
dorder
SmartDataObject
Queries the Order table to retrieve all order records for the selected query.
dordlne
SmartDataObject
Queries the OrderLine table to retrieve all order line records for the selected query.
vorder
SmartDataViewer
Displays the contents of several fields from the Order and Salesrep tables for the selected order record.
dsalesrep
SmartDataObject
Queries the Salesrep table to retrieve all sales rep records for the selected query.
dynselect
SmartSelect
Allows the user to navigate through the records in dsalesrep.
CtrlFrame
OCX
Provides navigation control for the order records.
CtrlFrame-2
OCX
Provides navigation control for the order records.
bcreord
Button
Launches wmntord.w, passing it the handles of dcust, dorder, and dordlne. The Order Entry/Maintenance section is described below in Table 2–13.
bfndord
Button
Launches wfndord2.w, passing it the handle of dorder. The Find Order section is described below in Table 2–14.
bmntord
Button
Launches wmntord.w, passing it the handles of dcust, dorder, and dordlne. The Order Entry/Maintenance section is described below in Table 2–13.
folder
SmartFolder
Organizes the display of objects onto two logical pages, shown as the Browser and Detail tabs.
bordlne2
SmartDataBrowser
Allows the user to select an order line record.
vordlne
SmartDataViewer
Displays the contents of several fields of the selected order line record.
pnavico
SmartPanel
(navigation)
Controls navigation for the result set from vordlne.
sports2000.hlp
Help Text File
Provide help text for the buttons in the main window of the sample application.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095