1. Field of the Invention
This invention relates generally to monitoring systems that undergo aggregate changes, such as inventory control systems. Specifically, the invention relates to the fulfillment of an order status system for fulfilling orders, and monitoring the change aggregation using timestamps.
2. Description of Related Art
One aspect of many businesses is to accept and fulfill orders. Orders generally contain line items identifying certain products have been requested and that need to be addressed in a timely manner. The line items generally contain the identification of the products being purchased and the quantity of each product selected. Normally, businesses will attempt to fill the orders as product becomes available. If there is inventory on hand to ship, the line item representing that particular product may be separated and shipped independently of other products that are not available for immediate shipment. As inventory becomes available, the remaining quantity of each product identified is shipped in fulfillment of the order.
Orders and line items are particular examples of business objects. Business objects generally have attributes that change over time. Tracking these changes is one of the primary responsibilities of an order status system. For exemplary purposes, the order status system attributes considered are order number, order status, line number, product, quantity ordered, quantity shipped, and shipment status. However, the description is equally applicable to the more general attributes normally consistent with order status systems.
Continuing the example, when an additional server becomes available and is shipped, the relational database details an updated status.
When another hard drive becomes available, the relational database is again updated.
Normally, users monitor the Order section when an order changes. However, when a user is noticed of an order change, the Order section depicted in
Bearing in mind the problems and deficiencies of the prior art, it is therefore an object of the present invention to provide a method of notifying a user through a relational database output when an order status changes.
It is another object of the present invention to provide a method for updating order status in a relational database that takes into account the continuing updating of certain line items in progress.
Still other objects and advantages of the invention will in part be obvious and will in part be apparent from the specification.
The above and other objects, which will be apparent to those skilled in the art, are achieved in the present invention, which is directed to a method of aggregating changes in an order status database system comprising: identifying an order and a current order status; identifying individual line items that together form the order, wherein the individual line items include a quantity requested, a quantity shipped, and a shipping status; applying timestamps identifying an initial time of insertion and an update time for the order and each of the individual line items; updating the timestamps, the current order status, and the line item shipping status, whenever a line item is updated; and displaying the order and the individual line items with the insert timestamps, the update timestamps, the current order status, and the line item shipping status. The order may be identified by an order number. The individual line items may each be associated with individual products. The current status order and the line item shipping status include categories to identify orders and line items that are received, partially shipped, or shipped. The timestamps may include time and date information. Updating the line item may include identifying a time and date when the line item has been shipped in fulfillment or partial fulfillment of the order. The method further includes updating the quantity shipped whenever an additional line item is shipped. The method may be performed in the database system software using SQL.
In a second aspect, the present invention is directed to a method of aggregating changes in an order status database system comprising: identifying and displaying order level information; identifying and displaying line item information, such that the sum of individual line item information represents a total for the order level information; and implementing SQL to aggregate timestamps for the line items up to the order level.
The order level information may include an order number, an order status, an order insert timestamp, and an order update timestamp. The line item information may include a line number, a product identifier, quantity ordered, quantity shipped, a line item status, a line item insert timestamp, and a line item update timestamp. The order status may include categories to identify orders that are received, partially shipped, or shipped.
In a third aspect, the present invention is directed to a program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for aggregating changes in an order status database system, the method steps comprising: identifying an order and a current order status; identifying individual line items that together form the order, wherein the individual line items include a quantity requested, a quantity shipped, and a shipping status; applying timestamps identifying an initial time of insertion and an update time for the order and each of the individual line items; updating the timestamps, the current order status, and the line item shipping status, whenever a line item is updated; and displaying the order and the individual line items with the insert timestamps, the update timestamps, the current order status, and the line item shipping status.
The features of the invention believed to be novel and the elements characteristic of the invention are set forth with particularity in the appended claims. The figures are for illustration purposes only and are not drawn to scale. The invention itself, however, both as to organization and method of operation, may best be understood by reference to the detailed description which follows taken in conjunction with the accompanying drawings in which:
In describing the preferred embodiment of the present invention, reference will be made herein to
The present invention addresses the issue of relational database status when only a portion of the order is satisfied. Two date/time columns are added to each row in the database table. These date/time columns are generally referred to as ‘timestamps,’ and represent the time the row was inserted into the database, and the time the row was last updated. The example above is discussed below with the additional implementation of the insert and update timestamps.
In a similar fashion to the previous example, there is inventory on hand to ship three servers and two hard drives, so these products are immediately shipped and the relational database is updated accordingly with the additional information for an update timestamp included.
Another server becomes available and is shipped out.
When the remaining server ships, the relational database output is updated for a final tally. Order status 102 depicts the order status as ‘shipped’, with the latest update timestamp reflecting the last update of the remaining line item 104. Line item 104 is updated to show its status as ‘shipped’ and the last time activity was initiated, as indicated by update timestamp 104b.
The above-identified example is shown for exemplary purposes only, and the present invention is not limited to the presentation of the information currently listed in the example, such as order number, order status, product, quantity ordered, quantity shipped, line item status, and timestamps. The present invention may accommodate the identification of multiple data designators, product descriptors, and the like, that will meet the user's informational requirements. Additionally, the present invention may accommodate a system that publishes changes or updates, and is used to keep track of the most recent time that a change has been published, its publication time. When changes are published, the system is used to easily determine which orders have changed by identifying the orders that have an update timestamp after the last publication time.
Implementation of the present invention will enable hierarchical change aggregation in SQL. At each level of the hierarchy aggregate, the earliest insert and the latest update for all data at a given level of information or below, are displayed with the status indicators. Through the computerized inspection of the aggregates, the change aggregation may be determined and accomplished. Preferably, the following type of algorithm or other equivalent may be used to aggregate line-level time stamps up to an Order level.
The above-described algorithm is for exemplary purposes only. Other software subroutines may be employed, obtaining similar results through different coded functions. The present invention is not limited to any one particular type of software code, nor is it relegated to any one particular suite of functions to obtain the resultant output.
The algorithms used to achieve the resultant output are engaged in performing the following functions, or functions of an equivalent nature: a) identifying the order and the order status, where the order status includes an insert timestamp and an update timestamp; b) identifying individual line items (products) that together form the order, each line item identifying the quantity requested, quantity shipped, and status shipped, with individual insert timestamps and update timestamps; and c) updating the order and line item insert and update timestamps whenever a line item is updated.
While the present invention has been particularly described, in conjunction with a specific preferred embodiment, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art in light of the foregoing description. It is therefore contemplated that the appended claims will embrace any such alternatives, modifications and variations as falling within the true scope and spirit of the present invention.
Thus, having described the invention,