DOO_SALES_CREDITS
This table would contain the sales credits for the sales representative
Details
-
Schema: FUSION
-
Object owner: DOO
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
DOO_SALES_CREDITS_PK |
SALES_CREDIT_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
SALES_CREDIT_ID | NUMBER | 18 | Yes | Unique identifier of the sales credit | |
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. | |
HEADER_ID | NUMBER | 18 | Yes | Reference to the unique identifier for the orchestration order | |
LINE_ID | NUMBER | 18 | Reference to the unique identifier for the orchestration order line | ||
FULFILL_LINE_ID | NUMBER | 18 | Reference to the unique identifier of a fulfillment line | ||
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. | ||
SALESPERSON_ID | NUMBER | 18 | Yes | Sales person identifier | |
PERCENT | NUMBER | Yes | Value to indicate sales credit percent for a sales person | ||
SALES_CREDIT_TYPE_ID | NUMBER | 18 | Stores foreign key to point to sales credit type: Revenue / Non Revenue | ||
ORIG_SYS_SALES_CREDIT_REF | VARCHAR2 | 50 | Stores Original System Sales Credit Reference | ||
REFERENCE_SALES_CREDIT_ID | NUMBER | 18 | Used by change mgmt to associate the change order's sales credit id with the original order's sales credit id. | ||
DELTA_TYPE | NUMBER | 18 | Internal column used by change processing framework for tracking type of change like update, cancel..etc | ||
MODIFIED_FLAG | VARCHAR2 | 1 | Indicates that the row has been modified in the version currently submitted | ||
SALES_CREDIT_TYPE_ID_F | NUMBER | 18 | Fusion value for the Sales Credit Type |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
DOO_SALES_CREDITS | doo_headers_all | HEADER_ID |
DOO_SALES_CREDITS | doo_fulfill_lines_all | FULFILL_LINE_ID |
DOO_SALES_CREDITS | msc_sales_credit_types | SALES_CREDIT_TYPE_ID |
doo_sales_credits_eff_b | doo_sales_credits | SALES_CREDIT_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
DOO_SALES_CREDITS_FK1 | Non Unique | Default | FULFILL_LINE_ID |
DOO_SALES_CREDITS_N1 | Non Unique | Default | LAST_UPDATE_DATE |
DOO_SALES_CREDITS_N2 | Non Unique | Default | REFERENCE_SALES_CREDIT_ID |
DOO_SALES_CREDITS_N3 | Non Unique | Default | HEADER_ID |
DOO_SALES_CREDITS_PK | Unique | Default | SALES_CREDIT_ID |