Search Results gr_document_structures
Overview
The GR_DOCUMENT_STRUCTURES table is a core data object within the Oracle E-Business Suite (EBS) Process Manufacturing Regulatory Management (GR) module. It serves as a detailed configuration repository that defines the precise layout and content structure for regulatory documents. The table's primary role is to store the granular rules governing how a document will be formatted, displayed, or printed, including the specific ordering of sections, data points, and referenced phrases or labels. It functions as the child entity to document headings, providing the necessary structural details to render a complete, compliant document for regulatory reporting and product labeling.
Key Information Stored
The table stores configuration data that maps document templates to specific content blocks. Its composite primary key, consisting of DOCUMENT_STRUCTURES_SEQNO and DOCUMENT_HEADINGS_SEQNO, uniquely identifies each structural component within a document heading. Key columns include DOCUMENT_HEADINGS_SEQNO, which links the structure to its parent heading in the GR_DOCUMENT_HEADINGS table. The table also holds foreign key references to other master data entities, such as LABEL_CODE (linking to GR_LABELS_B), PHRASE_CODE (linking to GR_PHRASES_B), and PHRASE_GROUP_CODE (linking to GR_PHRASE_GROUP_CODES). These relationships allow the structure to dynamically incorporate standardized regulatory text, hazard labels, and grouped phrases into the final document output.
Common Use Cases and Queries
This table is central to the generation of Safety Data Sheets (SDS), product labels, and other compliance documents. A primary use case is querying the complete structure for a specific document code to drive a report or print engine. For instance, developers or functional consultants may execute queries to validate or audit document configurations. A typical SQL pattern involves joining to related master data tables to retrieve the full descriptive content for a document's structure:
- SELECT gds.*, gph.phrase_text, glb.label_text FROM gr_document_structures gds LEFT JOIN gr_phrases_b gph ON gds.phrase_code = gph.phrase_code LEFT JOIN gr_labels_b glb ON gds.label_code = glb.label_code WHERE gds.document_headings_seqno = :headings_seqno ORDER BY gds.document_structures_seqno;
This retrieves all structural lines for a document heading in the correct sequence, along with the actual phrase and label text.
Related Objects
The GR_DOCUMENT_STRUCTURES table maintains defined foreign key relationships with several key master data and configuration tables in the GR module, as documented in the ETRM metadata:
- GR_DOCUMENT_HEADINGS: Linked via GR_DOCUMENT_STRUCTURES.DOCUMENT_HEADINGS_SEQNO. This is the primary parent relationship, where each structure detail must belong to a document heading.
- GR_LABELS_B: Linked via GR_DOCUMENT_STRUCTURES.LABEL_CODE. This allows the document structure to incorporate predefined regulatory hazard or warning labels.
- GR_PHRASES_B: Linked via GR_DOCUMENT_STRUCTURES.PHRASE_CODE. This relationship pulls in standardized regulatory phrase text.
- GR_PHRASE_GROUP_CODES: Linked via GR_DOCUMENT_STRUCTURES.PHRASE_GROUP_CODE. This enables the inclusion of a predefined group of related phrases as a single structural element.
These relationships ensure data integrity and enable the assembly of complex documents from reusable, centrally managed components.
-
Table: GR_DOCUMENT_STRUCTURES
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_STRUCTURES, object_name:GR_DOCUMENT_STRUCTURES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the detailed breakdown of how the document will display or print. A row of date format and detailed ingredient, toxic, and exposure information information must be defined in the Document Code entity before structure details are , implementation_dba_data: GR.GR_DOCUMENT_STRUCTURES ,
-
Table: GR_DOCUMENT_STRUCTURES
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_DOCUMENT_STRUCTURES, object_name:GR_DOCUMENT_STRUCTURES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the detailed breakdown of how the document will display or print. A row of date format and detailed ingredient, toxic, and exposure information information must be defined in the Document Code entity before structure details are , implementation_dba_data: GR.GR_DOCUMENT_STRUCTURES ,
-
Table: GR_PHRASE_GROUP_CODES
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_PHRASE_GROUP_CODES, object_name:GR_PHRASE_GROUP_CODES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the Phrase Group Code and Description. , implementation_dba_data: GR.GR_PHRASE_GROUP_CODES ,
-
Table: GR_PHRASE_GROUP_CODES
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_PHRASE_GROUP_CODES, object_name:GR_PHRASE_GROUP_CODES, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the Phrase Group Code and Description. , implementation_dba_data: GR.GR_PHRASE_GROUP_CODES ,
-
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_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_PHRASES_B
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_PHRASES_B, object_name:GR_PHRASES_B, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the high-level information about the Phrase, the Label Code, and the wording that identifies where on the document the phrase normally displays or prints. The default can be overridden when the phrase is attached to an item or a d , implementation_dba_data: GR.GR_PHRASES_B ,
-
Table: GR_LABELS_B
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_LABELS_B, object_name:GR_LABELS_B, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains many label classes, each containing many rows that define the format and text for each line on the document. For example, a label of BOILING will determine how and where the physical characteristics of boiling point display on the , implementation_dba_data: GR.GR_LABELS_B ,
-
Table: GR_LABELS_B
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_LABELS_B, object_name:GR_LABELS_B, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains many label classes, each containing many rows that define the format and text for each line on the document. For example, a label of BOILING will determine how and where the physical characteristics of boiling point display on the , implementation_dba_data: GR.GR_LABELS_B ,
-
Table: GR_PHRASES_B
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_PHRASES_B, object_name:GR_PHRASES_B, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the high-level information about the Phrase, the Label Code, and the wording that identifies where on the document the phrase normally displays or prints. The default can be overridden when the phrase is attached to an item or a d , implementation_dba_data: GR.GR_PHRASES_B ,