CCJOBINVOICE
| Column name | Data type | Char length | Comment |
|---|---|---|---|
|
CLIENT_CODE |
VARCHAR2 |
40 |
The associated client code. Part of the table's business key. |
|
CLIENT_LAB_CODE |
VARCHAR2 |
20 |
The associated client's laboratory scope. Part of the table's business key. |
|
CONTACT_CODE |
VARCHAR2 |
20 |
The associated contact code. |
|
CREATION_DATE |
CHAR |
8 |
Record's creation date as a string in YYMMDD format. |
|
CREATION_TIME |
CHAR |
6 |
Record's creation time as a string in HHMMSS format. |
|
CREATION_USER |
VARCHAR2 |
255 |
Record was created by this user. |
|
DESCRIPTION |
VARCHAR2 |
100 |
Job invoice's description. |
|
DISCOUNT |
NUMBER |
0 |
An invoice discount percentage that is applied to the pricing items, initially inherited from either the client or the project. |
|
GENERIC_DISCOUNT |
NUMBER |
0 |
A discount percentage that is applied to the whole invoice, on top of any line item discount. |
|
INVOICE_CURRENCY |
CHAR |
3 |
The currency to use. |
|
INVOICE_LAB_CODE |
VARCHAR2 |
20 |
The associated invoice's laboratory scope. Legacy column; please use JOB_LAB_CODE instead. |
|
INVOICE_NO |
VARCHAR2 |
20 |
The generated invoice number. |
|
IS_ACTIVE |
CHAR |
1 |
A boolean flag to indicate whether a job invoice is active or not. |
|
IS_PRIMARY_JOB |
CHAR |
1 |
A boolean flag to mark a job invoice as the primary job invoice within an invoice. Primarily used for merged invoices. |
|
JOB_CODE |
VARCHAR2 |
20 |
The associated job code. Part of the table's business key. |
|
JOB_INVOICE_SEQUENCE |
NUMBER |
0 |
An incrementing number for job invoices within a job. Part of the table's business key. |
|
JOB_LAB_CODE |
VARCHAR2 |
20 |
The associated job's laboratory scope. Part of the table's business key. |
|
LAST_MOD_DATE |
CHAR |
8 |
Record's last modification date as a string in YYMMDD format. |
|
LAST_MOD_TIME |
CHAR |
6 |
Record's last modification time as a string in HHMMSS format. |
|
LAST_MOD_USER |
VARCHAR2 |
255 |
Record was last modified by this user. |
|
ORG_CODE |
VARCHAR2 |
20 |
Organisation scope. Part of the table's business key. |
|
PRICE_BOOK_CODE |
VARCHAR2 |
20 |
The associated price book. |
|
PRICE_BOOK_LAB_CODE |
VARCHAR2 |
20 |
The associated price book's laboratory scope. |
|
PRICE_BOOK_SEQUENCE |
NUMBER |
0 |
The associated price book's sequence within its price catalogue. |
|
PROJECT_CODE |
VARCHAR2 |
40 |
The associated project code. |
|
QUOTE_CODE |
VARCHAR2 |
20 |
The associated quote code. |
|
QUOTE_LAB_CODE |
VARCHAR2 |
20 |
The associated quote's laboratory scope. |
|
SAMPLES_TESTS_LOCK_FOR_UPDATE |
CHAR |
1 |
A boolean flag to indicate whether modifications to a job invoice's samples and tests should be allowed or not. |
|
SEQUENCE |
NUMBER |
0 |
An incrementing number for job invoices within a job. |
|
SPLIT_CODE |
VARCHAR2 |
20 |
The associated split code. |
|
SPLIT_LAB_CODE |
VARCHAR2 |
20 |
The associated split code's laboratory scope. |
|
UPDATE_LATEST_PRICEBOOK |
CHAR |
1 |
For use in template jobs. A boolean flag to indicate whether the latest price book should always be used. |
