JA_CN_VAT_HEADERS_ALL
This table contains VAT invoice header information.
Details
-
Schema: FUSION
-
Object owner: JA
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
JA_CN_VAT_HEADERS_ALL_PK |
VAT_TRX_HEADER_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
VAT_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. | |
INVOICE_NUMBER | VARCHAR2 | 30 | Yes | Vat invoices for China invoice number. | |
ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
GTA_TRX_HEADER_ID | NUMBER | 18 | Golden Tax transaction header identifier. | ||
GTA_TRX_NUMBER | VARCHAR2 | 30 | Yes | Number of a Golden Tax transaction. | |
FP_TAX_REGISTRATION_NUMBER | VARCHAR2 | 50 | First party tax registration number. | ||
TP_TAX_REGISTRATION_NUMBER | VARCHAR2 | 50 | Third party tax registration number. | ||
INVOICE_DATE | DATE | VAT invoices for China invoice date. | |||
INVOICE_NET_AMOUNT | NUMBER | VAT invoices for China net amount. | |||
INVOICE_TAX_AMOUNT | NUMBER | VAT invoices for China tax amount. | |||
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. | ||
INVOICE_CODE | VARCHAR2 | 12 | VAT invoices for China invoice code. | ||
TAX_RATE | NUMBER | Tax rate for a VAT invoices for China tax. | |||
DESCRIPTION | VARCHAR2 | 240 | Indicates description of a VAT invoice. | ||
ISSUER_NAME | VARCHAR2 | 20 | Name of the issuer of a VAT invoice. | ||
REVIEWER_NAME | VARCHAR2 | 20 | Name of the reviewer of a VAT invoice. | ||
PAYEE_NAME | VARCHAR2 | 20 | Name of the payee of a VAT invoice. | ||
CUSTOMER_NAME | VARCHAR2 | 360 | Name of the customer on a VAT invoice. | ||
CUSTOMER_ADDRESS_PHONE | VARCHAR2 | 1000 | Address and telephone number of a customer. | ||
BANK_ACCOUNT_NAME_NUMBER | VARCHAR2 | 240 | Customer bank account name and number on a VAT invoice. | ||
STATUS | VARCHAR2 | 30 | Yes | Status of a VAT invoice. The statuses are COMPLETED and CANCELED. | |
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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
JA_CN_VAT_HEADERS_ALL | ja_cn_trx_headers_all | GTA_TRX_HEADER_ID |
ja_cn_vat_lines_all | ja_cn_vat_headers_all | VAT_TRX_HEADER_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
JA_CN_VAT_HEADERS_N1 | Non Unique | Default | GTA_TRX_HEADER_ID |
JA_CN_VAT_HEADERS_PK | Unique | Default | VAT_TRX_HEADER_ID |