System and method for grouping companies according to accounting system or rules

Information

  • Patent Application
  • 20020138283
  • Publication Number
    20020138283
  • Date Filed
    March 22, 2001
    23 years ago
  • Date Published
    September 26, 2002
    22 years ago
Abstract
A system and method for organizing program code and database objects implemented within an enterprise server in support of the accounting and/or procurement systems of a plurality of customer companies. The customer companies are organized into groups of companies having the same accounting rules, and a company grouping code assigned to each company group. Responsive to input through a browser of a requisition request and user ID including a password, a user profile database is accessed to determine the user's company grouping code. Responsive to the company grouping code, a URL or other type of program call to company specific accounting rules is generated to apply appropriate accounting procedures and program logic. Responsive to the program logic and accounting rules accessed by, for example, that URL, the requisition request is applied and validated against company specific data in a common database.
Description


BACKGROUND OF THE INVENTION

[0020] Technical Field of the Invention


[0021] This invention pertains to a procurement and accounting system. More particularly, it relates to a system for grouping companies according to accounting system or rules, and for executing program logic and access to data by company grouping.


[0022] Background Art


[0023] An enterprise may vend its procurement and accounting services to other companies. This requires that the enterprise provide within its server accounting application code and data in support of the procurement activities of its customers. Heretofore, it has been required for the enterprise to provide a separate accounting application and database for each such customer. This results in very complex code development and maintenance requirements to support each customer. When the enterprise desires to update, for example, code implementing a particular accounting procedure, it must change the code for that procedure in the application for each customer company.


[0024] Further, for example, referring to FIG. 2, enterprise server application program logic 330 may include at statement 332 a call to a routine FINSUM.HTML 334. If the enterprise desires to provide, or is providing, procurement and accounting services to several customer companies which have different accounting rules which must be executed within FINSUM.HTML, then a separate server including separate application program logic 330 must be provided for each company.


[0025] It is an object of the invention to provide an improved system and method for providing accounting and procurement services to a plurality of customer companies.


[0026] It is a further object of the invention to provide a system and method requiring a single server and common application program logic and data storage to provide accounting and procurement services to a plurality of customer companies having different accounting rules.



SUMMARY OF THE INVENTION

[0027] A system and method for organizing program code and database objects by creating a company grouping code for each of a plurality of company groups; responsive to input through a browser of a requisition request and user ID including a password, accessing a user profile database to determine the user's company grouping code; and responsive to the code, generating a URL to company specific accounting rules to apply appropriate accounting procedures and program logic on behalf of the company group.


[0028] In accordance with an aspect of the invention, there is provided a computer program product configured to be operable to organizing program code and database objects implemented within an enterprise server in support of the accounting and/or procurement systems of a plurality of customer companies organized in company groupings.


[0029] Other features and advantages of this invention will become apparent from the following detailed description of the presently preferred embodiment of the invention, taken in conjunction with the accompanying drawings.







BRIEF DESCRIPTION OF THE DRAWINGS

[0030]
FIG. 1 is a high level system diagram illustrating an enterprise system for providing procurement services with respect to a plurality of vendors on behalf of a plurality of company groups of related customer companies in accordance with the preferred embodiment of the invention.


[0031]
FIG. 2 is a diagram illustrating a call to financial accounting routine within application program logic in accordance with the prior art.


[0032]
FIG. 3 is a diagram illustrating the company grouping code variable and its use within a system in accordance with the preferred embodiment of the invention.


[0033]
FIG. 4 is a diagram illustrating an example of the data table of FIG. 3 accessed by company group code.







BEST MODE FOR CARRYING OUT THE INVENTION

[0034] Referring to FIG. 1, the procurement services organization of an enterprise 244 provides procurement services to a plurality of companies 248, 249 organized in a plurality of company groups 241-243 with respect to a plurality of vendors 245-247.


[0035] Referring to FIG. 3, in accordance with the preferred embodiment of the invention, a subdirectory structure is provided to enable common procurement services application code 340 and data storage 352 to support multiple companies 248 with separate accounting rules within one server. This subdirectory structure (such as is generated within call 346) includes (in this example) a variable CGC, which is set to company grouping codes 342, such that the company grouping code 344 is part of the URL used to dynamically call accounting procedures 348, 350 and access accounting data 352 associated with a particular company group. A user identified to a company within the company group IBMUS will have variable CGC 344 set to IBMUS, and call 346 will have its URL set to the subdirectory IBMUS and will, therefore, call the routine FINSUM.HTML at subdirectory < . . . /IBMUS/FINSUM.HTML> 348. Thus, common application software 340 executing in a server common to a plurality of companies may call and access procedures 348, 350 and data 352 unique to a company group. In this manner, the base code represented by logic 340 is rendered applicable to financial services provided to many customer companies.


[0036] The following examples illustrate the use of the variable CGC, or the equivalent variable “companygroupcode”, in generating URLs for calls to procedures or SQL calls to data.


[0037] Code examples (1) and (2) illustrate use of company group codes in agent code. In example (1), the agent obtains the company group code, and in example (2), the agent uses it to produce browser output.


[0038] (1) cgc=db2.profile.companygroupcode


[0039] (2) print “<a href='/transform/reqcat/” & cgc & “/finsum.html'”>


[0040] As shown in code example (2), when the agent writes to the browser, the company group code “ibmus” will replace the variable “cgc”. The above agent code (2) produces the following example (3) code, which shows browser JavaScript with the company group code “ibmus” embedded as part of the URL.


[0041] Code examples (3) and (4) illustrate Browser JavaScript code segments for users from two different company groups, ibmus and carrierus:


[0042] (3) <a href='/transform/reqcat/ibmus/finsum.html'>


[0043] (4) <a href='/transform/reqcat/carrierus/finsum.html'>


[0044] The following illustrate the use company group codes in the agent to access company-group-code specific information from the various DB2 accounting tables. That is, to select account number from the DB2 table gl13 accounts for company group codes in variable cgc. If the company group code cge is ibmus, then the account number contains ibmus accounts. If the company group code carrierus, then account number contains carrierus accounts. In doing so, the db2 tables can simultaneously contain account numbers for both company groups.


[0045] (5) select accountnum from gl13 accounts where companygroup=cgc


[0046] This allows one server, accessing a single database, to provide procurement services to users from a plurality of company groups, where the company groups have unique accounting rules and procedures. Unique company group specific code can be run against the same database utilizing unique company specific data.


[0047]
FIG. 4 is a diagram illustrating an example of the data table of FIG. 3 accessed by company group code.


[0048] Advantages over the Prior Art


[0049] It is an advantage of the invention that there is provided an improved system and method for providing accounting and procurement services to a plurality of customer companies.


[0050] It is a further advantage of the invention that there is provided a system and method implemented within a single server and including common application program logic and data storage to provide accounting and procurement services to a plurality of customer companies having different accounting rules.


[0051] Alternative Embodiments


[0052] It will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without departing from the spirit and scope of the invention. In particular, it is within the scope of the invention to provide a computer program product or program element, or a program storage or memory device such as a solid or fluid transmission medium, magnetic or optical wire, tape or disc, or the like, for storing signals readable by a machine, for controlling the operation of a computer according to the method of the invention and/or to structure its components in accordance with the system of the invention.


[0053] Further, each step of the method may be executed on any general computer, such as an IBM System 390, AS/400, PC or the like and pursuant to one or more, or a part of one or more, program elements, modules or objects generated from any programming language, such as C++, Java, Pl/1, Fortran or the like. And still further, each said step, or a file or object or the like implementing each said step, may be executed by special purpose hardware or a circuit module designed for that purpose.


[0054] Accordingly, the scope of protection of this invention is limited only by the following claims and their equivalents.


Claims
  • 1. A method for organizing program code and database objects, comprising the steps of: creating a company grouping code for each of a plurality of company groups; responsive to input through a browser of a requisition request and user ID including a password, accessing a user profile database to determine the user's company grouping code; and responsive to said code, generating a URL to company specific accounting rules to apply appropriate accounting procedures and program logic on behalf of said company group.
  • 2. The method of claim 1, further comprising the step responsive to said program logic and accounting rules of applying to and validating said requisition request against company specific data in a common database.
  • 3. The method of claim 1, said company group including a plurality of customer companies using the same accounting rules.
  • 4. The method of claim 3, further comprising the step of generating said URL within common application code executed on behalf of a plurality of said company groups, each company group comprising one or more customer companies of an enterprise providing requisition and catalog services.
  • 5. The method of claim 4, further comprising the step of providing said requisition and catalog services via a web communication system.
  • 6. The method of claim 4, further comprising the steps of: accessing a relational database of information pertinent to said requisition request via an SQL call including reference to said company group code.
  • 7. System for organizing program code and database objects in a requisition and catalog system, comprising: a table of company grouping codes associating within a company group a plurality of customer companies; base program logic for managing requisition and catalog system services on behalf of all said company groups; at least two versions of a company group specific accounting procedure; a call to said company group specific accounting procedure including address indicia referencing a code from said table of company grouping codes.
  • 8. The system of claim 7, further comprising: a browser for receiving from a user a requisition request and user ID including a password; and a user profile database for associating said user password with a company grouping code; thereby enabling said system to execute said company group specific accounting procedure on behalf of said user.
  • 9. A method for organizing program code and database objects implemented within an enterprise server in support of the accounting and/or procurement systems of a plurality of customer companies, comprising the steps of: organizing said customer companies into groups of companies having the same accounting rules; assigning a company grouping code to each said company group; responsive to input through a browser of a requisition request and user ID including a password, accessing a user profile database to determine said company grouping code corresponding to said user ID; responsive to said company grouping code, generating a URL to company specific accounting rules to apply company group specific accounting procedures and program logic to said requisition request; and
  • 10. The method of claim 9, further comprising the step responsive to said program logic and accounting rules accessed by said URL of applying and validating said requisition request against company specific data in a common database.
  • 11. A program storage device readable by a machine, tangibly embodying a program of instructions executable by a machine to perform method steps for organizing program code and database objects in a requisition and catalog system, said method steps comprising: creating a company grouping code for each of a plurality of company groups; responsive to input through a browser of a requisition request and user ID including a password, accessing a user profile database to determine the user's company grouping code; and responsive to said code, generating a URL to company specific accounting rules to apply appropriate accounting procedures and program logic on behalf of said company group.
  • 12. The program storage device of claim 11, said company group including a plurality of customer companies using the same accounting rules and said method steps further comprising: generating said URL within common application code executed on behalf of a plurality said company groups, each company group comprising one or more customer companies of an enterprise providing requisition and catalog services.
  • 13. A computer program product or computer program element for organizing program code and database objects in a requisition and catalog system according to method steps comprising: creating a company grouping code for each of a plurality of company groups; responsive to input through a browser of a requisition request and user ID including a password, accessing a user profile database to determine the user's company grouping code; and responsive to said code, generating a URL to company specific accounting rules to apply appropriate accounting procedures and program logic on behalf of said company group.
CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The following U.S. patent applications, filed concurrently or otherwise copending, are assigned to the assignee hereof and contain subject matter related, in certain respect, to the subject matter of the present application. [0002] Ser. No. 09/657,215, filed Sep. 7, 2000 entitled “System and Method for Clustering Servers for Performance and Load Balancing”, assignee docket END9-2000-0104-US1; [0003] Ser. No. 09/657,216, filed Sep. 7, 2000 entitled “System and Method for Front End Business Logic and Validation”, assignee docket END9-2000-0105-US1; [0004] Ser. No. 09/657,217, filed Sep. 7, 2000 entitled “System and Method for Data Transfer With Respect to External Applications”, assignee docket END9-2000-0106-US1; [0005] Ser. No. 09/656,037, filed Sep. 7, 2000 entitled “System and Method for Providing a Relational Database Backend”, assignee docket END9-2000-0107-US1; [0006] Ser. No. 09/656,803, filed Sep. 7, 2000 entitled “System and Method for Providing a Role Table GUI via Company Group”, assignee docket END9-2000-0108-US1; [0007] Ser. No. 09/656,967, filed Sep. 7, 2000 entitled “System and Method for Populating HTML Forms Using Relational Database Agents”, assignee docket END9-2000-0109-US1; [0008] Ser. No. 09/657,196, filed Sep. 7, 2000 entitled “System and Method for Catalog Administration Using Supplier Provided Flat Files”, assignee docket END9-2000-0110-US1; and [0009] Ser. No. 09/657,195, filed Sep. 7, 2000 entitled “System and Method for Providing an Application Navigator Client Menu Side Bar”, assignee docket END9-2000-0111-US1. [0010] Ser. No. 09/______ , entitled “SYSTEM AND METHOD FOR AUTOMATING INVOICE PROCESSING WITH POSITIVE CONFIRMATION”, assignee docket number END9 2000 0165 US1. [0011] Ser. No. 09/______ , entitled “SYSTEM AND METHOD FOR GENERATING A COMPANY GROUP USER PROFILE”, assignee docket number END9 2000 0166 US1. [0012] Ser. No. 09/______ , entitled “SYSTEM AND METHOD FOR SHARING DATA ACROSS FRAMES USING ENVIRONMENT VARIABLES”, assignee docket number END9 2000 0167 US1. [0013] Ser. No. 09/______ , entitled “SYSTEM AND METHOD FOR SYNCHRONIZING LEDGER ACCOUNTS BY COMPANY GROUP”, assignee docket number END9 2000 0168 US1. [0014] Ser. No. 09/______ , entitled “SYSTEM AND METHOD FOR FRAME STORAGE OF EXECUTABLE CODE”, assignee docket number END9 2000 0174 US1. [0015] Ser. No. 09/______ ,entitled “SYSTEM AND METHOD FOR INVOICE IMAGING THROUGH NEGATIVE CONFIRMATION PROCESS”, assignee docket number END9 2000 0175 US1. [0016] Ser. No. 09/______ , entitled “SYSTEM AND METHOD FOR LEVERAGING PROCUREMENT ACROSS COMPANIES AND COMPANY GROUPS”, assignee docket number END9 2000 0176 US1. [0017] Ser. No. 09/______ , entitled “SYSTEM AND METHOD FOR PROCESSING TAX CODES BY COMPANY GROUP”, assignee docket number END9 2000 0177 US1. [0018] Ser. No. 09/______ , filed Mar. 2, 2001 entitled “SYSTEM AND METHOD FOR MANAGING INTERNET TRADING NETWORKS”, assignee docket number END9 2000 0178 US1. [0019] The above-identified patent applications are incorporated herein by reference.