Method and apparatus for dynamically maintaining and executing data definitions and/or business rules for an electronic procurement system
[0001] 1. Field of the Invention [0002] The present invention relates to a method, apparatus, and computer readable storage for dynamically maintaining and executing data definitions and business rules in an electronic procurement system. More specifically, the present invention relates to a method, apparatus, and computer readable storage which allows a plurality of users to easily create, modify and dynamically maintain their business rules and data definitions for use with an electronic procurement (“e-procurement”) system, without requiring outside intervention for such tasks as recompiling. The present invention further allows an electronic procurement system to be capable of integrating with multiple application systems. [0003] 2. Description of the Related Art [0004] E-procurement systems allow an entity to conduct transactions such as browsing for, selecting, approving, and actually purchasing goods from a supplier. The entity can typically be a department of the government, private business structure, or any other type of organization or entity that purchases goods. For example, the entity can represent a government agency or business, departments within the government agency or business, or even individual buyers. [0005] When, for example, a government agency arranges to make a purchase, typically there are individual approvers and/or a chain of approvers that have to approve the purchase. If the government agency decides to purchase a new computer monitor, a person in charge of computer equipment may have to individually approve the purchase. This is considered a business rule. In addition, if the purchase exceeds a first preset amount of money, then a first financial officer may have to approve the purchase. If the purchase exceeds a second preset amount of money, then a second financial officer may also have to approve the purchase, after the first financial officer approves. This “approval chain” of the first and second financial officers represents the “workflow” for the government agency. Workflow is a type of business rule, although a business rule may not be considered a workflow if it does not contain an approval chain. [0006] Another type of business rule used by e-procurement systems is a default field for users. In a typical e-procurement system, default codes, such as accounting codes, are maintained by a system administrator. One example of an accounting code can be, for example, a bank account number. A particular user of an e-procurement system may need to draw from a particular bank account number, and of course it is advantageous to the user if this particular bank account number is automatically used for each purchase. Having accounting codes stored and automatically used for transactions reduces errors, and having the correct codes is crucial if transactions are to be sent to and accepted by other systems. For a large organization (for example the government), the work needed to accurately maintain proper defaults for thousands of users can become prohibitive. [0007] Further, some departments (or even individual users) within an organization may require different defaults (or business rules). For example, different users from the same organization could use different fund codes for computer purchases and require different defaults. Another example is certain users may want to do a pre-encumbrance (reserving of funds before a purchase), while other users may not. These types of business rules typically require a great deal of customization for each unique situation. [0008] E-procurement systems often need to integrate with external application systems such as financial system, inventory systems or enterprise resource planning (ERP) systems. When an e-procurement system needs to interact with an external system, the prior art requires that a custom program be written to implement data communication between the e-procurement system and the application system. [0009] Sometimes, specific data required by the application system is not available in the e-procurement system. Also, there can be fields that users desire to store that are not available for storage on the particular e-procurement system being used, for example fields directed to reporting purposes but not used in any way by the e-procurement system. [0010] When a government or private entity is set up to make purchases using an electronic procurement system, business rules can/or user specific data fields need to be programmed into the electronic procurement system in order for the business rules and/or data fields to be implemented electronically. Typically, the programming of the business rules and/or data fields is accomplished by having to call technicians from the manufacturer of the electronic procurement system in order for them to program (or reprogram) the business rules and/or data fields. When the entity desires to change the business rules and/or data fields, the technicians are needed again to reprogram the business rules and/or data fields in the electronic procurement system. The reprogramming is typically carried about by modifying the source code used for implementing the, business rules and/or data fields and then recompiling the new source code. Thus the prior art business rules and/or data fields can be considered “hard-coded.” Another disadvantage to custom coding or hard-coding the business rules and/or data fields is that the electronic procurement system must be taken offline and be made unavailable during this process. [0011] In addition to the problem of non-dynamic or customized hard-coded business rules and data fields, prior art electronic procurement systems also lack scalability. Typically, an electronic procurement system needs to interface with external systems in order to implement transactions such as electronic reservation of funds. However, prior art electronic procurement systems have difficulty interfacing with more than one external system. Interfacing with more than one external system requires extra system resources, for example extra hardware, and also may require modifications of the e-procurement system to handle different data fields. In addition, interfacing with multiple external systems requires multiple executables (an executable can be defined as a process running in memory) of the procurement system. Using multiple executables is not desirable in that it results in a more unreliable system as well as requires more resources. In addition, sharing of data may present a problem when running multiple executables. [0012] [0013] Referring now to [0014] If approver 1 did not approve the purchase request, then the e-procurement system 100 sends back a denial to buyer 1104 via the communications line 103. Assuming approver 1 approves the purchase order, the e-procurement system 100 sends financial information regarding a purchase request to a financial system 1112 via communication line 111 in order to arrange for securing the funds and arrange payment to the supplier. [0015] The e-procurement system 100 also sends purchase information regarding the purchase request to a supplier 110 via a computer communications line 109. The purchase information typically includes information such as the items desired for purchase, quantity, etc. The financial system 1112 sends payment information to the supplier 110 via a computer communication line 113, which can include electronic payment. [0016] Similarly, buyer 2109 also can make a purchase request to the same e-procurement system 100. Note however, that buyer 2109 may have different business rules (and workflow) that buyer 2109 must abide by (as opposed to other buyers using the e-procurement system 100 such as buyer 1104). In the case of [0017] Note that buyer 1104 and buyer 2109 both belong to organization A 116, which requires interaction with financial system 1122. An organization can be an entire business or government entity, a subset of an entity, or even a single person. In [0018] Many financial or ERP systems exist. However, each such financial system requires a different database structure, communication protocol, or “handshake” for communicating with purchasing computers. If it was desired to integrate with a new financial system, the prior art afforded no easy and efficient way to achieve such an integration. In addition, different buyers may need to employ different sets of business rules and/or data fields. The prior art afforded no easy and efficient way to allow different buyers to have different business rules and/or data fields, while using the same electronic procurement system. [0019] [0020] Referring now to [0021] The unhosted model implementation illustrated in [0022] [0023] Referring now to FIG 1C, buyer 1127 has executable 1131 dedicated to processing transactions for buyer 1127 and organization A 138. Executable 1131 interfaces with financial system 1135, using special routines written to properly communicate with financial system 1135. Executable 1131 also implements the business rules for buyer 1127. Similarly, buyer 2129 has executable 2133 dedicated to processing transactions for buyer 2129 and organization B 139. Executable 2133 interfaces with financial system 2137, using special routines written to properly communicate with financial system 2137. Executable 2133 also implements the business rules 2129. [0024] Thus, even though buyer 1127 belongs to organization A 138 which requires financial system 1135 and organization A's business rules, and buyer 2129 belongs to organization B 139 which requires financial system 2137 and organization B's business rules, both buyers can still share the same e-procurement system 125. [0025] However, the problem with the configuration as illustrated in [0026] Furthermore, prior art e-procurement systems have difficulty interfacing with more than one external system. Different users may need to employ different business rules and/or different sets of data including different sets of fields and their respective values. Especially with the hosted model described above, the e-procurement system has to deal with users from multiple organizations which interact with multiple application systems, each user or organization requiring their own sets of data fields. It would not be efficient or cost-effective to customize an e-procurement system with hard coded business rules and/or data fields for each client organization or for each different application system. [0027] Therefore, what is needed is an efficient, dynamic system that can dynamically maintain and execute business rules and/or data fields for an e-procurement system with multiple users, which require different business rules and/or data fields for interfacing with external systems. What is also needed is a scalable procurement system that can efficiently interface with multiple external systems, using one executable of the electronic procurement system. [0028] Accordingly, it is an object of the present invention to provide a method and apparatus for improving electronic procurement systems, including the ability to dynamically maintain and execute data definitions and business rules in an electronic procurement system [0029] Additional objects and advantages of the invention will be set forth in part in the description which follows, and, in part, will be obvious from the description, or may be learned by practice of the invention. [0030] The foregoing objects of the present invention are achieved by providing a method which includes [insert claim 1 here] [0031] In addition, objects of the present invention are also achieved by providing the above methods on a computer readable storage medium instructing a computer to perform the methods. [0032] Moreover, objects of the present invention are achieved by providing e-procurement system including (a) [insert first apparatus claim here]. [0033] These and other objects and advantages of the invention will become apparent and more readily appreciated from the following description of the preferred embodiments, taken in conjunction with the accompanying drawings of which: [0034] [0035] [0036] [0037] [0038] [0039] [0040] [0041] [0042] [0043] [0044] [0045] [0046] [0047] Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout. [0048] An e-procurement system is an automatic system, implemented by a computer, which allows a buyer to conduct any type of purchase from an electronic catalog system. An e-procurement system would typically include catalog storage, a database system electronically connected to a network engine. The network engine would typically be connected to a plurality of suppliers. Ariba, Inc. provides a commercially available e-procurement system, which can be used as e-procurement system ( [0049] An application system is a system with which an e-procurement system communicates and performs an operation at the request of the e-procurement system. An example of an application system that may need to interact with an e-procurement system would be an inventory system. Another example of an application system is a financial system which is an application system that is used to track and manage financial resources. For example, a financial system can establish financial obligation for the purchase, encumber funds, etc. Financial systems have been called Enterprise Resource Planning (ERP) systems or “back office systems.” One example of a financial system is ADVANTAGE, available from AMERICAN MANAGEMENT SYSTEMS. [0050] While electronic procurement systems and financial systems have been widely used, electronic procurement systems in the past have suffered from a lack of scalability. Adding buyers from new organizations with different business rules and financial systems results in difficulties accommodating the new buyers and financial systems in terms of hardware and software. [0051] In order to avoid the disadvantages of using multiple executables of an e-procurement application for different buyers as illustrated in [0052] [0053] Referring now to [0054] Instead of the multiple executables all running as illustrated in [0055] There are many advantages of the shared executable hosted system over the prior art system as illustrated in [0056] [0057] Organizational profiles contain data which typically store information relevant to a particular organization and the organization's purchases (requisitions). The organizational profiles typically store business rules and also can include workflow. Business rules can also typically include data related to purchases or requisitions called accounting preferences. These preferences can include items such as billing addresses, account numbers, and how an organization typically pays for ordered goods. Business rules also can be workflow related such as what is the chain of approvers that have to approve the purchase. The chain of approvers can be based on the type of commodity being purchase, the amount of the item the department, etc. Business rules can also include integration preferences or preferences of integrating with external systems. [0058] In addition to business rules, data definitions are also stored within the organizational profile. Data definitions are used to extend the data model of the e-procurement system. These data definitions are used to define any information needed for integrating with application systems, or for reporting purposes. Data definitions can include fields added by a user to store additional information not already stored on the e-procurement system. [0059] A data definition may contain associated predefined logic. For example, a particular data definition may represent a particular fund used to make purchases. Names associated with these funds and numbers which may possibly be associated with the funds themselves are completely customizable by the user or manager. The actual routines which allow a data definition to interact with the e-procurement system and application systems can be pre-programmed into the e-procurement system. Thus, typically, a manager would specify possible bank accounts and names of these accounts, while a user could actually select which account to use. The e-procurement system automatically will interact with application systems using the selected bank account, thus freeing the manager(s)/user(s) from having any knowledge about the inner workings of the e-procurement system. [0060] Data definition information within an organizational profile can include field name, data type, label name and how the field will be displayed. The information in the data definition is used by the e-procurement system to retrieve and display appropriate information, including custom defined fields for a user based on their organizational profile. For example, a requisition screen or payment screen within the e-procurement system could look and behave differently for one user than for another user because the users belong to different organizational profiles. [0061] The data definitions can also store a flexible number of user defined fields. Each organization decides how many fields are needed and defines labels for the fields within the organizational profile. Preferences for the fields can also be defined to provide possible values and a default value for the respective field. User-defined fields left unused will be hidden from view within the e-procurement system. [0062] Tables I and II illustrate how the user-defined fields are defined within the organizational profile.
[0063] Table I, entitled, “Field Table,” defines the labels for all the extended attributes. If there is a value contained in the field, it will be used within the e-procurement system. For example, from Table I, organizational profile “ASU001” has a first field labeled “Agency.” In the event that the fields contain no value such as “N/A,” the fields will be hidden from view.
[0064] Table II, entitled “Field Data Table,” serves as a data repository for all of the valid values for the extended fields. This table also lists the defaults as they should appear within the e-procurement system. For example, the first user-defined field for the organizational profile ASU001 is “Agency” (from Table I) and the possible values for this field are “001” indicating “Mayor's Office,” or “002” indicating “Comptroller's Office” (from Table III). Also, Table II indicates that value “001” designating “Mayor's Office” is the default value. Thus, unless a user (or administrator) changes the default to the other choice “002,” designating “Comptroller's Office,” the “001” value will be used for transactions. [0065] At implementation time, space is allocated within the e-procurement data model for the extended fields. However, as each organization starts using the e-procurement system, the organization determines how much of that space, if any, they want to use. As in the shared executable host model, each time a new organization waits to start using the same e-procurement system, the organization only needs to define which fields are needed as extended attributes. [0066] The e-procurement system usually provides some mechanism to get outside data into its data model. For example, the Ariba Buyer e-procurement system works in conjunction with a product from a company called TIBCO to create mapping tools (called “MBSheets”) telling the e-procurement system where outside data is and where it should go in the object data model. The e-procurement system then utilizes that information to actually create the tables/data structures for the data within the e-procurement data model. [0067] Referring now to [0068] A user typically can be associated with only one organizational profile at any given time. User 1301 has previously selected organizational profile 1312 as his or her organizational profile, and is therefore associated with organizational profile 1312 (more about the selection process below). User 2302 is associated with organizational profile 2314. User 3304 is also associated with organizational profile 2314. Note that more than one user can be associated with the same organizational profile. Also note that an organizational profile can exist without having a user associated with it. An organizational profile can be created and defined with business rules and data structures before any users are associated to it. In this example, organizational profile 3316 does not have an associated user at this time. [0069] Each organizational profile also has a manager associated with it. Depending on the embodiment implemented, the manager may be the only user associated with the organizational profile that has the power to make changes to some or all of the organizational profile's fields. Manager 1306 manages organizational profile 1312. Manager 2308 manages organizational profile 2314. Manager 3310 manages organizational profile 3316. [0070] When the e-procurement system 300 receives a purchase request from a user, the e-procurement system 300 carries out the business rules and data definitions for the organizational profile associated with that particular user. [0071] When the e-procurement system 300 finishes applying the business rules and data definitions and ultimately approves a transaction for a user, then the e-procurement system 300 implements the transaction with an appropriate application system. The e-procurement system 300 implements the transaction according to the relevant data stored in the respective organizational profile. [0072] For example, suppose user 1301 makes purchases from the e-procurement system 300, the business rules and data definitions associated with organizational profile 1312 is activated. When user 1310 creates a requisition 1320 or purchase order, selected data elements from the user's organizational profile 312 appear on the requisition form. Some data elements on the requisition object 1320 are defined by the e-procurement system data model while other data elements are uniquely defined based on the data definition stored in the organizational profile. If the user has specified a default for those data elements within the organizational profile, the default values will appear. Otherwise, the information can be entered by the user. The user can also typically override any defaults if needed. [0073] Next, the e-procurement system 300 applies the business rules from the data definitions stored in organizational profile 1312, including seeking approval from required approvers (not pictured). After the business rules are successfully carried out (i.e. all the necessary approvers have approved), then the e-procurement system 300 needs to implement the purchase request with application system 1326. [0074] In order for the e-procurement system 300 to implement the purchase request of user 1301 with application system 1326, a requisition object is typically created in a requisition storage 318. The e-procurement system 300 contains the requisition storage 318, which stores requisition objects for each requisition. A requisition object is a data file (or object) which contains the necessary information in order to implement a transaction with an application system. [0075] When a purchase is implemented, an integration preference (which is stored on the organizational profile being used) is typically used to determine how to interact with the application system. For example, the integration preference specifies which payment options to use for the purchase. [0076] Similarly, when user 2202 makes a purchase request which is subsequently approved, information from the purchase request is stored in requisition object 2322. In addition, information from organizational profile 2 is stored in requisition object 2322. Information in requisition object 2322 is then transferred to application system 2328 by the e-procurement system 300. [0077] Similarly, when user 3304 makes a purchase request which is subsequently approved, information from the purchase request is stored in requisition object 3324. In addition, information from organizational profile 2 is stored in requisition object 3324. Information in requisition object 3324 is then transferred to application system 2328 by 1he e-procurement system 300. [0078] Thus, as can be seen by [0079] [0080] The business rules are entered using an organizational profile editor. The organizational profile editor is a software tool, typically using a graphical user interface, which allows a user to create or modify the fields in an organizational profile. An organizational profile is an object or data file which stores data definitions and business rules, and any other relevant business data for a particular user, group of users, department, agency, office, etc. The tool can be run directly on the user's (computer, with the final fields transmitted to the e-procurement system 100 for storage. In the alternative, the tool can be run on the e-procurement system with the fields transmitted from the user to the e-procurement system via any appropriate protocol, such as HTML or XML. [0081] Referring now to [0082] A list of approvables 410 can be entered. For each purchase over a specified dollar amount, an approver can be designated. In the example illustrated in [0083] A list of commodity code approvers 418 can be entered. Each code of purchase is given a “commodity code.” Examples of commodity codes are laptops, desks, books, telephones, etc. . . In the example illustrated in [0084] A list of commodity category approvers 425 can be entered. Each category of a purchase is given a “commodity category.” Commodity categories are similar to the commodity codes discussed above, but are less specific than the commodity codes. Examples of commodity categories are hardware, software, furniture, etc. The commodity codes “laptop” and “monitor” would fall under the commodity category “hardware.” In the example illustrated in [0085] A list of commodity code watchers 430 can be entered. A commodity code watcher is a person who is notified when a purchase is requested for the watcher's designated code. However, the watcher has no active role in the approval. In the example illustrated in [0086] A list of commodity category watchers 434 can be entered. A commodity category watcher, similar to a commodity code watcher, is notified when a purchase is requested for the watcher's designated category. In the example illustrated in [0087] Additionally, headers (not shown) can be entered. Payment headers and requisition headers can be entered so that payments and requisitions contain the desired fields. For example, headers may contain information relevant to the user or department, such as the department's name, manager, contact information, etc. As an example, a header containing a department name may be printed on the top of each invoice, so that the invoice can be directed to the proper department. [0088] While the above information represents some information regarding business rules, any other procedures or information relevant for purchases can be included into the organizational profile as well. For example, some entities may require that purchases amounts be allocated according to certain percentages among different departments. [0089] [0090] Referring now to [0091] The integration preferences are stored in the organizational profile so that when a purchase is to be completed, the electronic procurement system automatically will carry out the purchase using the chosen integration preference.
[0092] Table III, entitled “Integration Preferences Table,” is one possible example of how each organizational profile is defined and contains the organizational profile's respective integration preferences. The “ClientID” field identifies a particular organizational profile, and the “ClientName” field designates a given name for the respective ClientID. The “Pre-Encumberance,” “Encumberance,” “Payment on Receipt,” and “Payment by eForm” all represent requisition preferences. [0093] [0094] Referring now to [0095] Sample accounting information can include a contract number 604 with a respective contract number field 606, a project 608 with a respective project field 610, a bank account number 612 with a respective bank account number field, and a fund 616 with a respective find field 618. [0096] The data fields illustrated in [0097] [0098] After the organizational profile editor is run in operation 700, operation 702 is performed in which the user enters the workflow and business rules (and also possibly data definitions). While the (entries for each field are defined by the user, the names and numbers of the actual fields themselves are typically predefined by a field editor. Thus, typically, a user can use the organizational profile editor to enter definitions for the fields but not create new fields not already present. New fields can be created by a system administrator or anyone that has access to the field editor. While it is possible, typically the typically user would not have access to the field editor. [0099] After the business rules, data definitions and workflow are entered in operation 702, operation 704 is performed in which the user sets up the integration preferences (or payment options). Any other relevant information (headers, etc. . .) can also be entered. [0100] After completion of operation 704, operation 706 is performed which generates and saves the organizational profile on the e-procurement system. The organizational profile is saved as a data file (or object), and contains all of the information entered in the previous operations. [0101] In order for the user to utilize this organizational profile, the user must associate with the newly created organization profile. Therefore, from operation 706 the process moves to operation 708, wherein the user associates with an organizational profile. One way the association can be initiated is by executing an “organizational chooser” program or process on the e-procurement system which allows a user to see all of the available organizational profiles and choose the one he or she wants. The operation of choosing the organizational profile can also be included in the organizational profile creator tool. The e-procurement system stores an identification for each user and the user's associated organization profile. Typically, a user can only be associated with one organizational profile at a time. [0102] [0103] Referring now to [0104] Once the user has connected to the e-procurentent system in operation 800, the user performs operation 802, wherein the user can log in. The login typically consists of entering login information such as a user name and a password, which can also be accomplished automatically on the user's computer. [0105] From operation 802, the process moves to operation 804, wherein the user browses catalogs. The e-procurement system transmits catalog information, including product prices and descriptions, to the user via a computer communications network. Catalogs can be stored in catalog storage on the e-procurement system. The catalogs can be typically transmitted to the e-procurement system directly from a variety of suppliers, or from a system which maintains catalogs from various suppliers. For example, Ariba operates a network that receives and transmits catalogs from various suppliers. A system administrator on the e-procurement system may select which catalogs users may have access to, or in the alternative which catalogs users may not have access to. [0106] From operation 804, the process moves to operation 806, wherein the user selects the items for purchase and submits a purchase request to the e-procurement system. Purchase characteristics of the purchase request can be identified in the e-procurement system which include, but not limited to, any characteristics relevant to the purchase such as quantity, price, category of goods, etc. At this point, the user has typically completed his or her purchase request. [0107] After operation 806, the e-procurement system then performs operations to implement the purchase request. At operation 808, the e-procurement system first identifies the user. This can typically be accomplished by associating the login information with a particular user. The user may also be identified from information included in the submission from the user. [0108] Once the user is identified in operation 808, the process moves to operation 810, wherein the e-procurement system then identifies the associated organizational profile. This can typically be accomplished by using a table storing users and the user's respective associated organizational profile. [0109] From operation 810, the e-procurement system then proceeds to operation 812 which implements the business rules, workflow and data definitions included in the user's associated organizational profile. The business rules, data definitions and workflow can typically be stored as an object on the e-procurement system which can be directly accessed by processes written for the object which implement the rules. Thus, the business rules, data definitions and workflow can be accessed and implemented by the e-procurement system without the need for any hard coding or recompiling of the software. The business rules, workflow and data definitions can therefore be dynamically maintained by the users associated with the organization profile storing the business rules, workflow and data definitions. [0110] [0111] Assume a requested transaction in which the approval of Jim, Mary, John, and Jack is required. The workflow dictates in this particular example that once Mary's approval is obtained, then Bill's approval is obtained, then Paul's approval is needed. [0112] Referring now to [0113] In addition to the storing of names of approvers, the organization profile can also store other relevant information (not shown in [0114] Table IV, entitled “Workflow Approvers,” is one example of a data structure used to store workflow in an organizational profile for a particular ClientID (or organizational profile). In this case, any purchase over $50 needs to be approved by John. Any purchase over $100 then needs to also be approved by Fred. Any purchase over $500 then needs to also be approved by Alyssa. In this example, a contact-e-mail is also given so that the e-procurement system can contact the approver automatically and request approval. Of course, other contact methods can be used as well, as discussed in other parts of this document. [0115] [0116] Referring now to [0117] For example, assume the workflow stored in the organizational profile dictates that Jack must approve every purchase over $100, and subsequently Paul must approve every purchase over $500. If the purchase characteristics includes a purchase amount of $1,000, then the e-procurement system identifies Jack at the top level of the approval chain, and Paul at the next level (because Jack's approval amount $500 is greater than Paul's). [0118] Once the approval chain is calculated in operation 1000, then the e-procurement system proceeds to operation 1002 which starts at the top of the approval chain, and for each column in the approval chain, performs operations 1004-1014. In [0119] From operation 1002, the e-procurement system then executes operation 1004 which requests approval from an approver. The approval request can typically be sent by e-mail, although any other communication method can be used, such as telephone message, fax, post-office mail, etc. [0120] From operation 1004, the e-procurement system proceeds to operation 1006 which checks to see if the approval is granted 1006 by the previous approver. If the approval is not granted, then the process proceeds to operation 1008 which results in the transaction not being approved. If the transaction is not approved, then typically the e-procurement system will inform the original purchaser and the approver(s) which did not approve the transaction. [0121] From operation 1006, if the approval is granted, then the process proceeds to operation 1010 which checks to see if there is another approver below the previous approver in the approval chain. If there is another approver, then the process returns to operation 804 which requests approval for the next approver. [0122] From operation 1010, the process proceeds to operation 1012 which checks if all threads (or columns) in the approval chain are fully approved. If the last approver in each thread approves the transaction, then the process proceeds to operation 1014 which results in the transaction being approved. [0123] Note that the above processes 1004-1012 are typically performed in parallel, not serial. For example, using the example of [0124] Once the purchase is approved by the appropriate approvers in the government or private entity, then an integration (completing the purchase after all the required approvers have approved the transaction) is performed. The integration includes managing the appropriate financial aspects of the transaction and communicating the necessary information with the supplier to complete the transaction. [0125] [0126] Referring now to [0127] Once financial information is prepared in operation 1100, then the process continues to operation 1102 which transmits the financial information to the financial system. [0128] From operation 1102, the e-procurement system may receive approval or denial from the financial system in operation 1104. A “two-way integration” is an embodiment where there is communication from the financial system back to the e-procurement system. Depending on the integration preference chosen in the purchase data, an approval may be required from the financial system. For example, if the integration preference is an encumbrance, than the financial system will have to successfully encumber the funds before sending an approval back to the e-procurement system. If the requested funds are not present in the designated account, then the encumbrance request will be denied. On the other hand, an approval may not be required from the financial system if the “GotoERP” option is designated as the integration preference, which does not reserve any funds. [0129] From operation 1104, upon the receipt of any necessary approval from the financial system, the process proceeds to operation 1106, which transmits the purchase information to the supplier. [0130] The financial system can transmit payment information to the supplier (not pictured). Therefore, the supplier receives the purchase information from the e-procurement system and the payment information from the financial system. If the supplier approves the transaction based on all the information the supplier has received, then the supplier typically sends a confirmation to the e-procurement system that the purchase information is received and approved. Thus from operation 1106, the process moves to operation 1108 wherein the e-procurement system thus receives confirmation from the supplier that the purchase is approved (or denied if there is a problem). It is now up to the supplier to deliver the goods. [0131] Once the goods are delivered by the supplier, the supplier may also provide a receipt document, such as an invoice, to a receiving party. Information from the receipt document can be entered into the e-procurement system so that the e-procurement system can keep track of what is received. [0132] Depending on the integration (purchase) option selected in the organization profile, payment to the supplier may not be made until the goods are actually received. For example if the “payment upon receipt” option is stored in the organizational profile for the particular user that requested the transaction, payment is made to the supplier after the goods are received. This is accomplished automatically after invoice information is entered into the e-procurement system, by communicating a transaction with the financial system requesting that the supplier be paid. The transaction communicated to the financial system typically includes information from the invoice so the financial system and supplier can identify which purchase this payment corresponds to. Thus, in this mode of operation, instead of transmitting purchase data to the financial system in operation 1102, a similar operation is performed after the product is received from the supplier (not pictured). [0133] Moreover, the two-way integration discussed above (an integration where the financial system transmits information back to the e-procurement system), is not limited to the approval of a financial request. A two-way integration can be used to pass any relevant information from the financial system back to the e-procurement system. [0134] Different financial systems may have different purposes, and also may require different fields. For example, one financial system may need to receive fields that another financial system does not require, and vice versa. The e-procurement system, upon sending a transaction to one of the financial systems, identifies and transmits the fields that are needed by the particular financial system, which can be stored in the organizational profile and the data definitions contained therein. [0135] Therefore, one e-procurement system can transact with a plurality of application systems without requiring extra hardware or processes to interface with multiple application systems. Meanwhile, the operations (such as identifying and transmitting the required fields) required for interacting with multiple financial systems remain “invisible” to the buyers, so that the buyers are not burdened with these operations. [0136] The single executable of the shared executable hosted e-procurement system can typically transact with each of the application systems sequentially, as opposed to maintaining a dedicated executable for each application system. The e-procurement system can use an organizational profile to identify a particular application system to be accessed, which can then allow the e-procurement system to retrieve information required to interact with the application system. The information, for example, can comprise fields required to be transmitted to the application system. When a different application system is needed by the e-procurement system, the one executable of the electronic procurement system then retrieves the necessary information for that application and transacts with that application system. [0137] Therefore, the present invention provides a government or private entity a way to maintain dynamic data definitions and business rules across the organizational structure easily, without any additional hard coding or compiling/recompiling required. The data definitions and/or business rules are “dynamically” maintained in that the data definitions and/or business rules can be created/modified by a human whereupon the actual implementation of these changes is automatically performed. Implementing these data definitions and/or business rules for multiple users and multiple financial systems in a single executable on an e-procurement system provides simplicity and conservation of resources. [0138] Although a few preferred embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents. An apparatus, method, and computer readable storage medium for dynamically maintaining data structures and executing business rules in an electronic procurement system. The method includes (a) dynamically maintaining a plurality of organizational profiles containing data structures, a plurality of users each being associated with a particular organizational profile; and (b) implementing a user requested transaction on a hosted e-procurement system with an application system by using information from the data structures stored in an organizational profile associated with the user. 1. A method comprising:
dynamically maintaining a plurality of organizational profiles containing business rules, a plurality of users each being associated with a particular organizational profile; and implementing a user requested transaction on a hosted e-procurement system with an application system by using the business rules stored in an organizational profile associated with the user. 2. A method as recited in 3. A method as recited in 4. A method as recited in 5. A method as recited in 6. A method comprising:
dynamically maintaining a plurality of organizational profiles containing data definitions, a plurality of users each being associated with a particular organizational profile; and implementing a user requested transaction on a hosted e-procurement system with an application system by using the data definition stored in an organizational profile associated with the user. 7. A method as recited in 8. A method as recited in 9. A method as recited in 10. A method comprising:
dynamically maintaining a plurality of organizational profiles associated with users, each profile including business rules that include characteristics and approvers for those characteristics; and upon receiving from a user a purchase request associated with purchase characteristics that match the characteristics of the profile corresponding to the user, automatically seeking approval from the approvers for the characteristics of the profile. 11. A method as recited in 12. A method as recited in 13. A method as recited in 14. A method as recited in 15. A method as recited in 16. A method as recited in 17. A method as recited in 18. A method as recited in 19. A method as recited in 20. A method as recited in 21. A method as recited in 22. A method as recited in 23. A method as recited in 24. A method as in 25. A method comprising:
dynamically maintaining a plurality of organizational profiles associated with users, each profile including business rules that include characteristics and approvers for those characteristics; upon receiving from a user a purchase request associated with purchase characteristics that match the characteristics of the profile corresponding to the user, automatically seeking approval from the approvers for the characteristics of the profile; modifying the business rules using an organizational profile editor which modifies the organizational profile including the business rules; and transmitting financial information to one of a plurality of financial systems after all seeked approvers consent to the purchase,
wherein the characteristics comprise product categories and dollar amount ranges, wherein the business rules include workflow rules in which approval is sought for multiple parties in a sequence, wherein the method is performed by a resource management platform for a plurality of applications systems using one executable of the e-procurement system, wherein the applications systems comprise financial systems; wherein one executable comprises a single executable program running in memory on the e-procurement system; wherein the modified business rules are used in the implementing without a need for recompiling a program which implements the business rules, wherein multiple organizational profiles are maintained for multiple users simultaneously, wherein each user is associated with one organizational profile, wherein the financial system comprises an application used to track and manage financial resources. 26. A method comprising dynamically maintaining multiple organizational profiles which include business rules and workflow, in a single executable of an e-commerce application, and using the organization profiles to interact with a plurality of financial systems. 27. A method as recited in 28. A method comprising:
storing a plurality of organizational profiles containing business rules as objects, the business rules comprising product categories and approvers for the respective categories; and executing a process implementing the plurality of stored business rules associated with the stored objects, on one executable of an e-procurement system. 29. A method comprising:
dynamically maintaining a plurality of organizational profiles containing integration preferences, a plurality of users each being associated with a particular organizational profile; and using a shared executable hosted system to implement a user requested transaction with an application system using the integration preferences stored in the organizational profile associated with the user. 30. A method as recited in 31. A method as recited in 32. A computer readable storage medium, storing a program instructing a computer to perform a method comprising:
dynamically maintaining a plurality of organizational profiles containing data structures, a plurality of users each being associated with a particular organizational profile; and implementing a user requested transaction on a hosted e-procurement system with an application system by using information from the data structures stored in an organizational profile associated with the user. 33. A computer readable storage medium as recited in 34. A computer readable storage medium as recited in 35. A computer readable storage medium as recited in 36. A computer readable storage medium as recited in 37. A computer readable storage medium as recited in 38. A computer readable storage medium as recited in 39. A computer readable storage medium as recited in 40. A computer readable storage medium as recited in 41. A computer readable storage medium, storing a program to instruct a computer to perform a method comprising:
dynamically maintaining a plurality of organizational profiles associated with users, each profile including business rules that include characteristics and approvers for those characteristics; and upon receiving from a user a purchase request associated with purchase characteristics that match the characteristics of the profile corresponding to the user, automatically seeking approval from the approvers for the characteristics of the profile. 42. A computer readable storage medium as recited in 43. A computer readable storage medium as recited in 44. A computer readable storage medium as recited in 45. A computer readable storage medium as recited in 46. A computer readable storage medium as recited in 47. A computer readable storage medium as recited in 48. A computer readable storage medium as recited in 49. A computer readable storage medium as recited in 50. A computer readable storage medium as recited in 51. A computer readable storage medium as recited in 52. A computer readable storage medium as recited in 53. A computer readable storage medium as recited in 54. A computer readable storage medium as recited in 55. A computer readable storage medium as recited in 56. A computer readable storage medium, storing a program instructing a computer to perform a method comprising:
dynamically maintaining multiple organizational profiles which include business rules and workflow, in a single executable of an e-commerce application, and using the organization profiles to interact with a plurality of financial systems. 57. A computer readable storage as recited in 58. A computer readable storage medium, storing a program instructing a computer to perform a method comprising:
storing a plurality of organizational profiles containing business rules as objects, the business rules comprising product categories and approvers for the respective categories; and executing a process implementing the plurality of stored business rules associated with the stored objects, on one executable of an e-procurement system. 59. A computer readable storage medium, storing a program instructing a computer to perform a method comprising:
dynamically maintaining a plurality of organizational profiles containing integration preferences, a plurality of users each being associated with a particular organizational profile; and using a shared executable hosted system to implement a user requested transaction with an application system using the integration preferences stored in the organizational profile associated with the user. 60. A computer readable storage medium as recited in 61. A computer readable storage medium as recited in 62. An apparatus comprising:
a storage device storing a plurality of dynamically maintained organizational profiles associated with users, each profile including business rules that include characteristics and approvers for those characteristics; and a processor, upon receiving from a user a purchase request associated with purchase characteristics that match the characteristics of the profile corresponding to the user, automatically seeking approval from the approvers for the characteristics of the profile. 63. An apparatus as in 64. An apparatus as in 65. An apparatus as in 66. An apparatus as in 67. An apparatus as in 68. An apparatus as in 69. An apparatus as in 70. An apparatus as in 71. An apparatus is in 72. An apparatus as in 73. An apparatus comprising:
a plurality of users, each user associated with a respective organizational profile of a plurality of dynamically maintained organizational profiles; a plurality of application systems which perform transactions; and a shared executable hosted e-procurement system storing the plurality of organizational profiles, and implementing a purchase request by a user with a selected application system using the organizational profile associated with the user. 74. An apparatus as recited in 75. An apparatus as recited in 76. An apparatus as recited in 77. An apparatus as recited in 78. An apparatus comprising:
a storage unit storing a plurality of dynamically maintained organizational profiles, each organizational profile associated with any number of different users; and a processing unit implementing a shared executable hosted e-procurement system, the processing unit receiving a purchase request from a user and implementing the purchase request with a selected application system of a plurality of application systems using the stored organizational profile associated with the user. 79. An apparatus as recited in 80. An apparatus as recited in 81. An apparatus as recited in 82. An apparatus as recited in 83. An apparatus comprising:
a storage unit storing a plurality of dynamically maintained organizational profiles containing data structures, a plurality of users each being associated with a particular organizational profile; and a processing unit implementing a hosted e-procurement system, the processing unit receiving a user requested transaction and implementing the transaction with an application system by using information from the data structures stored in an organizational profile associated with the user. 84. An apparatus as recited in 85. An apparatus as recited in 86. An apparatus as recited in 87. An apparatus as recited in 88. An apparatus as recited in 89. An apparatus as recited in 90. An apparatus as recited in 91. An apparatus as recited in 92. An apparatus as recited in BACKGROUND OF THE INVENTION
SUMMARY OF THE INVENTION
BRIEF DESCRIPTION OF THE DRAWINGS
DESCRIPTION OF THE PREFERRED EMBODIMENTS
Field Table Client ID Client Name Field ERP Value ASU001 ADV_01 Field 1 Agency ASU001 ADV_01 Field 2 Fund ASU001 ADV_01 Field 3 Object ASU001 ADV_01 Field 4 Organization ASU001 ADV_01 Field 5 N/A . . . . . . . . . . . . ASU001 ADV_01 Field N N/A Field Data Table ClientID ClientName Field TagName Value Default ASU001 ADV_01 Field1 Name 001 Y ASU001 ADV_01 Field1 Description Mayor's Office Y ASU001 ADV_01 Field1 Name 002 N ASU001 ADV_01 Field1 Description Comptroller's Office N ASU001 ADV_01 Field2 Name EXP N ASU001 ADV_01 Field2 Description Expense Fund N ASU001 ADV_01 Field2 Name CAP Y ASU001 ADV_01 Field2 Description Capital Fund Y Integration Preferences Table Pre- Payment Payment ClientID ClientName Encumberance Encumberance on Receipt by eForm ASU001 ADV_01 Yes Yes Yes No ASU002 ADV_02 No Yes No Yes Workflow Approvers Client ID Client Name Amount Approver Contact ASU001 ADV_01 $50 John John@abc.com ASU001 ADV_01 $100 Fred Fred@abc.com ASU001 ADV_01 $500 Alyssa Alyssa@abc.com










