zAR-BIP-staffing-set-days
efacdb_full ยท Custom/model/helper tables
Columns
Full schema, no data mutation.| # | Name | Type | Key | Nullable | Default | Comment |
|---|
| 1 | staffing-day-id | bigint | PRI | NO | - | - |
| 2 | staffingsetid | bigint | MUL | NO | - | - |
| 3 | work-date | date | MUL | NO | - | - |
| 4 | resource-count | int | - | NO | 0 | - |
| 5 | base-hours | decimal(12,2) | - | NO | 0.00 | - |
| 6 | break-hours | decimal(12,2) | - | NO | 0.00 | - |
| 7 | holiday-hours | decimal(12,2) | - | NO | 0.00 | - |
| 8 | sickness-hours | decimal(12,2) | - | NO | 0.00 | - |
| 9 | training-hours | decimal(12,2) | - | NO | 0.00 | - |
| 10 | management-hours | decimal(12,2) | - | NO | 0.00 | - |
| 11 | admin-hours | decimal(12,2) | - | NO | 0.00 | - |
| 12 | other-hours | decimal(12,2) | - | NO | 0.00 | - |
| 13 | unavailable-hours | decimal(12,2) | - | NO | 0.00 | - |
| 14 | net-available-hours | decimal(12,2) | - | NO | 0.00 | - |
| 15 | stores-pre-hours | decimal(12,2) | - | NO | 0.00 | - |
| 16 | stores-post-hours | decimal(12,2) | - | NO | 0.00 | - |
| 17 | hc-assy-pre-hours | decimal(12,2) | - | NO | 0.00 | - |
| 18 | hc-assy-post-hours | decimal(12,2) | - | NO | 0.00 | - |
| 19 | ww-assy-pre-hours | decimal(12,2) | - | NO | 0.00 | - |
| 20 | ww-assy-post-hours | decimal(12,2) | - | NO | 0.00 | - |
| 21 | sheet-metal-pre-hours | decimal(12,2) | - | NO | 0.00 | - |
| 22 | sheet-metal-post-hours | decimal(12,2) | - | NO | 0.00 | - |
| 23 | welding-pre-hours | decimal(12,2) | - | NO | 0.00 | - |
| 24 | welding-post-hours | decimal(12,2) | - | NO | 0.00 | - |
| 25 | machine-shop-pre-hours | decimal(12,2) | - | NO | 0.00 | - |
| 26 | machine-shop-post-hours | decimal(12,2) | - | NO | 0.00 | - |
| 27 | created-at | timestamp | - | NO | CURRENT_TIMESTAMP | - |
Indexes
| Name | Unique | Columns |
|---|
| PRIMARY | Yes | staffing-day-id |
| ux-zar-bip-staffing-day | Yes | staffingsetid, work-date |
| ix-zar-bip-staffing-day-date | No | work-date |
Foreign Keys
EFACS has few enforced keys; many relationships are conventional.| Column | References |
|---|
| No enforced foreign keys found for this table. |