The present invention discloses a system and associated method for enhancing functionality of an existing software application without redesigning the existing software application, especially in a case of a procurement application.
Conventional procurement applications are massive in scale and must operate with frequently updated data. Due to the nature of a procurement application, some attributes of data must be valid to justify an access to the procurement application. However, such crucial attributes may be developed only after the procurement application is designed and deployed. In such a case, the whole procurement application must be redesigned to support verification of the attribute. Redesigning a procurement application upon each emerging need for verifying a new attribute demands a lot of time and is very costly.
Thus, there is a need for a system and associated method that overcomes at least one of the preceding disadvantages of current methods and systems for verifying a new attribute in a procurement application.
The present invention provides a method for verifying a target attribute of a company profile record for a procurement application, wherein the procurement application supports a requisition transaction among at least two users who represent respective companies, the method comprising:
configuring a validity attribute of the company profile record to indicate whether the target attribute of the company profile record is valid, wherein the company profile record is stored in a database, wherein said configuring is performed by a company profile configuration module;
subsequent to said configuring, authenticating a user prior to logging in the user to the procurement application, wherein the user is represented by a user profile record stored in the database, wherein the user profile record comprises the target attribute with a valid instance for the target attribute, wherein the user profile record comprising an invalid instance for the target attribute is targeted to be removed from the database later by a user profile cleanup program, wherein said authenticating is performed by a user profile verification module; and
subsequent to said authenticating, verifying a requisition object against the company profile record for a value of the target attribute of the requisition object that the user attempts to modify and subsequently prohibiting the user from modifying the requisition object determined to be invalid from said verifying, wherein the requisition object is represented by a requisition object record stored in the database, wherein the requisition object record comprises the target attribute and a validity flag, wherein said verifying is performed by a requisition object verification module.
The present invention provides a computer program product, comprising a computer usable storage medium having a computer readable program code embodied therein, said computer readable program code containing instructions that when executed by a processor of a computer system implement a method for verifying a target attribute of a company profile record for a procurement application, wherein the procurement application supports a requisition transaction among at least two users who represent respective companies, the method comprising:
configuring a validity attribute of the company profile record to indicate whether the target attribute of the company profile record is valid, wherein the company profile record is stored in a database, wherein said configuring is performed by a company profile configuration module;
subsequent to said configuring, authenticating a user prior to logging in the user to the procurement application, wherein the user is represented by a user profile record stored in the database, wherein the user profile record comprises the target attribute with a valid instance for the target attribute, wherein the user profile record comprising an invalid instance for the target attribute is targeted to be removed from the database later by a user profile cleanup program, wherein said authenticating is performed by a user profile verification module; and
subsequent to said authenticating, verifying a requisition object against the company profile record for a value of the target attribute of the requisition object that the user attempts to modify and subsequently prohibiting the user from modifying the requisition object determined to be invalid from said verifying, wherein the requisition object is represented by a requisition object record stored in the database, wherein the requisition object record comprises the target attribute and a validity flag, wherein said verifying is performed by a requisition object verification module.
The present invention provides a computer system comprising a processor and a computer readable memory unit coupled to the processor, said memory unit containing instructions that when executed by the processor implement a method for verifying a target attribute of a company profile record for a procurement application, wherein the procurement application supports a requisition transaction among at least two users who represent respective companies, the method comprising:
configuring a validity attribute of the company profile record to indicate whether the target attribute of the company profile record is valid, wherein the company profile record is stored in a database, wherein said configuring is performed by a company profile configuration module;
subsequent to said configuring, authenticating a user prior to logging in the user to the procurement application, wherein the user is represented by a user profile record stored in the database, wherein the user profile record comprises the target attribute with a valid instance for the target attribute, wherein the user profile record comprising an invalid instance for the target attribute is targeted to be removed from the database later by a user profile cleanup program, wherein said authenticating is performed by a user profile verification module; and
subsequent to said authenticating, verifying a requisition object against the company profile record for a value of the target attribute of the requisition object that the user attempts to modify and subsequently prohibiting the user from modifying the requisition object determined to be invalid from said verifying, wherein the requisition object is represented by a requisition object record stored in the database, wherein the requisition object record comprises the target attribute and a validity flag, wherein said verifying is performed by a requisition object verification module.
The present invention provides a process for supporting computer infrastructure, said process comprising providing at least one support service for at least one of creating, integrating, hosting, maintaining, and deploying computer-readable code in a computing system, wherein the code in combination with the computing system is capable of performing a method for verifying a target attribute of a company profile record for a procurement application, wherein the procurement application supports a requisition transaction among at least two users who represent respective companies, the method comprising:
configuring a validity attribute of the company profile record to indicate whether the target attribute of the company profile record is valid, wherein the company profile record is stored in a database, wherein said configuring is performed by a company profile configuration module;
subsequent to said configuring, authenticating a user prior to logging in the user to the procurement application, wherein the user is represented by a user profile record stored in the database, wherein the user profile record comprises the target attribute with a valid instance for the target attribute, wherein the user profile record comprising an invalid instance for the target attribute is targeted to be removed from the database later by a user profile cleanup program, wherein said authenticating is performed by a user profile verification module; and
subsequent to said authenticating, verifying a requisition object against the company profile record for a value of the target attribute of the requisition object that the user attempts to modify and subsequently prohibiting the user from modifying the requisition object determined to be invalid from said verifying, wherein the requisition object is represented by a requisition object record stored in the database, wherein the requisition object record comprises the target attribute and a validity flag, wherein said verifying is performed by a requisition object verification module.
The present invention provides a method and system that overcomes at least one of the current disadvantages of conventional method and system for enhancing an existing procurement application with a verification of a record used in the procurement application.
The method of the present invention enhances a procurement application by verifying an attribute of a record that is desired to be valid in the procurement application.
The method of the present invention standardizes a software upgrade process for a procurement application to compensate for an obsolete company associated with user profile records, rather than redesigning the procurement application. The method of the present invention is applicable to any attribute of records that is desired to be valid in order to properly execute a procurement application.
The procurement application 20 is an electronic business solution providing purchase and/or sale of products and/or services through networking systems among participating parties. The procurement application 20 typically provides all transactional functionalities. Examples of transactions may be, inter alia, resource planning, maintenance, oversight, approval, accounting, etc. Examples of procurement applications may be, inter alia, the IBM Buy on Demand (BonD), Ariba®, the SAP Enterprise Resource Planning (SAP ERP), the SAP Supplier Relationship Management application (SAP SRM), etc.
The procurement application 20 comprises a business object 21 that represents a business transaction that takes place through the procurement application 20. The business object 21 has a company_code attribute to relate the business object to a company participating in the business transaction that is represented by the business object 21. The business object 21 is typically implemented as a class within the procurement application, and stored in the application database 30 as a business object record 33.
The company may be, inter alia, a customer, a product supplier, a service provider, etc. The procurement application 20 employs the application database 30 for records of the procurement application 20. Examples of the application database 30 may be, inter alia, a custom-designed procurement database, IBM DB2, Oracle®, MySQL®, etc.
The company verification system 1.00 comprises a company profile configuration module 200, a user verification module 300, the procurement application 400, a requisition verification module 500, a user profile cleanup program 700, and the application database 800. The application database 800 comprises a company profile record 810, a user profile record 820, and a requisition business object record 830. The company profile record 810 comprises a company_code attribute that is a target attribute to be verified, and a company_valid attribute that is a validity attribute that marks whether the target attribute is valid or not. The user profile record 820 comprises a company_code attribute that is a target attribute. The requisition object record 830 comprises a company_code attribute that is a target attribute and company_valid flag that marks whether the target attribute is valid or not.
The company_valid attribute is inserted into the company profile record 810 when the company_code attribute of the company profile record 810 is desired to be verified for the procurement application 400. The company_code attribute of the company profile record 810 is a target attribute that is desired to be verified. The company_valid attribute is a validity attribute that indicates whether the company profile record 810 has a legitimate and up-to-date instance for the company_code attribute of the company profile record 810.
An application administrator 110 configures the company profile record 810 through the company profile configuration module 200, after inserting the company_valid attribute into the company profile record 810. The company_valid attribute of the company profile record 810 has a binary value indicating that the company_code attribute of the company profile record 810 is either valid or invalid. The company_valid attribute of the company profile record 810 is initialized as valid upon creation.
When a user 130 attempts to log in to the procurement application 400, the user profile verification module 300 verifies the user profile record 820 of the user 130 against the company profile record 810. The user 130 with a valid instance for the company_code attribute of the user profile record 820 successfully logs in to the procurement application 400 and proceeds with creating a requisition object record 830 for a business transaction.
The requisition object record 830 represents a requisition transaction that the user 130 has created within the procurement application 400. The company_valid flag of the requisition object record 830 indicates whether the company_code attribute of the requisition object record 830 is instantiated with a valid value that is available in the company profile record 810 in the application database 800.
When the user 130 attempts to modify the requisition object record 830, a requisition object verification module 500 verifies the requisition object record 830 against the company profile record 810.
The database cleanup program 700 cleans up the user profile record 820 that has an invalid instance for the company_code attribute of the user profile record 820. The database cleanup program 700 may be performed with a command of a system and/or database administrator 120 or may be periodically performed by a scheduler of an operating system on which the application database 800 is implemented.
Initially, company profile records stored in the application database comprise the company code attribute. The company_code attribute is a target attribute that is desired to be valid for the procurement application. Thus, a database administrator inserts a new attribute to mark the validity of the target attribute, which is the company_valid attribute, into the company profile record. The company_valid attribute is initially set as valid by the database administrator at the time when the company_valid attribute is created or by an application administrator after the company_valid attribute is created within the company profile records.
In step 201, the company profile configuration module displays a user interface for the application administrator to enable configuring company profile records that are stored in the application database. The user interface enables the application administrator to input values for company profile records.
In step 202, the company profile configuration module prompts the application administrator to input a value for the company_code attribute.
In step 203, the company profile configuration module receives the value for the company_code attribute from the application administrator.
In step 204, the company profile configuration module retrieves and displays content of a company profile record that has a same value for the company_code attribute to enable the application administrator to edit values for the company profile record.
In step 205, the company profile configuration module receives a validity value, which is valid or invalid, for the company_valid attribute from an input of the application administrator. The validity value is predefined as a pair of values indicating valid or invalid, as in YES/NO, 1/0, etc.
In step 206, the company profile configuration module stores the company profile record back to the application database with the validity value for the company_valid attribute received in step 205.
When a user profile record is created by a new user who is logging in to the procurement application, the user profile record comprises a same company_code attribute as is comprised by a company profile record, and the company_code attribute of the user profile record is assigned to a value in the company_code attribute of a company profile record in the application database.
In step 301, the user profile verification module queries the company profile record in the application database with a value for the company_code attribute in the user profile record of the user who attempts to log in to the procurement application.
In step 302, the user profile verification module determines whether the user profile record has a valid value for the company_code attribute. If the user profile verification module determines that the user profile record does not have a valid value for the company_code attribute, the user profile verification module proceeds with step 303. If the user profile verification module determines that the user profile record has a valid value for the company_code attribute, the user profile verification module terminates because the user profile record is suitable for the procurement application to use in business transactions involving the user represented by the user profile record.
In step 303, the user profile verification module displays the user profile record for the user with an invalid value for the company_code attribute.
In step 304, the user profile verification module instantiates the company_code attribute of the user profile record with a valid company_code values available in the company profile record. When multiple values are available for the company_code, the user profile verification module displays a list of available company_code values and prompts the user to select one for the user profile record out of the list of available company_code values.
In step 305, the user profile verification module prompts the user to input a company_code value for the company_code attribute of the user profile record.
In step 306, the user profile verification module receives a company_code value from the user for the company_code attribute.
In step 307, the user profile verification module receives “save user profile command” from the user.
In step 308, the user profile verification module determines whether a company_code attribute is selected by the user. If the user profile verification module determines that a company_code attribute is properly selected, the user profile verification module proceeds with step 309. If the user profile verification module determines that a company_code attribute is not properly selected, the user profile verification module proceeds with step 310.
In step 309, the user profile verification module stores the user profile to the user profile record of the application database.
In step 310, the user profile verification module informs the user to choose a valid company_code, and loops back to step 306.
A requisition object is created by a user to represent a requisition that the user intends to perform. The requisition object inherits instances for common attributes from the user profile record that represents the user who creates the requisition object. Because only a user with valid company_code can create a requisition object, a value for the company_code attribute of the requisition object is initially valid.
The requisition object needs to be verified when the user attempts to modify the requisition object within the procurement application because, during the modification, the user may use an invalid value for a second company_code attribute representing a partner company in the transaction.
The validity flag of the requisition object marks the requisition object as valid or not. Thus, after the requisition object verification module is performed, it is guaranteed that the requisition object is valid within the procurement application.
In step 501, the requisition object verification module queries the company profile database record to identify all valid values for the company_code available for the requisition object.
In step 502, the requisition object verification module instantiates the validity flag of the requisition object with the company_valid attribute of the company profile record stored in the application database.
In step 503, the requisition object verification module determines whether the requisition object has a valid value for the company_code attribute as being indicated by a predefined valid value for the validity flag. If the requisition object verification module determines that the requisition object has a predefined valid value for the validity flag, the requisition object verification module proceeds to step 504. If the requisition object verification module determines that the requisition object has a predefined invalid value for the validity flag, the requisition object verification module proceeds to step 505.
In step 504, the requisition object verification module continues modifying the requisition object through a user interface because the requisition object verified as having a valid value for the company_code attribute.
In step 505, the requisition object verification module displays an error message to the user notifying that the requisition object has an invalid value for the company_code attribute and the requisition object cannot be modified.
In step 506, the requisition object verification module prompts for user command to stop modifying the requisition object.
The user profile cleanup program deletes user profile records that have an invalid value for the company_code attribute to ensure that a user without valid value for the company code attribute in the user profile record is prohibited from logging in to the procurement application and from creating and/or modifying a requisition object. The user profile cleanup program is executed by a database administrator or by a scheduler of an operating system on which the user profile cleanup program is performed.
The user profile cleanup program checks the company profile record stored in the application database and identifies all invalid values for the company_code attribute. If the user profile cleanup program is able to identify any invalid value for the company_code attribute, the user profile cleanup program removes user profile records that have identified invalid values for the company_code attribute from the application database. If the user profile cleanup program cannot identify any invalid value for the company_code attribute, the user profile cleanup program terminates because all user profile records have valid values for the company code attribute and proper for usage in the procurement application
In this embodiment, the user profile cleanup program is a UNIX® shell script called “delete_invalid_profiles.sh” 710 that is executed by a command 750 invoking the UNIX® shell script “delete_invalid_profiles.sh” 710 provided on a system prompt with four arguments, wherein a first argument is “proc,” a second argument is “temployee_profile,” a third argument is “chrg_co_cd,” and a fourth argument is “‘ABC’, ‘DEF’, ‘GHI’.”
In line 711, the user profile cleanup program sets a value of the first argument, “proc,” provided in the command line command to “db_name” that indicates a name of the application database.
In line 712, the user profile cleanup program sets the second argument, “temployee_profile,” provided in the command line command to “db_table” that indicates a name of the record in the “db_name” application database.
In line 713, the user profile cleanup program sets the third argument, “chrg_co_cd,” provided in the command line command to “column_name” that indicates an attribute of the “db_table” record in the “db_name” application database.
In line 714, the user profile cleanup program sets the fourth argument, “‘ABC’, ‘DEF’, ‘GHI’,” provided in the command line command to “values” that indicates at least one value for the “column_name” attribute of the “db_table” record in the “db_name” application database.
In line 715, the user profile cleanup program deletes “db_table” records from “db_name” application database if a “db_table” record has a value from a group consisting of “values” for the “column_name” attribute of the “db_table” record. In this embodiment, the user profile cleanup program deletes any temployee_profile record from pros application database if chrg_co_cd column of temp oyee profile record has a value ‘ABC’, ‘DEF’, or ‘GHI.’
The computer system 90 comprises a processor 91, an input device 92 coupled to the processor 91, an output device 93 coupled to the processor 91, and memory devices 94 and 95 each coupled to the processor 91. The input device 92 may be, inter alia, a keyboard, a mouse, a keypad, a touchscreen, a voice recognition device, a sensor, a network interface card (NIC), a Voice/video over Internet Protocol (VOIP) adapter, a wireless adapter, a telephone adapter, a dedicated circuit adapter, etc. The output device 93 may be, inter alia, a printer, a plotter, a computer screen, a magnetic tape, a removable hard disk, a floppy disk, a NIC, a VOIP adapter, a wireless adapter, a telephone adapter, a dedicated circuit adapter, an audio and/or visual signal generator, a light emitting diode (LED), etc. The memory devices 94 and 95 may be, inter alia, a cache, a dynamic random access memory (DRAM), a read-only memory (ROM), a hard disk, a floppy disk, a magnetic tape, an optical storage such as a compact disc (CD) or a digital video disc (DVD), etc. The memory device 95 includes a computer code 97 which is a computer program that comprises computer-executable instructions. The computer code 97 includes, inter alia, an algorithm used for verifying a company_code attribute for a procurement application according to the present invention. The processor 91 executes the computer code 97. The memory device 94 includes input data 96. The input data 96 includes input required by the computer code 97. The output device 93 displays output from the computer code 97. Either or both memory devices 94 and 95 (or one or more additional memory devices not shown in
Any of the components of the present invention can be deployed, managed, serviced, etc. by a service provider that offers to deploy or integrate computing infrastructure with respect to a process for verifying a company_code attribute for a procurement application of the present invention. Thus, the present invention discloses a process for supporting computer infrastructure, comprising integrating, hosting, maintaining and deploying computer-readable code into a computing system (e.g., computing system 90), wherein the code in combination with the computing system is capable of performing a method for verifying a company_code attribute for a procurement application
In another embodiment, the invention provides a business method that performs the process steps of the invention on a subscription, advertising and/or fee basis. That is, a service provider, such as a Solution Integrator, can offer to create, maintain, support, etc. a process for verifying a company_code attribute for a procurement application of the present invention. In this case, the service provider can create, maintain, support, etc. a computer infrastructure that performs the process steps of the invention for one or more customers. In return, the service provider can receive payment from the customer(s) under a subscription and/or fee agreement, and/or the service provider can receive payment from the sale of advertising content to one or more third parties.
While
While particular embodiments of the present invention have been described herein for purposes of illustration, many modifications and changes will become apparent to those skilled in the art. Accordingly, the appended claims are intended to encompass all such modifications and changes as fall within the true spirit and scope of this invention.
This application is a continuation application claiming priority to Ser. No. 13/608,470, filed Sep. 10, 2012, which is a continuation of Ser. No. 12/017,075, filed Jan. 21, 2008, U.S. Pat. No. 8,321,914, issued Nov. 27, 2012.
Number | Date | Country | |
---|---|---|---|
Parent | 13608470 | Sep 2012 | US |
Child | 15429757 | US | |
Parent | 12017075 | Jan 2008 | US |
Child | 13608470 | US |