CJM_DOCUMENT_HEADERS_ALL
This table contains details of the channel document header.
Details
-
Schema: FUSION
-
Object owner: CJM
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
CJM_DOCUMENT_HEADERS_ALL_PK |
DOCUMENT_HEADER_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
DOCUMENT_HEADER_ID | NUMBER | 18 | Yes | Unique identifier for the document header created in the system. | ||
DOCUMENT_TYPE_CODE | VARCHAR2 | 30 | Indicates the document type.Possible values are PO_RECEIPT, SUPPLIER_INVOICE, SALES_ORDER. | |||
DOCUMENT_ID | NUMBER | 18 | Indicates the internal identifier for the document type. | |||
DOCUMENT_NUMBER | VARCHAR2 | 50 | Document number of the channel document. | |||
DOCUMENT_CURRENCY_CODE | VARCHAR2 | 15 | Indicates the currency code of the document. | |||
BU_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | ||
INVENTORY_ORGANIZATION_ID | NUMBER | 18 | Unique identifier of the inventory organization. | Obsolete | ||
RECEIVING_INVENTORY_ORG_ID | NUMBER | 18 | Unique identifier for the receiving inventory organization. | |||
VENDOR_ID | NUMBER | 18 | Unique identifier for the supplier associated with the document. | |||
VENDOR_SITE_ID | NUMBER | 18 | Unique identifier for the supplier site associated with the document. | |||
SHIPMENT_NUMBER | VARCHAR2 | 30 | Receipt shipment number assigned by the shipment's source. | |||
SHIPPED_DATE | DATE | Date when the shipment was created. | ||||
WAYBILL_NUMBER | VARCHAR2 | 30 | Waybill or airbill receipt number. | |||
BILL_OF_LADING | VARCHAR2 | 25 | Bill of lading number from the receipt. | |||
COMMENTS | VARCHAR2 | 4000 | Free-form text that can be used to capture any high-level information about the document. | |||
DOCUMENT_DATE | DATE | Document date of the channel document. | ||||
DOCUMENT_TRX_TYPE_CODE | VARCHAR2 | 60 | Transaction type code of the document. | |||
ORIG_SYSTEM_SOURCE | VARCHAR2 | 240 | Source information of the originating system. | |||
DATA_SOURCE_CODE | VARCHAR2 | 30 | Indicates the source of document batch data. Values are from the lookup ORA_CJM_BATCH_DATA_SOURCE. | |||
SOLD_TO_CUSTOMER_ID | NUMBER | 18 | Unique identifier for the sold-to customer. | |||
SOLD_TO_SITE_USE_ID | NUMBER | 18 | Use identifier of the sold-to site. | |||
BILL_TO_CUSTOMER_ID | NUMBER | 18 | Unique identifier for the bill-to customer. | |||
BILL_TO_CUST_ACCOUNT_ID | NUMBER | 18 | Unique identifier for the bill-to customer account. | |||
BILL_TO_SITE_USE_ID | NUMBER | 18 | Unique identifier for the bill-to site use for the selected customer account site. | |||
ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR16 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR17 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR18 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR19 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | |||
ATTRIBUTE_CHAR20 | VARCHAR2 | 150 | 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. | ||||
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. | |||
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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
cjm_document_lines_all | cjm_document_headers_all | DOCUMENT_HEADER_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CJM_DOCUMENT_HEADERS_ALL_N1 | Non Unique | Default | BU_ID |
CJM_DOCUMENT_HEADERS_ALL_N2 | Non Unique | Default | DOCUMENT_NUMBER |
CJM_DOCUMENT_HEADERS_ALL_U1 | Unique | Default | DOCUMENT_HEADER_ID |