PSC_BNP_CSH_DRW_SESS
This table contains cash drawer session information. It is used to capture that a cash drawer session is active.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
| Name | Columns |
|---|---|
|
PSC_BNP_CSH_DRW_SESS_PK |
SESSION_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Status |
|---|---|---|---|---|---|---|
| SESSION_ID | VARCHAR2 | 50 | Yes | Unique identifier for the transaction | Active | |
| CASHIER_ID | VARCHAR2 | 50 | Yes | Attribute identifying the Cashier Id associated with the row. | ||
| USER_NAME | VARCHAR2 | 100 | Yes | Name of the cashier assigned to the cash drawer | Active | |
| DRAWER_ID | VARCHAR2 | 30 | Yes | Unique identifier for the cash drawer | Active | |
| AGENCY_ID | NUMBER | 8 | Yes | Attribute identifying the agency associated with the row | Active | |
| SESSION_STATUS | VARCHAR2 | 10 | Yes | Status of the cash drawer session. Valid values are open, suspended or closed. | Active | |
| CURRENCY_CODE | VARCHAR2 | 3 | Yes | Defines the currency to be used for the amount fields | Active | |
| BEG_BALANCE_AMOUNT | NUMBER | Yes | Amount of funds at the beginning of the cash drawer session | Active | ||
| END_BALANCE_AMOUNT | NUMBER | Amount of funds at the end of the cash drawer session | Active | |||
| START_DATETIME | TIMESTAMP | Date and time value at the start of the cash drawer session | ||||
| END_DATETIME | TIMESTAMP | Date and time value at the end of the cash drawer session | ||||
| 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. | Active | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | Active | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | Active | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| PSC_BNP_CSH_DRW_SESS | psc_bnp_cash_drawer_b | AGENCY_ID, DRAWER_ID |
| psc_bnp_csh_drw_sess_time | psc_bnp_csh_drw_sess | SESSION_ID |
| psc_bnp_csh_drw_pay_hist | psc_bnp_csh_drw_sess | SESSION_ID |
| psc_bnp_csh_drw_pay_hist_b | psc_bnp_csh_drw_sess | SESSION_ID |
| psc_bnp_csh_drw_recon | psc_bnp_csh_drw_sess | SESSION_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns | Status |
|---|---|---|---|---|
| PSC_BNP_CSH_DRW_SESS_PK | Unique | Default | SESSION_ID | Active |