JA_CN_VAT_LINES_ALL
This table contains VAT invoice line information.
Details
-
Schema: FUSION
-
Object owner: JA
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
JA_CN_VAT_LINES_ALL_PK |
VAT_TRX_LINE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
VAT_TRX_LINE_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. | |
VAT_TRX_HEADER_ID | NUMBER | 18 | Yes | VAT invoice transaction header identifier. | |
GTA_TRX_LINE_ID | NUMBER | 18 | Golden Tax transaction line identifier. | ||
LINE_NUMBER | VARCHAR2 | 30 | Yes | Indicates line number of a VAT invoice. | |
ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
MATCHED_FLAG | VARCHAR2 | 1 | Indicates whether a transaction line is mapped to the VAT invoice line. | ||
ITEM_DESCRIPTION | VARCHAR2 | 240 | Yes | Inventory item description on a VAT invoice line. | |
ITEM_MODEL | VARCHAR2 | 240 | Inventory item model on a VAT invoice line. | ||
ITEM_TAX_DENOMINATION | VARCHAR2 | 240 | Yes | Inventory item tax denomination on a VAT invoice line. | |
TAX_RATE | NUMBER | Yes | Tax rate for a VAT invoice tax. | ||
UOM_NAME | VARCHAR2 | 25 | Unit of measure for an item on a VAT invoice line. | ||
QUANTITY | NUMBER | Quantity of an item on a VAT invoice line. | |||
PRICE_FLAG | VARCHAR2 | 1 | Total price of an item on a VAT invoice line. | ||
UNIT_PRICE | NUMBER | Unit price of an item on a VAT invoice line. | |||
NET_AMOUNT | NUMBER | Amount net of tax of a VAT invoice. | |||
TAX_AMOUNT | NUMBER | Total tax amount of a VAT invoice. | |||
DISCOUNT_FLAG | VARCHAR2 | 1 | Indicates whether the VAT invoice line has a discount. | ||
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_LINES_ALL | ja_cn_vat_headers_all | VAT_TRX_HEADER_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
JA_CN_VAT_LINES_PK | Unique | FUSION_TS_TX_DATA | VAT_TRX_LINE_ID |
JA_CN_VAT_LINES_U1 | Unique | Default | VAT_TRX_HEADER_ID, LINE_NUMBER |