Multi-language processing method and system for Oracle EBS customized form

By establishing a multilingual value data table for form objects and messages, and extracting the attributes and message values ​​of the corresponding language codes according to the current language environment, the problem of multilingual processing of Oracle EBS customized forms relying on the system's default language is solved, and flexible switching and centralization are achieved. manage.

CN118708276AActive Publication Date: 2024-09-27EAGLERISE MAGNETOELECTRIC TECH (JI AN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410849322.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-27
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Multilingual processing of Oracle EBS customized forms relies on the system's default language settings, making it difficult to achieve personalized display and flexible switching.

Method used

By creating a temporary table of form objects and a temporary table of form messages, convert the source program file of the customized form into txt format, read and store the Chinese values, establish a multi-language value data table of the attributes of the form object and messages, and extract them according to the current locale. The properties and message values ​​of the corresponding language code are displayed.

Benefits of technology

It enables flexible switching of customized form languages ​​without relying on the default language settings of the Oracle EBS system, and facilitates centralized management and maintenance of form object attributes and messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708276A
    Figure CN118708276A
Patent Text Reader

Abstract

The invention discloses a multi-language processing method and system for an Oracle EBS customized form. The method comprises the following steps: creating a form object temporary table and a form message temporary table; converting a source program file of the customized form into a file in a txt format, reading an attribute Chinese value of each form object and a Chinese value of each form message, and respectively storing the attribute Chinese values and the Chinese values in corresponding temporary tables; creating a multi-language value data table of the attributes of the form objects and a multi-language value data table of the form messages; respectively importing data in the form object temporary table and data in the form message temporary table into corresponding data tables; and extracting an attribute value of the current language code from the multi-language value data table of the attributes of the form object, and extracting a message value of the current language code from the multi-language value data table of the form message. According to the method, the problem that personalized display and flexible switching are difficult to realize due to the fact that multi-language processing of a customized form of an existing Oracle EBS generally depends on default language setting of a system is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Oracle EBS customized form processing, in particular to a multi-language processing method and system for Oracle EBS customized form. Background Art

[0002] As enterprises accelerate their internationalization, multi-language support has become an indispensable function of enterprise management software. As a mature enterprise management solution, Oracle EBS provides basic multi-language support, but its multi-language support for customized forms still has certain limitations. In the prior art, Oracle EBS's customized form multi-language processing usually relies on the system's default language setting, that is, once the system language is set, all customized forms will be displayed in that language, making it difficult to achieve personalized display and flexible switching. Summary of the invention

[0003] In view of the above-mentioned defects, the present invention proposes a multi-language processing method and system for Oracle EBS customized forms, aiming to solve the problem that the existing Oracle EBS customized form multi-language processing usually relies on the system default language setting, that is, once the system language is set, all customized forms will be displayed in this language, making it difficult to achieve personalized display and flexible switching.

[0004] To achieve this object, the present invention adopts the following technical solutions:

[0005] A multi-language processing method for Oracle EBS customized forms, comprising the following steps:

[0006] Step S1: Create a temporary table of form objects and a temporary table of form messages, wherein the temporary table of form objects is used to store the attributes of form objects, and the temporary table of form messages is used to store the Chinese values ​​of form messages;

[0007] Step S2: Obtain a customized form;

[0008] Step S3: converting the source program file of the customized form into a file in txt format, and reading the Chinese value of the attribute of each form object and the Chinese value of each form message in the txt file;

[0009] Step S4: storing the Chinese value of the attribute of each form object in the txt format file in the form object temporary table, and storing the Chinese value of each form message in the txt format file in the form message temporary table;

[0010] Step S5: creating a multi-language value data table for attributes of form objects and a multi-language value data table for form messages;

[0011] Step S6: importing the data in the temporary table of the form object into the multi-language value data table of the attribute of the form object, and importing the data in the temporary table of the form message into the multi-language value data table of the form message;

[0012] Step S7: Obtain the language code of the current language environment, and based on the language code of the current language environment, extract the attribute value corresponding to the language code from the multi-language value data table of the form object's attributes and display it, and extract the message value corresponding to the language code from the multi-language value data table of the form message and display it.

[0013] Preferably, in step S6, before importing the data in the temporary table of the form object into the multilingual value data table of the attribute of the form object, the following steps are also included: using a PL or SQL program to process the data in the temporary table of the form object to obtain the processed data in the temporary table of the form object;

[0014] Before importing the data in the form message temporary table into the multi-language value data table of the form message, the following steps are also included: using a PL or SQL program to process the data in the form message temporary table to obtain the processed data in the form message temporary table.

[0015] Preferably, in step S7, before extracting the attribute value of the corresponding language code from the multi-language value data table of the attribute of the form object according to the language code of the current language environment and displaying it, the following steps are also included: loading an inventory file, the inventory file including the attribute values ​​of the form objects in several customized forms in different language environments; and using the inventory file to initialize the attribute value of the current language code of each form object of the customized form.

[0016] Preferably, in step S7, in step S7, before extracting the message value corresponding to the language code from the multi-language value data table of the form message according to the language code of the current language environment and displaying it, the following steps are also included: calling the form message setting program in the inventory file, and the inventory file also includes form message setting programs in different language environments in several customized forms.

[0017] Another aspect of the present application provides a multi-language processing system for Oracle EBS customized forms, the system comprising:

[0018] A first creation module is used to create a temporary table of form objects, wherein the temporary table of form objects is used to store attributes of form objects;

[0019] The second creation module is used to create a temporary table of form messages, wherein the temporary table of form messages is used to store Chinese values ​​of form messages;

[0020] The first acquisition module is used to acquire the customized form;

[0021] The conversion module is used to convert the source program file of the customized form into a file in txt format;

[0022] The reading module is used to read the Chinese values ​​of the attributes of each form object and the Chinese values ​​of each form message in the txt format file;

[0023] The first storage module is used to store the Chinese value of the attribute of each form object in the txt format file in the form object temporary table;

[0024] The second storage module is used to store the Chinese value of each form message in the txt format file in the form message temporary table;

[0025] A third creation module is used to create a multi-language value data table for the attributes of the form object;

[0026] A fourth creation module, used to create a multi-language value data table for form messages;

[0027] A first import module, used for importing data in the temporary table of the form object into the multi-language value data table of the attribute of the form object;

[0028] A second import module, used for importing data from the form message temporary table into the multi-language value data table of the form message;

[0029] The second acquisition module is used to obtain the language code of the current language environment;

[0030] A first extraction module is used to extract the attribute value corresponding to the language code from the multi-language value data table of the attribute of the form object according to the language code of the current language environment and display it;

[0031] The second extraction module is used to extract the message value corresponding to the language code from the multi-language value data table of the form message according to the language code of the current language environment and display it.

[0032] Preferably, it also includes: a first data processing module, which is used to use a PL or SQL program to process the data in the form object temporary table to obtain the data in the processed form object temporary table; a second data processing module, which is used to use a PL or SQL program to process the data in the form message temporary table to obtain the data in the processed form message temporary table.

[0033] Preferably, it also includes: a loading module for loading a stock file, the stock file including attribute values ​​of form objects in several customized forms in different language environments; an initialization module for initializing the attribute value of the current language code of each form object in the customized form using the stock file.

[0034] Preferably, it also includes: a calling module for calling the form message setting program in the inventory file, and the inventory file also includes form message setting programs in different language environments in a plurality of customized forms.

[0035] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0036] This solution establishes a multi-language value data table for the attributes of form objects and a multi-language value data table for form messages, and extracts and displays the attribute value of the corresponding language code from the multi-language value data table of the attributes of form objects and the message value of the corresponding language code from the multi-language value data table of form messages according to the language code of the currently acquired language environment, so that users can flexibly switch the customized form language according to the current language environment requirements without relying on the default language setting of the Oracle EBS system. In addition, by constructing a multi-language value data table for the attributes of form objects and a multi-language value data table for form messages, centralized management and maintenance of form object attributes and form messages are achieved, which is convenient for subsequent modification and expansion. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a step flow chart of a multi-language processing method for Oracle EBS customized forms. DETAILED DESCRIPTION

[0038] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0039] A multi-language processing method for Oracle EBS customized forms, comprising the following steps:

[0040] Step S1: Create a temporary table of form objects and a temporary table of form messages, wherein the temporary table of form objects is used to store the attributes of form objects, and the temporary table of form messages is used to store the Chinese values ​​of form messages;

[0041] Step S2: Obtain a customized form;

[0042] Step S3: converting the source program file of the customized form into a file in txt format, and reading the Chinese values ​​of the attributes of each form object and the Chinese values ​​of each form message in the txt format file;

[0043] Step S4: storing the Chinese value of the attribute of each form object in the txt format file in the form object temporary table, and storing the Chinese value of each form message in the txt format file in the form message temporary table;

[0044] Step S5: creating a multi-language value data table for attributes of form objects and a multi-language value data table for form messages;

[0045] Step S6: importing the data in the temporary table of the form object into the multi-language value data table of the attribute of the form object, and importing the data in the temporary table of the form message into the multi-language value data table of the form message;

[0046] Step S7: Obtain the language code of the current language environment, and based on the language code of the current language environment, extract the attribute value corresponding to the language code from the multi-language value data table of the form object's attributes and display it, and extract the message value corresponding to the language code from the multi-language value data table of the form message and display it.

[0047] This solution is a multi-language processing method for Oracle EBS customized forms, such as Figure 1As shown, the first step is to create a temporary table of form objects and a temporary table of form messages, wherein the temporary table of form objects is used to store the attributes of form objects, and the temporary table of form messages is used to store the Chinese values ​​of form messages. Specifically, by creating the temporary table of form objects and the temporary table of form messages, it is convenient to read the Chinese values ​​of the attributes of form objects in the temporary table of form objects and the Chinese values ​​of form messages in the temporary table of form messages. The second step is to obtain a customized form. Specifically, a customized form usually refers to a form customized and developed according to user-specific business requirements in Oracle EBS, or a form customized or modified from a standard form in Oracle EBS. The third step is to convert the source program file of the customized form into a file in txt format, and read the Chinese values ​​of the attributes of each form object and the Chinese values ​​of each form message in the txt format file. In this embodiment, the source program file of the customized form, i.e., the file in fmb format, is converted into a file in txt format by the object list conversion function in the Oracle Forms Builder tool, and the Chinese values ​​of the attributes of each form object and the Chinese values ​​of each form message in the txt format file are read by a C# script program. The fourth step is to store the Chinese values ​​of the attributes of each form object in the txt format file in the form object temporary table, and store the Chinese values ​​of each form message in the txt format file in the form message temporary table. Specifically, this can facilitate the subsequent management and maintenance of the data in the table. The fifth step is to create a multi-language value data table for the attributes of the form object and a multi-language value data table for the form message. In this embodiment, by establishing a multi-language value data table for the attributes of the form object and a multi-language value data table for the form message, it is conducive to the unified management and maintenance of the multi-language of the customized form. The main fields in the multi-language value data table for the attributes of the form object include form ID, object ID, attribute ID, language code and attribute value. The language code includes ZHS, US, etc. The main fields in the multi-language value data table for the form message include form ID, language code and message value. The sixth step is to import the data in the form object temporary table into the multi-language value data table of the form object's attributes, and import the data in the form message temporary table into the multi-language value data table of the form message. In this embodiment, by importing the data in the form object temporary table into the multi-language value data table of the form object's attributes, and importing the data in the form message temporary table into the multi-language value data table of the form message, it is beneficial to provide a data source for the subsequent extraction of the attribute value and message value of the language code of the current language environment.The seventh step is to obtain the language code of the current language environment, and according to the language code of the current language environment, extract the attribute value of the corresponding language code from the multi-language value data table of the attribute of the form object and display it, and extract the message value of the corresponding language code from the multi-language value data table of the form message and display it. In one embodiment, when the language code of the current language environment obtained is ZHS, it means that the attribute value and message value in the system interface need to display Chinese values. When the language code of the current language environment obtained is US, it means that the attribute value and message value in the system interface need to display English values.

[0048] This solution establishes a multi-language value data table for the attributes of form objects and a multi-language value data table for form messages, and extracts and displays the attribute value of the corresponding language code from the multi-language value data table of the attributes of form objects and the message value of the corresponding language code from the multi-language value data table of form messages according to the language code of the currently acquired language environment, so that users can flexibly switch the customized form language according to the current language environment requirements without relying on the default language setting of the Oracle EBS system. In addition, by constructing a multi-language value data table for the attributes of form objects and a multi-language value data table for form messages, centralized management and maintenance of form object attributes and form messages are achieved, which is convenient for subsequent modification and expansion.

[0049] Preferably, in step S6, before importing the data in the temporary table of the form object into the multilingual value data table of the attribute of the form object, the following steps are also included: using a PL or SQL program to process the data in the temporary table of the form object to obtain the processed data in the temporary table of the form object;

[0050] Before importing the data in the form message temporary table into the multi-language value data table of the form message, the following steps are also included: using a PL or SQL program to process the data in the form message temporary table to obtain the processed data in the form message temporary table.

[0051] In this embodiment, the data in the form object temporary table and the data in the form message temporary table are processed by PL or SQL program, including data cleaning, conversion, verification and calculation, so as to ensure the integrity and correctness of the data.

[0052] Preferably, in step S7, before extracting the attribute value corresponding to the language code from the multi-language value data table of the attribute of the form object according to the language code of the current language environment and displaying it, the following steps are also included: loading a stock file, the stock file includes the attribute values ​​of the form objects in different language environments in a number of customized forms; using the stock file to initialize the attribute value of the current language code of each form object of the customized form. In this embodiment, after loading the stock file containing the multi-language attribute values, it is necessary to call these values ​​to set the attributes of the form object to match the current language environment.

[0053] Preferably, in step S7, before extracting the message value corresponding to the language code from the multi-language value data table of the form message according to the language code of the current language environment and displaying it, the following steps are also included: calling the form message setting program in the inventory file, and the inventory file also includes form message setting programs in different language environments in several customized forms.

[0054] In this embodiment, in the customized form program, there are usually standard message processing programs, which are responsible for processing various messages on the user interface, such as button clicks, menu selections, etc. These message processing programs are usually associated with some predefined message strings, which may be prompts, warnings, error messages, etc. When the form program supports a multi-language environment, these message strings need to be able to display corresponding texts according to the current language environment, such as Chinese, English, French, etc. If the standard message processing program cannot automatically convert the message into the value corresponding to the current language environment, then additional processing is required. In order to avoid the problem that the standard message processing program cannot convert the message, this solution calls the form message setting program in the inventory file, which is conducive to retrieving the corresponding message value from the multi-language value data table of the form message according to the current language environment setting and displaying it on the user interface.

[0055] Another aspect of the present application provides a multi-language processing system for Oracle EBS customized forms, the system comprising:

[0056] A first creation module is used to create a temporary table of form objects, wherein the temporary table of form objects is used to store attributes of form objects;

[0057] The second creation module is used to create a temporary table of form messages, wherein the temporary table of form messages is used to store Chinese values ​​of form messages;

[0058] The first acquisition module is used to acquire the customized form;

[0059] The conversion module is used to convert the source program file of the customized form into a file in txt format;

[0060] The reading module is used to read the Chinese values ​​of the attributes of each form object and the Chinese values ​​of each form message in the txt format file;

[0061] The first storage module is used to store the Chinese value of the attribute of each form object in the txt format file in the form object temporary table;

[0062] The second storage module is used to store the Chinese value of each form message in the txt format file in the form message temporary table;

[0063] A third creation module is used to create a multi-language value data table for the attributes of the form object;

[0064] A fourth creation module, used to create a multi-language value data table for form messages;

[0065] A first import module, used for importing data in the temporary table of the form object into the multi-language value data table of the attribute of the form object;

[0066] A second import module, used for importing data from the form message temporary table into the multi-language value data table of the form message;

[0067] The second acquisition module is used to obtain the language code of the current language environment;

[0068] A first extraction module is used to extract the attribute value corresponding to the language code from the multi-language value data table of the attribute of the form object according to the language code of the current language environment and display it;

[0069] The second extraction module is used to extract the message value corresponding to the language code from the multi-language value data table of the form message according to the language code of the current language environment and display it.

[0070] The multi-language processing system of an Oracle EBS customized form of the present solution realizes multi-language processing of customized forms through the cooperation of a first creation module, a second creation module, a first acquisition module, a conversion module, a reading module, a first storage module, a second storage module, a third creation module, a fourth creation module, a first import module, a second import module, a second acquisition module, a first extraction module and a second extraction module.

[0071] This solution establishes a multi-language value data table for the attributes of form objects and a multi-language value data table for form messages, and extracts and displays the attribute value of the corresponding language code from the multi-language value data table of the attributes of form objects and the message value of the corresponding language code from the multi-language value data table of form messages according to the language code of the currently acquired language environment, so that users can flexibly switch the customized form language according to the current language environment requirements without relying on the default language setting of the Oracle EBS system. In addition, by constructing a multi-language value data table for the attributes of form objects and a multi-language value data table for form messages, centralized management and maintenance of form object attributes and form messages are achieved, which is convenient for subsequent modification and expansion.

[0072] Preferably, it also includes: a first data processing module, used to use PL or SQL program to process the data in the form object temporary table to obtain the data in the processed form object temporary table; a second data processing module, used to use PL or SQL program to process the data in the form message temporary table to obtain the data in the processed form message temporary table.

[0073] In this embodiment, before executing the first import module, the first data processing module needs to be executed, and before executing the second import module, the second data processing module needs to be executed. Specifically, the data in the form object temporary table and the data in the form message temporary table are processed by PL or SQL program, including data cleaning, conversion, verification and calculation, etc., to ensure the integrity and correctness of the data.

[0074] Preferably, it also includes: a loading module for loading a stock file, the stock file including attribute values ​​of form objects in a number of customized forms in different language environments; an initialization module for initializing the attribute value of the current language code of each form object in the customized form using the stock file.

[0075] In this embodiment, before executing the first extraction module, the loading module and the initialization module need to be executed. Specifically, after loading the inventory file containing multilingual attribute values, these values ​​need to be called to set the attributes of the form object to match the current language environment.

[0076] Preferably, it further comprises: a calling module for calling a form message setting program in an inventory file, wherein the inventory file further comprises form message setting programs in different language environments in a plurality of customized forms. In this embodiment, the calling module needs to be executed before executing the second extraction module. Specifically, by calling the form message setting program in the inventory file, it is advantageous to retrieve the corresponding message value from the multi-language value data table of the form message according to the current language environment setting, and display it on the user interface.

[0077] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0078] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A multi-language processing method for Oracle EBS customized forms. Features: The following steps are involved: Step S1: Create a temporary table of form objects and a temporary table of form messages, wherein the temporary table of form objects is used to store the attributes of form objects, and the temporary table of form messages is used to store the Chinese values ​​of form messages; Step S2: Obtain a customized form; Step S3: converting the source program file of the customized form into a file in txt format, and reading the Chinese value of the attribute of each form object and the Chinese value of each form message in the txt file; Step S4: storing the Chinese value of the attribute of each form object in the txt format file in the form object temporary table, and storing the Chinese value of each form message in the txt format file in the form message temporary table; Step S5: creating a multi-language value data table for attributes of form objects and a multi-language value data table for form messages; Step S6: importing the data in the temporary table of the form object into the multi-language value data table of the attribute of the form object, and importing the data in the temporary table of the form message into the multi-language value data table of the form message; Step S7: Obtain the language code of the current language environment, and based on the language code of the current language environment, extract the attribute value corresponding to the language code from the multi-language value data table of the form object's attributes and display it, and extract the message value corresponding to the language code from the multi-language value data table of the form message and display it.

2. The multi-language processing method for Oracle EBS customized forms according to claim 1, Features: In step S6, before importing the data in the temporary table of the form object into the multi-language value data table of the attribute of the form object, the following steps are also included: using a PL or SQL program to process the data in the temporary table of the form object to obtain the processed data in the temporary table of the form object; Before importing the data in the form message temporary table into the multi-language value data table of the form message, the following steps are also included: using a PL or SQL program to process the data in the form message temporary table to obtain the processed data in the form message temporary table.

3. The multi-language processing method for Oracle EBS customized forms according to claim 1, Features: In step S7, before extracting the attribute value corresponding to the language code from the multi-language value data table of the attribute of the form object according to the language code of the current language environment and displaying it, the following steps are also included: Load the inventory file, which includes the attribute values ​​of form objects in several customized forms in different language environments; Use the library file to initialize the attribute value of the current language code of each form object of the custom form.

4. The multi-language processing method for Oracle EBS customized forms according to claim 3, Features: In step S7, before extracting the message value corresponding to the language code from the multi-language value data table of the form message according to the language code of the current language environment and displaying it, the following steps are also included: The form message setting program in the inventory file is called. The inventory file also includes form message setting programs in different language environments in a number of customized forms.

5. A multi-language processing system for Oracle EBS customized forms, Features: Using the multi-language processing method of Oracle EBS customized forms as described in any one of claims 1 to 4, the system includes: A first creation module is used to create a temporary table of form objects, wherein the temporary table of form objects is used to store attributes of form objects; The second creation module is used to create a temporary table of form messages, wherein the temporary table of form messages is used to store Chinese values ​​of form messages; The first acquisition module is used to acquire the customized form; The conversion module is used to convert the source program file of the customized form into a file in txt format; The reading module is used to read the Chinese values ​​of the attributes of each form object and the Chinese values ​​of each form message in the txt format file; The first storage module is used to store the Chinese value of the attribute of each form object in the txt format file in the form object temporary table; The second storage module is used to store the Chinese value of each form message in the txt format file in the form message temporary table; A third creation module is used to create a multi-language value data table for the attributes of the form object; A fourth creation module, used to create a multi-language value data table for form messages; A first import module, used for importing data in the temporary table of the form object into the multi-language value data table of the attribute of the form object; A second import module, used for importing data from the form message temporary table into the multi-language value data table of the form message; The second acquisition module is used to obtain the language code of the current language environment; A first extraction module is used to extract the attribute value corresponding to the language code from the multi-language value data table of the attribute of the form object according to the language code of the current language environment and display it; The second extraction module is used to extract the message value corresponding to the language code from the multi-language value data table of the form message according to the language code of the current language environment and display it.

6. The multi-language processing system for Oracle EBS customized forms according to claim 5, Features: Also includes: The first data processing module is used to process the data in the temporary table of the form object using a PL or SQL program to obtain the data in the temporary table of the form object after processing; The second data processing module is used to process the data in the form message temporary table using a PL or SQL program to obtain the processed data in the form message temporary table.

7. The multi-language processing system for Oracle EBS customized forms according to claim 5, Features: Also includes: A loading module is used to load a stock file, which includes attribute values ​​of form objects in several customized forms in different language environments; The initialization module is used to initialize the attribute value of the current language code of each form object of the customized form using the inventory file.

8. The multi-language processing system for Oracle EBS customized forms according to claim 5, Features: Also includes: The calling module is used to call the form message setting program in the inventory file. The inventory file also includes form message setting programs in different language environments in a number of customized forms.

Citation Information

Patent Citations

  • International multi-language implement method of configuration software

    CN105138350A

  • Data processing method and system

    CN106534155A

  • Multi-language form presentation method and system

    CN106855807A

  • Multi-language loading method and device for custom form controls

    CN112306620A

  • Multi Language Support System and Method

    KR1020030054194A