JA_CN_VAT_LIMITS
This table is used to store VAT limitation information for VAT invoice related setup.
Details
-
Schema: FUSION
-
Object owner: JA
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
JA_CN_VAT_LIMITS_PK |
VAT_LIMITATION_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| VAT_LIMITATION_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. | |
| FP_TAX_REGISTRATION_NUMBER | VARCHAR2 | 50 | Yes | A unique identifier for a party associated with the tax regime and belonging to the selected legal reporting unit. | |
| INVOICE_TYPE | VARCHAR2 | 30 | Yes | 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. | |
| MAX_AMOUNT | NUMBER | Yes | Maximum amount of a single VAT invoice. | ||
| MAX_NUM_OF_LINE | NUMBER | 18 | Yes | Maximum number of lines allowed on a single VAT invoice, which in China is from 1 to 7 lines. | |
| VAT_PARAM_ID | NUMBER | 18 | Yes | Single column foreign key that identifies a row in the VAT parameter table. | |
| 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_LIMITS | ja_cn_vat_param | VAT_PARAM_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| JA_CN_VAT_LIMITS_PK | Unique | Default | VAT_LIMITATION_ID |
| JA_CN_VAT_LIMITS_U1 | Unique | Default | VAT_PARAM_ID, FP_TAX_REGISTRATION_NUMBER, INVOICE_TYPE |