JL_BR_AR_COMP_INV_ALL
This table contains the complementary invoices.
Details
-
Schema: FUSION
-
Object owner: JL
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
| Name | Columns |
|---|---|
|
JL_BR_AR_COMP_INV_ALL_PK |
COMP_INVOICE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Status |
|---|---|---|---|---|---|---|
| COMP_INVOICE_ID | NUMBER | 18 | Yes | Complementary invoice identifier. | Active | |
| CUSTOMER_TRX_ID | NUMBER | 18 | Yes | Customer transaction identifier on a complementary invoice. | Active | |
| TRX_NUMBER | VARCHAR2 | 20 | Transaction number on a complementary invoice. | Active | ||
| QUANTITY_LINE | NUMBER | Differential line quantity on a complementary invoice. | Active | |||
| UNIT_AMOUNT_LINE | NUMBER | Differential unit amount of line on a complementary invoice. | Active | |||
| TOTAL_AMOUNT_LINE | NUMBER | Differential total amount of line on a complementary invoice. | Active | |||
| IPI_RATE | NUMBER | Differential IPI tax rate on a complementary invoice. | Active | |||
| ICMS_RATE | NUMBER | Differential ICMS tax rate on complementary invoice. | Active | |||
| ICMS_ST_RATE | NUMBER | Differential ICMS_ST tax rate on complementary invoice. | Active | |||
| IR_RATE | NUMBER | Differential income tax rate on a complementary invoice. | Active | |||
| ISS_RATE | NUMBER | Differential tax on services rate on a complementary invoice. | Active | |||
| IPI_AMOUNT_LINE | NUMBER | Differential IPI tax line amount on a complementary invoice. | Active | |||
| IPI_TOTAL_AMOUNT | NUMBER | Differential IPI tax total amount on a complementary invoice. | Active | |||
| ICMS_TOTAL_AMOUNT | NUMBER | Differential ICMS tax total amount on complementary invoice. | Active | |||
| ICMS_ST_TOTAL_AMOUNT | NUMBER | Differential ICMS_ST tax total amount on complementary invoice. | Active | |||
| IR_TOTAL_AMOUNT | NUMBER | Differential income tax total amount on a complementary invoice. | Active | |||
| ISS_TOTAL_AMOUNT | NUMBER | Differential tax on services total amount on a complementary invoice. | Active | |||
| IPI_BASE_AMOUNT | NUMBER | Differential IPI tax base amount on a complementary invoice. | Active | |||
| ICMS_BASE_AMOUNT | NUMBER | Differential ICMS tax base amount on complementary invoice. | Active | |||
| ICMS_ST_BASE_AMOUNT | NUMBER | Differential ICMS_ST tax base amount on complementary invoice. | Active | |||
| IR_BASE_AMOUNT | NUMBER | Differential income tax base amount on a complementary invoice. | Active | |||
| ISS_BASE_AMOUNT | NUMBER | Differential tax on services base amount on a complementary invoice. | Active | |||
| FREIGHT_AMOUNT | NUMBER | Differential freight expense amount on a complementary invoice. | Active | |||
| INSURANCE_AMOUNT | NUMBER | Differential insurance expense amount on a complementary invoice. | Active | |||
| OTHER_EXPENSES_AMOUNT | NUMBER | Differential other expense amount on a complementary invoice. | Active | |||
| PRODUCT_TOTAL_AMOUNT | NUMBER | Differential product total amount on a complementary invoice. | Active | |||
| INVOICE_TOTAL_AMOUNT | NUMBER | Differential invoice total amount on a complementary invoice. | Active | |||
| PRINTING_COUNT | NUMBER | Number of times an invoice has been printed. NULL indicates that this invoice has not been printed. | Active | |||
| ISSUE_DATE | DATE | Issue date of a complementary invoice. | Active | |||
| CUSTOMER_TRX_LINE_ID | NUMBER | 18 | Customer transaction line identifier. | Active | ||
| ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | Active | |
| COMMENTS | VARCHAR2 | 240 | User-entered commentary on complementary invoice. | Active | ||
| ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | Active | ||
| 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_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. | ||||
| ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | Active | ||
| LEGAL_MESSAGE_1 | VARCHAR2 | 150 | Legal justification message 1 on a complementary invoice. | Active | ||
| LEGAL_MESSAGE_2 | VARCHAR2 | 150 | Legal justification message 2 on a complementary invoice. | Active | ||
| LEGAL_MESSAGE_3 | VARCHAR2 | 150 | Legal justification message 3 on a complementary invoice. | Active | ||
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | Active | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | Active | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active | ||
| 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| JL_BR_AR_COMP_INV_ALL | ra_customer_trx_lines_all | CUSTOMER_TRX_LINE_ID |
| JL_BR_AR_COMP_INV_ALL | ra_customer_trx_all | CUSTOMER_TRX_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns | Status |
|---|---|---|---|---|
| JL_BR_AR_COMP_INV_U1 | Unique | FUSION_TS_TX_DATA | COMP_INVOICE_ID | Active |