zAR-BIP-model-run-demand-orders
efacdb_full ยท Custom/model/helper tables
Columns
Full schema, no data mutation.| # | Name | Type | Key | Nullable | Default | Comment |
|---|
| 1 | demand-row-id | bigint | PRI | NO | - | - |
| 2 | modelrunid | bigint | MUL | NO | - | - |
| 3 | scenario-number | int | - | NO | - | - |
| 4 | source-set-id | bigint | - | YES | - | - |
| 5 | orderid | varchar(40) | - | NO | - | - |
| 6 | itemnumber | int | - | NO | 1 | - |
| 7 | partid | varchar(30) | - | NO | - | - |
| 8 | quantity | double | - | NO | 0 | - |
| 9 | created-date | date | - | NO | - | - |
| 10 | duedate | date | - | NO | - | - |
| 11 | wholesale-price | decimal(14,4) | - | NO | 0.0000 | - |
| 12 | wholesale-value | decimal(14,4) | - | NO | 0.0000 | - |
| 13 | generator-lead-days | int | - | YES | - | - |
| 14 | source | varchar(40) | - | NO | demand-generator | - |
| 15 | created-at | timestamp | - | NO | CURRENT_TIMESTAMP | - |
Indexes
| Name | Unique | Columns |
|---|
| PRIMARY | Yes | demand-row-id |
| ix-zar-bip-model-demand-part | No | modelrunid, partid |
| ix-zar-bip-model-demand-run | No | modelrunid, scenario-number, created-date |
Foreign Keys
EFACS has few enforced keys; many relationships are conventional.| Column | References |
|---|
| No enforced foreign keys found for this table. |