PSC_BNP_CSH_DRW_USR_DRAWER
This table contains cash drawer user drawer definitions. It is used to assign cash drawers assigned to a user. Valid for a user to use.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
| Name | Columns |
|---|---|
|
PSC_BNP_CSH_DRW_USR_DRAWER_PK |
AGENCY_ID, USER_NAME, DRAWER_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Status |
|---|---|---|---|---|---|---|
| AGENCY_ID | NUMBER | 8 | Yes | Attribute identifying the agency associated with the row | Active | |
| 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 | |
| CURRENCY_CODE | VARCHAR2 | 3 | Yes | Currency code in relation to the amount fields | Active | |
| MAX_REFUND_AMOUNT | NUMBER | Yes | Allowed maximum refund amount for the cashier assigned to the cash drawer | Active | ||
| TOLERANCE_AMOUNT | NUMBER | Yes | Overage and shortage limit for the cashier assigned to the cash drawer | 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. | 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_USR_DRAWER | psc_bnp_cash_drawer_b | AGENCY_ID, DRAWER_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns | Status |
|---|---|---|---|---|
| PSC_BNP_CSH_DRW_USR_DRAWER_FK1 | Non Unique | Default | AGENCY_ID, DRAWER_ID | |
| PSC_BNP_CSH_DRW_USR_DRAWER_PK | Unique | Default | AGENCY_ID, USER_NAME, DRAWER_ID | Active |