Progress
Application Development
Environment — Getting Started
Order Section
The Order section of the Order Tracking System contains SmartObjects for querying, viewing, adding, and changing order information.
The buttons in this section launch modules for performing the following tasks:
Placing New Orders
The Place New Order button in the Order section opens the Order Entry/Maintenance window to create new orders.
The Order Entry/Maintenance window is a nonmodal child window of the main window. As a result, you can move between the Order Entry/Maintenance window and the main window by clicking on them.
The Order/Entry Maintenance window has a SmartDataViewer for viewing order information and a SmartFolder with two tabs. A SmartFolder is a SmartObject that organizes the display of information into logical groupings, usually presenting the most frequently needed information on the first tab. In this instance, you can view different levels of detail about the customer’s orders and the individual lines of an order by choosing different tabs.
Follow these steps to view order information and place a new order:
- Choose the Place New Order button. The Order Entry/Maintenance window opens:
![]()
The Order Header tab contains a SmartDataViewer that displays information about the order currently shown in the Order section of the Order Tracking System main window. The Order Header tab also contains a Navigation panel and a record Update panel.
- Choose the Order Lines tab to view the Order Lines information:
![]()
This tab contains a SmartDataViewer that displays information about the individual order lines in the current order.
- Choose the browse button next to the Item field to open the Item Selection window:
![]()
The Item Selection window is a SmartSelect Browser window with a dynamic SmartDataBrowser for browsing item information.
- Close the Item Selection and Order Entry/Maintenance windows, and return to the Order Tracking System main window.
Table 2–13 describes the major objects in the Order Entry/Maintenance section of the Order Tracking System.
Finding Orders
The Find Order button in the Order section opens the Find Order window to view order information.
The Find Order window is a nonmodal child window that is called from the main window. As a result, you can move between the Find Order window and the main window by clicking on them.
The Find Order window contains a SmartFilter and a dynamic browser. Use the SmartFilter to define criteria to search through the selected customer’s orders. You can define a search query based on the date ordered, the order number, the order status, the sales representative, and the shipped date. Use the selection list to control which fields are displayed in the dynamic browser.
Follow these steps to view order information using a dynamic query:
- Choose the Find Order button. The Find Order window opens:
![]()
Initially, the window displays all available orders for the selected customer. You can use the Order filter section to define new search criteria to limit the orders that appear. You use the selection list, Selected Fields Displayed in Browser, to define which fields you want to have displayed in the dynamic browser.
- Type 01/01/98 into the Shipped field and choose the Apply Filter button.
The browser now displays order information based on the shipped date you entered.
NOTE: The fields in the browser remain the same as those in the initial search.- From the Select Fields Displayed in Browser list, select the following fields for the browser:
- Choose the Re-display Browser button to display the new fields in the dynamic browser.
The browser displays the new fields you selected.
- Close the Find Customer window and return to the main window.
Table 2–14 describes the major objects in the Find Order section of the Order Tracking System.
Changing Orders
The Maintain Order button in the Order section opens the Order/Entry Maintenance window. This is the same module that you examined in the "Placing New Orders" section. There are two entry points for this module to allow for differences in the way orders are created and updated.
If your business rules include differences in how orders are entered and maintained, you would code custom triggers on these buttons to enforce those rules. For example, if only field agents could enter orders, you would code the Order Entry button to be disabled for anyone who was not a field agent.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |