PSC_BNP_BILLING_HIST_INT
Temporary table to store bill record data.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: INTERFACE
Primary Key
| Name | Columns |
|---|---|
|
psc_bnp_billing_hist_int_PK |
TRANSACTION_ORIGIN, CLASSIFICATION, RECORD_TYPE_ID, RECORD_KEY, FEE_RECORD_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| BILLING_HEADER_KEY | NUMBER | 18 | Unique Identifier for the billing record. | ||
| BILLING_LINE_KEY | NUMBER | 18 | Unique identifier of the billing line. | ||
| BILLING_HEADER_ID | VARCHAR2 | 50 | Unique reference value created and passed to receivables. | ||
| AGENCY_ID | NUMBER | 8 | Yes | Unique identifier of the agency associated with billing account. | |
| BILLING_ACCOUNT_KEY | NUMBER | 18 | Unique identifier for the billing account. | ||
| BILLING_ACCOUNT_NUMBER | VARCHAR2 | 50 | Yes | Unique reference value associated with the billing account | |
| BILLING_ADDRESS_KEY | NUMBER | 18 | Yes | Unique identifier for the billing account site. | |
| TRANSACTION_ORIGIN | VARCHAR2 | 30 | Yes | Indicates origin of the billing record. | |
| CLASSIFICATION | VARCHAR2 | 3 | Yes | Classification passed from the source application. | |
| RECORD_TYPE_ID | VARCHAR2 | 50 | Yes | The type of record passed from the source application. | |
| RECORD_KEY | NUMBER | 18 | Yes | Unique identifier for the source record. | |
| RECORD_ID | VARCHAR2 | 50 | Yes | Unique reference values assigned to the source record. | |
| FEE_RECORD_KEY | NUMBER | 18 | Yes | Unique identifier for fee record. | |
| FEE_ITEM_ID | VARCHAR2 | 30 | Fee Item from the common fee item table. | ||
| DEPARTMENT_ID | VARCHAR2 | 30 | Department ID specified at the fee item or record type. | ||
| BILL_TYPE | VARCHAR2 | 15 | Yes | Bill type associated with the fee record. | |
| CURRENCY_CODE | VARCHAR2 | 3 | Yes | Currency of the fee amount. | |
| QUANTITY | NUMBER | Unit quantity. | |||
| PRICE | NUMBER | Unit price. | |||
| LINE_AMOUNT | NUMBER | Yes | Bill line amount. | ||
| PAID_AMOUNT | NUMBER | Amount paid for the bill line. | |||
| PAID_AMOUNT_AR | NUMBER | Amount paid registered in AR system. | |||
| BALANCE_AMOUNT | NUMBER | Unpaid amount for the bill line. | |||
| BALANCE_AMOUNT_AR | NUMBER | Balance amount from AR system. | |||
| ADJUSTMENT_AMOUNT | NUMBER | Adjustment amount. | |||
| ADJUSTMENT_AMOUNT_AR | NUMBER | Adjustment amount from AR system. | |||
| DISPUTE_AMOUNT | NUMBER | Dispute amount. | |||
| DISPUTE_AMOUNT_AR | NUMBER | Dispute amount from AR system. | |||
| CREDIT_AMOUNT | NUMBER | Credit amount. | |||
| CREDIT_AMOUNT_AR | NUMBER | Credit amount from AR system. | |||
| DISCOUNT_AMOUNT | NUMBER | Discount amount. | |||
| DISCOUNT_AMOUNT_AR | NUMBER | Discount amount from AR system. | |||
| ALLOCATED_AMOUNT | NUMBER | Allocated amount. | |||
| ALLOCATED_AMOUNT_AR | NUMBER | Allocated amount from AR. | |||
| ASSESSED_DATE | DATE | The date on which the fee is assessed. | |||
| DUE_DATE | DATE | The date on which the fee is due. | |||
| BILL_PERIOD_END_DATE | DATE | The end date of the billing period. | |||
| PREVIOUS_BILLING_HEADER_KEY | NUMBER | 18 | Unique identifier of the billing header associated with previous bill. | ||
| PREVIOUS_BILLING_HEADER_ID | VARCHAR2 | 50 | Unique reference value of previous bill passed to receivables. | ||
| PREVIOUS_BILLING_LINE_KEY | NUMBER | 18 | Unique identifier of the billing line associated with previous bill. | ||
| CUSTOMER_TRX_ID | NUMBER | 18 | Identifier on an invoice in Fusion Receivables. | ||
| CUSTOMER_TRX_LINE_ID | NUMBER | 18 | Identifier on an invoice line in Fusion Receivables. | ||
| FEE_STATUS | VARCHAR2 | 30 | Fee status | ||
| UPDATE_FEE_FLAG | VARCHAR2 | 3 | Marking fees to be updated. | ||
| SYNCH_STATUS | VARCHAR2 | 30 | Fee status | ||
| PAYMENT_METHOD_CODE | VARCHAR2 | 30 | Payment Method Code | ||
| LAST_POSTMARK_DATE | DATE | Last Postmark Date | |||
| LAST_PAYMENT_DATE | DATE | Last Payment Date | |||
| LAST_SYNC_DATE | TIMESTAMP | Last Sync Date | |||
| MEMO_LINE_SEQ_ID | NUMBER | 18 | Memo line identifier on an invoice line in Fusion Receivables. | ||
| TERM_ID | NUMBER | 18 | Payment terms applicable to a fee item that assessed and due in Fusion Receivables. | ||
| PREVIOUS_CUSTOMER_TRX_ID | NUMBER | 18 | Previous identifier on an invoice in Fusion Receivables. | ||
| PREVIOUS_CUSTOMER_TRX_LINE_ID | NUMBER | 18 | Previous identifier on an invoice line in Fusion Receivables. | ||
| DESCRIPTION | VARCHAR2 | 100 | Description of the fee passed from the source application. | ||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| 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. | |
| 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. | ||
| COMPLETE_FLAG | VARCHAR2 | 1 | Indicates the fee is fully paid. | ||
| INVOICE_STATUS | VARCHAR2 | 30 | Indicates if the fee is open (OP) or closed (CL). |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| psc_bnp_billing_hist_int_N1 | Non Unique | psc_bnp_billing_hist_int_N1 | "BILLING_ACCOUNT_NUMBER" |
| psc_bnp_billing_hist_int_PK | Unique | psc_bnp_billing_hist_int_PK | TRANSACTION_ORIGIN, CLASSIFICATION, RECORD_TYPE_ID, RECORD_KEY, FEE_RECORD_KEY |