EGI_SUBSCRIPTIONS_B
Table to store details of subscription sent to data pools.
Details
-
Schema: FUSION
-
Object owner: EGI
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
EGI_SUBSCRIPTIONS_B_PK |
SUBSCRIPTION_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
SUBSCRIPTION_ID | NUMBER | 18 | Yes | Unique identifier for a subscription | |
SUPPLIER_ID | NUMBER | 18 | Supplier Identification Number on batch options page. | ||
SUBSCRIPTION_DESTINATION | VARCHAR2 | 10 | Attribute that specified the destination of the subscription. | ||
SUBSCRIPTION_NUMBER | VARCHAR2 | 80 | Yes | Unique number for a subscription.This number is retained when subscriptions are migrated across PIM instances. | |
GTIN_NUMBER | VARCHAR2 | 14 | GTIN of the item which we want as part of payload. | ||
SUBSCRIPTION_MODE | VARCHAR2 | 120 | iIicated whether the subscription mode is one time or recurring | ||
SUBSCRIPTION_TYPE | VARCHAR2 | 120 | Indicates whether the subscription is subscribed or unsubscribed | ||
SUBSCRIPTION_STATUS | VARCHAR2 | 120 | Indicates status of subscription ie open/in progress/success/failure | ||
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. | |
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. | ||
GLOBAL_LOCATION_NUMBER | VARCHAR2 | 13 | Indicates unique 13 digit GLOBAL LOCATION NUMBER of the supplier from whom we want the item information. | ||
CATEGORY_ID | NUMBER | 18 | GPC from which we want the item information. Foreign key to Categories table. | ||
ORGANIZATION_ID | NUMBER | 18 | Target Market from which we want the item information. Foreign key to Organizations table. | ||
RELOAD_FULL_FLAG | VARCHAR2 | 1 | If RFCIN, do we want all matching items, or ignore items rejected in the past | ||
DATE_SUBMITTED | TIMESTAMP | Inidicates when the Subscription was submitted | |||
ERROR_CODE | VARCHAR2 | 30 | Indicates the error code returned by GDSN. | ||
ACK_DETAIL | VARCHAR2 | 2000 | Acknowledgement details recieved from GDSN |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
egi_notifications | egi_subscriptions_b | SUBSCRIPTION_ID |
egi_subscription_gtins | egi_subscriptions_b | SUBSCRIPTION_ID |
egi_subscriptions_tl | egi_subscriptions_b | SUBSCRIPTION_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
EGI_SUBSCRIPTIONS_B_N1 | Non Unique | Default | GLOBAL_LOCATION_NUMBER, ORGANIZATION_ID |
EGI_SUBSCRIPTIONS_B_N2 | Non Unique | Default | GTIN_NUMBER, CATEGORY_ID |
EGI_SUBSCRIPTIONS_B_N3 | Non Unique | Default | SUBSCRIPTION_STATUS |
EGI_SUBSCRIPTIONS_B_PK | Unique | Default | SUBSCRIPTION_ID |
EGI_SUBSCRIPTIONS_B_U1 | Unique | Default | SUBSCRIPTION_NUMBER |