JA_CN_TRX_HEADERS_ALL
This table contains transaction header information.
Details
-
Schema: FUSION
-
Object owner: JA
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
JA_CN_TRX_HEADERS_ALL_PK |
GTA_TRX_HEADER_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| GTA_TRX_HEADER_ID | NUMBER | 18 | Yes | Surrogate key that identifies a row in this table. | |
| 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. | |
| ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
| GTA_TRX_NUMBER | VARCHAR2 | 30 | Yes | Number of a Golden Tax transaction. | |
| GROUP_NUMBER | NUMBER | 18 | Group number of a Golden Tax transaction. | ||
| VERSION | NUMBER | 18 | Yes | Version number of a Golden Tax transaction. | |
| STATUS | VARCHAR2 | 30 | Yes | Status of a Golden Tax transaction. The statuses are DRAFT, CONSOLIDATED, GENERATED, FAILED, COMPLETED and CANCELED. | |
| CONSOLIDATION_FLAG | VARCHAR2 | 1 | Option that indicates the level of consolidation of a transaction. The values are: 0 for a normal transaction; 1 for a consolidated parent transaction; 2 for a consolidated child transaction. | ||
| CONSOLI_PARENT_TRX_HDR_ID | NUMBER | 18 | Consolidation parent transaction header identifier. | ||
| SPLIT_FLAG | VARCHAR2 | 1 | Option to split a Receivables transaction into several Golden Tax transactions during transfer. | ||
| GENERATOR_ID | NUMBER | 18 | Generator identifier for the generator process. | ||
| EXPORT_REQUEST_ID | NUMBER | 18 | Export request identifier for the export process. | ||
| VAT_BATCH_NUMBER | NUMBER | Golden Tax transactions for China VAT invoice batch number. | |||
| RULE_HEADER_ID | NUMBER | 18 | Transfer rule header identifier. | ||
| INVOICE_TYPE | VARCHAR2 | 30 | Lookup code for VAT invoice type. SPECIAL indicates a Special Invoice Type. COMMON indicates a Common Invoice Type. ALL indicates both Common and Special Invoice Types. | ||
| TAX_CODE | VARCHAR2 | 30 | Tax code for a Golden Tax transaction. | ||
| TAX_RATE | NUMBER | Tax rate for a Golden Tax transaction tax. | |||
| SALES_LIST_FLAG | VARCHAR2 | 1 | Option to include a a sales list document with a VAT invoice. | ||
| DESCRIPTION | VARCHAR2 | 240 | Description of a Golden Tax transaction. | ||
| GL_DATE | DATE | Yes | Accounting date of a Golden Tax transaction. | ||
| GL_PERIOD | VARCHAR2 | 15 | Yes | Accounting period of a Golden Tax transaction. | |
| SET_OF_BOOKS_ID | NUMBER | 18 | Yes | Ledger identifier for a Golden Tax transaction. | |
| BILL_TO_CUSTOMER_ID | NUMBER | 18 | Yes | Bill-to customer identifier for a Golden Tax transaction. | |
| BILL_TO_CUSTOMER_NUMBER | VARCHAR2 | 30 | Yes | Bill-to customer account number. | |
| BILL_TO_CUSTOMER_NAME | VARCHAR2 | 360 | Yes | Name of a bill-to customer on a Golden Tax transaction. | |
| TRANSACTION_DATE | DATE | Yes | Date of a Golden Tax transaction. | ||
| RA_TRX_ID | NUMBER | 18 | Receivables transaction identifier. | ||
| RA_TRX_NUMBER | VARCHAR2 | 20 | Number of a Receivables transaction. | ||
| CUSTOMER_ADDRESS_PHONE | VARCHAR2 | 1000 | Address and telephone number of a customer. | ||
| LEGAL_ENTITY_ID | VARCHAR2 | 18 | Yes | Legal entity identifier for a Golden Tax transaction. | |
| FP_TAX_REGISTRATION_NUMBER | VARCHAR2 | 50 | Yes | First party tax registration number. | |
| TP_TAX_REGISTRATION_NUMBER | VARCHAR2 | 50 | Third party tax registration number. | ||
| BANK_ACCOUNT_NAME | VARCHAR2 | 240 | Name of a customer bank account. | ||
| BANK_ACCOUNT_NUMBER | VARCHAR2 | 240 | Number of a customer bank account. | ||
| RA_CURRENCY_CODE | VARCHAR2 | 15 | Golden Tax transactions for China Receivables transaction currency. | ||
| CONVERSION_TYPE | VARCHAR2 | 30 | Conversion type for a Golden Tax transaction. | ||
| CONVERSION_DATE | DATE | Conversion date for a Golden Tax transaction. | |||
| CONVERSION_RATE | NUMBER | Conversion rate for a Golden Tax transaction. | |||
| ORIGINAL_AMOUNT | NUMBER | Original amount of a Receivables transaction. | |||
| RA_DOCUMENT_ID | NUMBER | 18 | Document number of a Golden Tax transaction. | ||
| RA_TRX_BATCH_ID | NUMBER | 18 | Receivables transaction batch identifier. | ||
| RA_TRX_SOURCE_SEQ_ID | NUMBER | 18 | Receivables transaction source sequence identifier. | ||
| RA_TRX_TYPE_SEQ_ID | NUMBER | 18 | Receivables transaction type sequence identifier. | ||
| RA_TRX_CLASS | VARCHAR2 | 10 | Receivables transaction class: Invoice, Credit Memo or Debit Memo. | ||
| PRIMARY_SALESREP_ID | NUMBER | 18 | Primary salesperson identifier. | ||
| REVIEWER_NAME | VARCHAR2 | 30 | Name of the reviewer of a Golden Tax transaction. | ||
| PAYEE_NAME | VARCHAR2 | 30 | Name of the payee of a Golden Tax transaction. | ||
| 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. | ||
| 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. | ||
| ATTRIBUTE_CATEGORY | VARCHAR2 | 150 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
| ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| ja_cn_trx_lines_all | ja_cn_trx_headers_all | GTA_TRX_HEADER_ID |
| ja_cn_vat_headers_all | ja_cn_trx_headers_all | GTA_TRX_HEADER_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| JA_CN_TRX_HEADERS_PK | Unique | FUSION_TS_TX_DATA | GTA_TRX_HEADER_ID |
| JA_CN_TRX_HEADERS_U1 | Unique | FUSION_TS_TX_DATA | GTA_TRX_NUMBER |