Search Results gr_document_codes
Overview
The GR_DOCUMENT_CODES table is a core configuration table within the Oracle E-Business Suite Process Manufacturing Regulatory Management (GR) module. It serves as a master repository for defining the formatting and content rules for regulatory documents, such as Material Safety Data Sheets (MSDS) and labels. Each record represents a unique document code that controls the visual presentation and data inclusion for generated documents, ensuring compliance with regional or customer-specific regulatory requirements. Its primary role is to act as a central reference point, governing how detailed ingredient, toxicological, and exposure information is displayed or printed.
Key Information Stored
While the specific column list is not detailed in the provided metadata, the description and foreign key relationships indicate the table stores critical configuration attributes. The primary key is the DOCUMENT_CODE column, which uniquely identifies each document format rule. Based on its described purpose, the table likely contains columns to control the date format for documents, Boolean flags (e.g., Y/N) to determine the printing of detailed ingredient, toxic, and exposure sections, and fields for customizing the appearance of these detailed elements (such as font, layout, or section ordering). The presence of a foreign key to FND_USER.USER_ID also suggests it tracks creation or last update user information.
Common Use Cases and Queries
A primary use case is the setup and maintenance of document templates during the implementation of the Regulatory Management module. Administrators create and configure document codes to align with the legal requirements of different countries or the specific needs of key customers. Common reporting and validation queries include listing all configured document codes and their active settings, or identifying which codes are assigned to specific country profiles. For example, a basic query to audit document configurations would be:
- SELECT document_code, date_format, print_ingredients_flag FROM gr.gr_document_codes WHERE enabled_flag = 'Y' ORDER BY document_code;
Another critical operational use case is during the batch generation of regulatory documents for shipped products, where the system references the GR_DOCUMENT_CODES table via foreign keys (like in GR_DISPATCH_HISTORIES) to apply the correct formatting rules.
Related Objects
The GR_DOCUMENT_CODES table has a central relationship with numerous other tables in the GR schema, as evidenced by its foreign key constraints. It is primarily referenced by transactional and setup tables that require a document format definition.
- GR_COUNTRY_PROFILES: Links a country profile to a default document code (GR_COUNTRY_PROFILES.DOCUMENT_CODE).
- GR_DISPATCH_HISTORIES: Associates a specific dispatch or shipment transaction with a document code (GR_DISPATCH_HISTORIES.DOCUMENT_CODE).
- GR_DOCUMENT_HEADINGS, GR_DOCUMENT_PRINT, GR_DOCUMENT_RTK: These are likely child tables storing additional, code-specific document content or print parameters.
- GR_ITEM_DOC_STATUSES, GR_RECIPIENT_DOCUMENTS, GR_RECIPIENT_INFO: Track the document status and association for items and recipients against a specific document code.
- FND_USER: References the application user who created or last updated the document code record (GR_DOCUMENT_CODES.USER_ID).
-
Table: GR_DOCUMENT_CODES
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_CODES, object_name:GR_DOCUMENT_CODES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the date format and determines whether detailed ingredient, toxic, and exposure information displays or prints on the document. Also allows customization of the appearance of the detailed elements. , implementation_dba_data: GR.GR_DOCUMENT_CODES ,
-
Table: GR_DOCUMENT_CODES
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_CODES, object_name:GR_DOCUMENT_CODES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the date format and determines whether detailed ingredient, toxic, and exposure information displays or prints on the document. Also allows customization of the appearance of the detailed elements. , implementation_dba_data: GR.GR_DOCUMENT_CODES ,
-
APPS.GR_PROCESS_ORDERS dependencies on GR_DOCUMENT_CODES
12.1.1
-
APPS.GR_PROCESS_DOCUMENTS dependencies on GR_DOCUMENT_CODES
12.2.2
-
APPS.GR_DOCUMENT_CODES_TL_PKG dependencies on GR_DOCUMENT_CODES
12.1.1
-
APPS.GR_DOC_HDR_FTR_PKG dependencies on GR_DOCUMENT_CODES
12.1.1
-
APPS.GR_PROCESS_ORDERS dependencies on GR_DOCUMENT_CODES
12.2.2
-
APPS.GR_DOCUMENT_CODES_PKG dependencies on GR_DOCUMENT_CODES
12.1.1
-
APPS.GR_DOCUMENT_CODES_TL_PKG dependencies on GR_DOCUMENT_CODES
12.2.2
-
APPS.GR_DOCUMENT_CODES_PKG dependencies on GR_DOCUMENT_CODES
12.2.2
-
APPS.GR_DOC_HDR_FTR_PKG dependencies on GR_DOCUMENT_CODES
12.2.2
-
APPS.GR_PROCESS_DOCUMENTS dependencies on GR_DOCUMENT_CODES
12.1.1
-
SYNONYM: APPS.GR_DOCUMENT_CODES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GR_DOCUMENT_CODES, status:VALID,
-
SYNONYM: APPS.GR_DOCUMENT_CODES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GR_DOCUMENT_CODES, status:VALID,
-
VIEW: APPS.GR_DOCUMENT_CODES_DFV
12.1.1
-
VIEW: APPS.GR_DOCUMENT_CODES_DFV
12.2.2
-
VIEW: APPS.GR_COUNTRY_PROFILES_V
12.1.1
-
VIEW: APPS.GR_COUNTRY_PROFILES_V
12.2.2
-
APPS.GR_DOCUMENT_CODES_TL_PKG dependencies on GR_DOCUMENT_CODES_TL
12.1.1
-
VIEW: APPS.GR_DOCUMENT_CODES_V
12.1.1
-
APPS.GR_DOCUMENT_CODES_TL_PKG dependencies on GR_DOCUMENT_CODES_TL
12.2.2
-
VIEW: APPS.GR_DOCUMENT_CODES_V
12.2.2
-
Table: GR_ITEM_DOC_STATUSES
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_ITEM_DOC_STATUSES, object_name:GR_ITEM_DOC_STATUSES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the last change date and Item Document Status. , implementation_dba_data: GR.GR_ITEM_DOC_STATUSES ,
-
Table: GR_ITEM_DOC_STATUSES
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_ITEM_DOC_STATUSES, object_name:GR_ITEM_DOC_STATUSES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the last change date and Item Document Status. , implementation_dba_data: GR.GR_ITEM_DOC_STATUSES ,
-
Table: GR_RECIPIENT_INFO
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_RECIPIENT_INFO, object_name:GR_RECIPIENT_INFO, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains additional customer specific information. , implementation_dba_data: GR.GR_RECIPIENT_INFO ,
-
Table: GR_DOCUMENT_RTK
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_RTK, object_name:GR_DOCUMENT_RTK, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the Right-to-Know (RTK) detail information that will display or print on the document. , implementation_dba_data: GR.GR_DOCUMENT_RTK ,
-
Table: GR_DISPATCH_HISTORIES
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DISPATCH_HISTORIES, object_name:GR_DISPATCH_HISTORIES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains transaction information, such as who received what and when. , implementation_dba_data: GR.GR_DISPATCH_HISTORIES ,
-
Table: GR_RECIPIENT_INFO
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_RECIPIENT_INFO, object_name:GR_RECIPIENT_INFO, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains additional customer specific information. , implementation_dba_data: GR.GR_RECIPIENT_INFO ,
-
VIEW: GR.GR_DOCUMENT_CODES#
12.2.2
owner:GR, object_type:VIEW, object_name:GR_DOCUMENT_CODES#, status:VALID,
-
PACKAGE BODY: APPS.GR_DOCUMENT_CODES_TL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOCUMENT_CODES_TL_PKG, status:VALID,
-
PACKAGE BODY: APPS.GR_DOC_HDR_FTR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOC_HDR_FTR_PKG, status:VALID,
-
PACKAGE BODY: APPS.GR_DOC_HDR_FTR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOC_HDR_FTR_PKG, status:VALID,
-
PACKAGE BODY: APPS.GR_DOCUMENT_CODES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOCUMENT_CODES_PKG, status:VALID,
-
Table: GR_DOCUMENT_HEADINGS
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_HEADINGS, object_name:GR_DOCUMENT_HEADINGS, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the headings and subheadings linked to a document. , implementation_dba_data: GR.GR_DOCUMENT_HEADINGS ,
-
Table: GR_DOCUMENT_RTK
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_RTK, object_name:GR_DOCUMENT_RTK, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the Right-to-Know (RTK) detail information that will display or print on the document. , implementation_dba_data: GR.GR_DOCUMENT_RTK ,
-
PACKAGE BODY: APPS.GR_DOCUMENT_CODES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOCUMENT_CODES_PKG, status:VALID,
-
Table: GR_RECIPIENT_DOCUMENTS
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_RECIPIENT_DOCUMENTS, object_name:GR_RECIPIENT_DOCUMENTS, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: This entity will only be populated if the ADDITIONAL DOCUMENTFLAG on the customer entity is set to 'Y'. It allows the user to specifythe printing of additional documents with the primary document. Anexample of this might be the primary doc , implementation_dba_data: GR.GR_RECIPIENT_DOCUMENTS ,
-
Table: GR_DOCUMENT_PRINT
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_PRINT, object_name:GR_DOCUMENT_PRINT, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains print information for the document by Item Code, Document Code, and Date. , implementation_dba_data: GR.GR_DOCUMENT_PRINT ,
-
Table: GR_DOCUMENT_PRINT
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_PRINT, object_name:GR_DOCUMENT_PRINT, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains print information for the document by Item Code, Document Code, and Date. , implementation_dba_data: GR.GR_DOCUMENT_PRINT ,
-
Table: GR_DOCUMENT_HEADINGS
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_HEADINGS, object_name:GR_DOCUMENT_HEADINGS, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the headings and subheadings linked to a document. , implementation_dba_data: GR.GR_DOCUMENT_HEADINGS ,
-
Table: GR_DISPATCH_HISTORIES
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DISPATCH_HISTORIES, object_name:GR_DISPATCH_HISTORIES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains transaction information, such as who received what and when. , implementation_dba_data: GR.GR_DISPATCH_HISTORIES ,
-
View: GR_COUNTRY_PROFILES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_COUNTRY_PROFILES_V, object_name:GR_COUNTRY_PROFILES_V, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows for the country profiles , implementation_dba_data: APPS.GR_COUNTRY_PROFILES_V ,
-
VIEW: APPS.GR_DOCUMENT_CODES_DFV
12.2.2
owner:APPS, object_type:VIEW, object_name:GR_DOCUMENT_CODES_DFV, status:VALID,
-
PACKAGE: APPS.GR_PROCESS_ORDERS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GR_PROCESS_ORDERS, status:VALID,
-
PACKAGE: APPS.GR_PROCESS_ORDERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GR_PROCESS_ORDERS, status:VALID,
-
Table: GR_COUNTRY_PROFILES
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_COUNTRY_PROFILES, object_name:GR_COUNTRY_PROFILES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains Country Codes and Descriptions that can be linked to a customer so that documents display or print in the appropriate country's format. , implementation_dba_data: GR.GR_COUNTRY_PROFILES ,
-
Table: GR_COUNTRY_PROFILES
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_COUNTRY_PROFILES, object_name:GR_COUNTRY_PROFILES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains Country Codes and Descriptions that can be linked to a customer so that documents display or print in the appropriate country's format. , implementation_dba_data: GR.GR_COUNTRY_PROFILES ,
-
PACKAGE BODY: APPS.GR_DOCUMENT_CODES_TL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOCUMENT_CODES_TL_PKG, status:VALID,
-
VIEW: GR.GR_DOCUMENT_CODES#
12.2.2
-
Table: GR_RECIPIENT_DOCUMENTS
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_RECIPIENT_DOCUMENTS, object_name:GR_RECIPIENT_DOCUMENTS, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: This entity will only be populated if the ADDITIONAL DOCUMENTFLAG on the customer entity is set to 'Y'. It allows the user to specifythe printing of additional documents with the primary document. Anexample of this might be the primary doc , implementation_dba_data: GR.GR_RECIPIENT_DOCUMENTS ,