JE_FR_DAS2_ETB_HEADERS_T

This table will be used to store the header information for an establishment.

Details

  • Schema: FUSION

  • Object owner: JE

  • Object type: TABLE

  • Tablespace: INTERFACE

Primary Key

Name Columns

JE_FR_DAS2_ETB_HEADERS_T_PK

ETB_HEADER_ID

Columns

Name Datatype Length Precision Not-null Comments
LEGAL_ENTITY_ID NUMBER 18 Yes Legal entity identifier
LOCATION_ID NUMBER 18 HR Location ID
ETB_HEADER_ID NUMBER 18 Yes Legal Reporting Entity header identifier
PROGRAM_NAME VARCHAR2 30 Identifies the concurrent program
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.
PROGRAM_APP_NAME VARCHAR2 50 Identifies the Application name spawning the Concurrent Request
ESTABLISHMENT_ID NUMBER 18 Yes Establishment identifier
SET_OF_BOOKS_ID NUMBER 18 Yes Accounting books defining column
SIREN_ETAB NUMBER 9 1st nine digits of tax registration number of Legal Entity
NIC_ETAB NUMBER 5 Five digits (from tenth position) of Tax Registration Number of Legal Entity and Legal Reporting Unit
SECTION_DAS VARCHAR2 2 String "00"
VALIDITE NUMBER 4 Value entered for the year parameter of the French DAS2 Verification report
TYPE_DAS VARCHAR2 1 String "4" or "5"
TYPE_ENREG VARCHAR2 3 String "020"
Z01_94_1 VARCHAR2 14 Space
CODE_APE VARCHAR2 5 Space
Z01_94_2 VARCHAR2 1 Space
SIRET_01_JAN NUMBER 9 Value "0"
NIC_01_JAN NUMBER 5 Value "0"
Z02 VARCHAR2 41 Space
RAISON_SOCIALE VARCHAR2 50 Location code of legal entity
ADR_COMPL VARCHAR2 32 Space
Z1 VARCHAR2 1 Space
ADR_CONCAT VARCHAR2 64 Concatenation of first and second line of location address of Legal Reporting Entity
ADR_INSEE VARCHAR2 5 String "00000"
Z3 VARCHAR2 1 Space
ADR_COMMUNE VARCHAR2 26 Town or city of location address of legal entity
ADR_CPOSTAL VARCHAR2 5 Postal code of location address of legal entity
Z4 VARCHAR2 1 Space
ADR_BUR_DIST VARCHAR2 26 Town or city of location address of legal entity
PROFESSION VARCHAR2 40 Space
Z5 VARCHAR2 53 Space
CODE_TAXE_SAL VARCHAR2 1 Salary tax code
Z6 VARCHAR2 301 Space
NUM_ENR NUMBER 6 Not currently used
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.

Foreign Keys

Table Foreign Table Foreign Key Column
JE_FR_DAS2_ETB_HEADERS_T gl_ledgers SET_OF_BOOKS_ID
JE_FR_DAS2_ETB_HEADERS_T xle_etb_profiles ESTABLISHMENT_ID
JE_FR_DAS2_ETB_HEADERS_T xle_entity_profiles LEGAL_ENTITY_ID

Indexes

Index Uniqueness Tablespace Columns
JE_FR_DAS2_ETB_HEADERS_T_N1 Non Unique Default LEGAL_ENTITY_ID, ESTABLISHMENT_ID
JE_FR_DAS2_ETB_HEADERS_T_U1 Unique Default ETB_HEADER_ID