Search Results gr_document_print
Overview
The GR_DOCUMENT_PRINT table is a core data object within Oracle E-Business Suite Process Manufacturing Regulatory Management (GR). It serves as the central repository for managing the print status and metadata of regulatory documents. Its primary role is to track the generation and printing of documents—such as Material Safety Data Sheets (MSDS) or product labels—that are mandated by regulatory bodies. The table uniquely identifies each printed document instance by associating it with a specific Item Code, Document Code, and Date, thereby creating a verifiable audit trail of compliance documentation produced for products.
Key Information Stored
The table's structure is defined by its primary and foreign key relationships, which dictate the critical data points it stores. The primary key is DOCUMENT_TEXT_ID, a unique identifier for each printed document record. Essential foreign key columns, which define the context of the print, include ITEM_CODE (linking to the specific product in GR_ITEM_GENERAL), DOCUMENT_CODE (defining the document type from GR_DOCUMENT_CODES), and LANGUAGE (from FND_LANGUAGES). Furthermore, the table stores regulatory context through DISCLOSURE_CODE_COUNTRY and DISCLOSURE_CODE_RECIPIENT, which link to the GR_DISCLOSURES table to specify the applicable regulatory rules based on destination country and recipient type.
Common Use Cases and Queries
A primary use case is generating a compliance report of all MSDS documents printed for a specific product within a date range. Another is auditing document dispatch history to prove regulatory adherence for a shipment. Common SQL queries involve joining to related item and document tables to produce human-readable reports.
- Print History by Item:
SELECT gdp.document_text_id, gdp.print_date, ig.item_code, dc.document_name FROM gr_document_print gdp, gr_item_general ig, gr_document_codes dc WHERE gdp.item_code = ig.item_code AND gdp.document_code = dc.document_code AND ig.item_code = 'ITEM123' ORDER BY gdp.print_date DESC; - Document Details for a Specific Print: Queries often join to GR_DOCUMENT_DETAILS using the DOCUMENT_TEXT_ID to retrieve the full document text or formatting instructions associated with a print record.
Related Objects
The GR_DOCUMENT_PRINT table is a central hub within the Regulatory Management schema, with documented relationships to several key tables.
- GR_DOCUMENT_CODES: Joined via GR_DOCUMENT_PRINT.DOCUMENT_CODE to define the type of document (e.g., MSDS, Label).
- GR_ITEM_GENERAL: Joined via GR_DOCUMENT_PRINT.ITEM_CODE to identify the product for which the document was printed.
- FND_LANGUAGES: Joined via GR_DOCUMENT_PRINT.LANGUAGE to specify the print language.
- GR_DISCLOSURES (Two Relationships): Joined via DISCLOSURE_CODE_COUNTRY and DISCLOSURE_CODE_RECIPIENT to apply the correct regulatory disclosure rules.
- GR_DOCUMENT_DETAILS: Has a foreign key (GR_DOCUMENT_DETAILS.DOCUMENT_TEXT_ID) referencing this table, storing the detailed content for each print record.
- GR_DISPATCH_HISTORIES: Has a foreign key (GR_DISPATCH_HISTORIES.DOCUMENT_TEXT_ID) referencing this table, linking printed documents to specific shipment or dispatch events.
-
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 ,
-
APPS.GR_DISCLOSURE_PKG dependencies on GR_DOCUMENT_PRINT
12.1.1
-
APPS.GR_ITEM_SAFETY dependencies on GR_DOCUMENT_PRINT
12.2.2
-
APPS.GR_DOCUMENT_PRINT_PKG dependencies on GR_DOCUMENT_PRINT
12.1.1
-
APPS.GR_ITEM_GENERAL_PKG dependencies on GR_DOCUMENT_PRINT
12.1.1
-
APPS.GR_DISCLOSURE_PKG dependencies on GR_DOCUMENT_PRINT
12.2.2
-
APPS.GR_DOCUMENT_CODES_PKG dependencies on GR_DOCUMENT_PRINT
12.1.1
-
APPS.GR_DOCUMENT_PRINT_PKG dependencies on GR_DOCUMENT_PRINT
12.2.2
-
APPS.GR_ITEM_SAFETY dependencies on GR_DOCUMENT_PRINT
12.1.1
-
APPS.GR_PROCESS_ORDERS dependencies on GR_DOCUMENT_PRINT
12.1.1
-
APPS.GR_DOCUMENT_CODES_PKG dependencies on GR_DOCUMENT_PRINT
12.2.2
-
APPS.GR_PROCESS_ORDERS dependencies on GR_DOCUMENT_PRINT
12.2.2
-
APPS.GR_ITEM_GENERAL_PKG dependencies on GR_DOCUMENT_PRINT
12.2.2
-
VIEW: APPS.GR_DOCUMENT_PRINT_DFV
12.1.1
-
APPS.GR_DISCLOSURE_PKG SQL Statements
12.2.2
-
Table: GR_DISCLOSURES
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DISCLOSURES, object_name:GR_DISCLOSURES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains Disclosure information and Minimum, Text, Label, Exposure, and Toxicity Reporting Levels for an ingredient. , implementation_dba_data: GR.GR_DISCLOSURES ,
-
VIEW: APPS.GR_DOCUMENT_PRINT_DFV
12.2.2
-
Table: GR_DISCLOSURES
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DISCLOSURES, object_name:GR_DISCLOSURES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains Disclosure information and Minimum, Text, Label, Exposure, and Toxicity Reporting Levels for an ingredient. , implementation_dba_data: GR.GR_DISCLOSURES ,
-
SYNONYM: APPS.GR_DOCUMENT_PRINT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GR_DOCUMENT_PRINT, status:VALID,
-
SYNONYM: APPS.GR_DOCUMENT_PRINT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GR_DOCUMENT_PRINT, status:VALID,
-
VIEW: GR.GR_DOCUMENT_PRINT#
12.2.2
owner:GR, object_type:VIEW, object_name:GR_DOCUMENT_PRINT#, status:VALID,
-
APPS.GR_DOCUMENT_PRINT_PKG SQL Statements
12.2.2
-
APPS.GR_DOCUMENT_PRINT_PKG SQL Statements
12.1.1
-
APPS.GR_DISCLOSURE_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.GR_DISCLOSURE_PKG
12.1.1
-
APPS.GR_DOCUMENT_PRINT_PKG dependencies on FND_FILE
12.1.1
-
PACKAGE BODY: APPS.GR_DISCLOSURE_PKG
12.2.2
-
VIEW: GR.GR_DOCUMENT_PRINT#
12.2.2
-
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_DETAILS
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_DETAILS, object_name:GR_DOCUMENT_DETAILS, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains each phrase as it will display or print on the document. , implementation_dba_data: GR.GR_DOCUMENT_DETAILS ,
-
APPS.GR_DISCLOSURE_PKG dependencies on GR_ITEM_DISCLOSURES
12.1.1
-
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 ,
-
APPS.GR_DOCUMENT_PRINT_PKG dependencies on FND_FILE
12.2.2
-
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_DOCUMENT_DETAILS
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_DETAILS, object_name:GR_DOCUMENT_DETAILS, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains each phrase as it will display or print on the document. , implementation_dba_data: GR.GR_DOCUMENT_DETAILS ,
-
PACKAGE BODY: APPS.GR_DISCLOSURE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DISCLOSURE_PKG, status:VALID,
-
PACKAGE BODY: APPS.GR_DOCUMENT_CODES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOCUMENT_CODES_PKG, status:VALID,
-
APPS.GR_DISCLOSURE_PKG dependencies on GR_RECIPIENT_INFO
12.1.1
-
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: APPS.GR_DOCUMENT_PRINT_DFV
12.1.1
owner:APPS, object_type:VIEW, object_name:GR_DOCUMENT_PRINT_DFV, status:VALID,
-
VIEW: APPS.GR_DOCUMENT_PRINT_DFV
12.2.2
owner:APPS, object_type:VIEW, object_name:GR_DOCUMENT_PRINT_DFV, status:VALID,
-
PACKAGE BODY: APPS.GR_DOCUMENT_PRINT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOCUMENT_PRINT_PKG, status:VALID,
-
PACKAGE BODY: APPS.GR_ITEM_GENERAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GR_ITEM_GENERAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.GR_DISCLOSURE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DISCLOSURE_PKG, status:VALID,
-
Table: GR_ITEM_GENERAL
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_ITEM_GENERAL, object_name:GR_ITEM_GENERAL, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Stores regulatory information that further identifies the item. It also stores flags that govern what data displays on the MSDS. , implementation_dba_data: GR.GR_ITEM_GENERAL ,
-
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_DISCLOSURE_PKG dependencies on GR_ITEM_DISCLOSURES
12.2.2
-
PACKAGE BODY: APPS.GR_DOCUMENT_PRINT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_DOCUMENT_PRINT_PKG, status:VALID,
-
PACKAGE BODY: APPS.GR_ITEM_GENERAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GR_ITEM_GENERAL_PKG, status:VALID,