CSE_ASSET_RELATIONSHIPS_HIST
The history on asset relationships is persisted in this table.
Details
-
Schema: FUSION
-
Object owner: CSE
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
CSE_ASSET_RLTNS_HIST_PK |
TRANSACTED_RELATIONSHIP_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TRANSACTED_RELATIONSHIP_ID | NUMBER | 18 | Yes | The primary key. Transaced Relationship Identifier. | |
HISTORY_ACTION_CODE | VARCHAR2 | 30 | The actions that can be performed on the asset relationship. | ||
RELATIONSHIP_ID | NUMBER | 18 | Asset Relationship Identifier. The primary key column. | ||
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. | |
HIERARCHY_ID | NUMBER | 18 | The foreign key reference to the logical hierarchy. | ||
OBJECT_ID | NUMBER | 18 | Parent Asset Reference. Foreign key to the asset entity. | ||
OBJECT_TYPE | VARCHAR2 | 3 | The type of the object reference here. It could be 'A' for Asset or 'G' for Genealogy Object. When the object type is 'A', the object_id column stores the asset_id. When the object type is 'G', the object_id column stores the genealogy_object_id. | ||
RELATIONSHIP_TYPE_CODE | VARCHAR2 | 30 | The type of relationship between the parent asset(object_id) and the child asset(subject_id). | ||
SUBJECT_ID | NUMBER | 18 | Child Asset Reference. Foreign key to the asset entity. | ||
SUBJECT_TYPE | VARCHAR2 | 3 | The type of the subject reference here. It could be 'A' for Asset or 'G' for Genealogy Object. When the subject type is 'A', the subject_id column stores the asset_id. When the subject type is 'G', the subject_id column stores the genealogy_object_id. | ||
POSITION_NUMBER | NUMBER | The position number of the component or the node in the asset logical hierarchy. | |||
POTENTIAL_FLAG | VARCHAR2 | 1 | There are use cases in the Manufacturing flow where a component of relationship is assumed based on the delayed birting point of the assembly serial number. In such cases the component takes on a Many-to-Many relationship with multiple parent serial numbers. These relationships are marked as potential relationships with this flag. | ||
LOGICAL_OBJECT_ID | NUMBER | 18 | A superlative relationship (As Sold Structure) is built using the SubjectID -> LogicalObjectID self hierarchy to present the sales view of the customer assets. This column is used purely for that purpose. | ||
SPLIT_FLAG | VARCHAR2 | 1 | This flag indicates a relationship between genealogy objects, mainly the lots that are split from another. The relationship will be created with the relationship type as "component of", with the split flag set. | ||
MERGE_FLAG | VARCHAR2 | 1 | This flag indicates a relationship between genealogy objects, mainly the lots that are merged to another. The relationship will be created with the relationship type as "component of", with the merge flag set. | ||
TRANSLATE_FLAG | VARCHAR2 | 1 | This flag indicates a relationship between genealogy objects, mainly the lots that are translated to another. The relationship will be created with the relationship type as "component of", with the translate flag set. | ||
ACTIVE_START_DATE | TIMESTAMP | The date when the relation became active. | |||
ACTIVE_END_DATE | TIMESTAMP | The date when the relationship was terminated. | |||
ATTRIBUTE_CATEGORY | VARCHAR2 | 80 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR1 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR2 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR3 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR4 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR5 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR6 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR7 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR8 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR9 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR10 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR11 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR12 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR13 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR14 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR15 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR16 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR17 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR18 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR19 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_CHAR20 | VARCHAR2 | 240 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE_NUMBER1 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER2 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER3 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER4 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER5 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER6 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER7 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER8 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER9 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_NUMBER10 | NUMBER | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_DATE1 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_DATE2 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_DATE3 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_DATE4 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_DATE5 | DATE | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_TIMESTAMP1 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_TIMESTAMP2 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_TIMESTAMP3 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_TIMESTAMP4 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_TIMESTAMP5 | TIMESTAMP | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
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. | ||
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 |
---|---|---|---|
CSE_ASSET_RLTNS_HIST_N01 | Non Unique | Default | OBJECT_ID, OBJECT_TYPE |
CSE_ASSET_RLTNS_HIST_N02 | Non Unique | Default | SUBJECT_ID, SUBJECT_TYPE |
CSE_ASSET_RLTNS_HIST_U01 | Unique | Default | TRANSACTED_RELATIONSHIP_ID |