FOS_DOC_FLOW_ASSIGNMENT

This table stores the mapping between the source document and the corresponding agreement to that document. Logically, one row will correspond to one financial flow within Supply Chain Financial Orchestration.

Details

  • Schema: FUSION

  • Object owner: FOS

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

FOS_DOC_FLOW_ASSIGNMENT_PK

DOCUMENT_FLOW_ASSIGNMENT_ID

Columns

Name Datatype Length Precision Not-null Comments
DOCUMENT_FLOW_ASSIGNMENT_ID NUMBER 18 Yes This is the primary key and its value is an application generated unique id.
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.
SOURCE_DOCUMENT_ID VARCHAR2 100 Yes The identifier of the source document created for the physical flow.
DOCUMENT_TYPE VARCHAR2 30 Yes The type of the document to which this event belongs. Valid values are contained within the FOS_IMT_DOCUMENT_TYPES, FOS_PROCUREMENT_DOCUMENT_TYPES, and FOS_SHIPMENT_DOCUMENT_TYPES lookup types.
SYSTEM_ID NUMBER 18 Yes The identifier of the source system.
EFFECTIVE_DOCUMENT_DATE DATE Yes Identifies the source document date which has been used to retrieve all agreement related entities which were effective on this date.
AGREEMENT_PTR_ID NUMBER 18 Yes This is a foreign key to the FOS_AGREEMENTS_PTR_F table.
AGREEMENT_TYPE VARCHAR2 30 Yes Represents the type of the agreement. Valid values are contained within the ORA_FOS_AGREEMENT_TYPE_FOR_VAL lookup type.
STATUS VARCHAR2 30 Indicates whether the flow is ready for processing or not. Valid values are contained within the FOS_FLOW_HEADER_STATUS lookup type.
ACTIVATION_DATE TIMESTAMP The date on which the flow has become active. This is when the status was changed to ACTIVE.
DROP_SHIP_FLAG VARCHAR2 1 Yes Flag that indicates whether the flow is a drop ship flow or not.
LINK_TO_DOCUMENT_ID NUMBER 18 For a drop ship flow, this column will contain the second source document id.
ENTERPRISE_ID NUMBER 18 Yes Identifier of Enterprise, used for multi-tenancy partitioning.
EVENT_DATA_ID VARCHAR2 100 Represents the identifier of the event document that initiated the particular task.
EVENT_DEFINITION_ID NUMBER 18 This is a foreign key to the FOS_EVENT_DEFINITIONS_B table.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
fos_flow_instances fos_doc_flow_assignment DOCUMENT_FLOW_ASSIGNMENT_ID

Indexes

Index Uniqueness Tablespace Columns Status
FOS_DOC_FLOW_ASSIGNMENT_N1 Non Unique Default UPPER("SOURCE_DOCUMENT_ID"), UPPER("DOCUMENT_TYPE"), SYSTEM_ID
FOS_DOC_FLOW_ASSIGNMENT_PK Unique Default DOCUMENT_FLOW_ASSIGNMENT_ID
FOS_DOC_FLOW_ASSIGNMENT_U1 Unique Default SOURCE_DOCUMENT_ID, DOCUMENT_TYPE, SYSTEM_ID Obsolete
FOS_DOC_FLOW_ASSIGNMENT_U2 Unique Default SOURCE_DOCUMENT_ID, DOCUMENT_TYPE, SYSTEM_ID, EVENT_DATA_ID, EVENT_DEFINITION_ID