CMF_LEGAL_DOC_ASSOCIATIONS
This table holds the Legal Documents associated to a given Fiscal Document.
Details
-
Schema: FUSION
-
Object owner: CMF
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
CMF_LEGAL_DOC_ASSOCIATIONS_PK |
LAWSUIT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| LAWSUIT_ID | NUMBER | 18 | Yes | Surrogate key that identifies the lawsuit. | |
| CONCESSION_ACT_ID | VARCHAR2 | 60 | Yes | Identifier of proceeding or concession act. | |
| ORIGIN_OR_PROCEEDING | VARCHAR2 | 30 | Yes | Identifier of the origin or proceeding. Can be one of the next options SEFAZ, Federal Court, State Court, Secex/RFB or others. | |
| DOCUMENT_HEADER_ID | NUMBER | 18 | Yes | Identifier of Fiscal Document Header. | |
| 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. | |
| EXTERNAL_SYSTEM_REFERENCE | VARCHAR2 | 240 | Identifier of the external source system. Is used for backend processing based on the interface records. | ||
| EXTERNAL_SYSTEM_REF_ID | VARCHAR2 | 30 | Stores a value that uniquely identifies a certain instance of an object within the external system. Is used for backend processing based on the interface records. | ||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | ||
| JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. |
Indexes
| Index | Uniqueness | Tablespace | Columns | Status |
|---|---|---|---|---|
| CMF_LEGAL_DOC_ASSOCS_PK | Unique | FUSION_TS_TX_DATA | LAWSUIT_ID | |
| CMF_LEGAL_DOC_ASSOCS_U1 | Unique | FUSION_TS_TX_DATA | CONCESSION_ACT_ID, ORIGIN_OR_PROCEEDING, DOCUMENT_HEADER_ID | Obsolete |