Table 5520 "Unplanned Demand"
Base Application · Microsoft.Inventory.Planning
Across versions
- BC23present
- BC24declaration changed
- BC251 events added
- BC26declaration changed
- BC27unchanged
- BC283 fields changed, 1 fields added
- BC29-30unchanged
Neighbourhood 8 connected objects and pages
Base Application · Microsoft.Inventory.Planning · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Unplanned Demand |
| DataClassification | CustomerContent |
| Permissions | TableData “Sales Header” = r, TableData Job = r |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Demand Type | Enum “Unplanned Demand Type” | — | enum Enum 5520 “Unplanned Demand Type”; not editable |
| 2 | Demand SubType | Option | — | OptionCaption: 0,1,2,3,4,5,6,7,8,9; not editable |
| 4 | Demand Order No. | Code[20] | — | not editable |
| 5 | Demand Line No. | Integer | — | |
| 6 | Demand Ref. No. | Integer | — | |
| 7 | Sell-to Customer No. | Code[20] | — | not editable |
| 8 | Description | Text[100] | — | not editable |
| 9 | Demand Date | Date | — | not editable |
| 10 | Status | Option | — | OptionCaption: 0,1,2,3,4,5,6,7,8,9,10; not editable |
| 13 | Item No. | Code[20] | — | |
| 14 | Variant Code | Code[10] | — | |
| 15 | Location Code | Code[10] | — | |
| 16 | Quantity (Base) Δ BC28 | Decimal | — | |
| 17 | Level | Integer | — | |
| 18 | Bin Code | Code[20] | — | TableRelation Table 7354 “Bin” (Bin.Code where(“Location Code” = field(“Location Code”), “Item Filter” = field(“Item No.”), “Variant Filter” = field(“Variant Code”))) |
| 19 | Qty. per Unit of Measure Δ BC28 | Decimal | — | not editable |
| 20 | Unit of Measure Code | Code[10] | — | TableRelation Table 5404 “Item Unit of Measure” (“Item Unit of Measure”.Code where(“Item No.” = field(“Item No.”))) |
| 21 | Reserve | Boolean | — | |
| 22 | Needed Qty. (Base) Δ BC28 | Decimal | — | |
| 23 | Special Order | Boolean | — | |
| 24 | Purchasing Code | Code[10] | — | |
| 25 | Drop Shipment + BC28 | Boolean | — |
Keys
- Key1: Demand Type, Demand SubType, Demand Order No., Demand Line No., Demand Ref. No. (clustered)
- Key2: Demand Date, Level
- Key3: Item No., Variant Code, Location Code, Demand Date
Events published
OnValidateDemandOrderNoOnGetSourceFields(var UnplannedDemand: Record "Unplanned Demand")+ BC25 (integration)- subscribers: Codeunit 99000850 “Sales Line-Planning” OnValidateDemandOrderNoOnGetSourceFields, Codeunit 99000851 “Assembly Line-Planning” OnValidateDemandOrderNoOnGetSourceFields, Codeunit 99000852 “Job Planning Line-Planning” OnValidateDemandOrderNoOnGetSourceFields, Codeunit 99000853 “Service Line-Planning” OnValidateDemandOrderNoOnGetSourceFields, Codeunit 99000857 “Prod. Order Line-Planning” OnValidateDemandOrderNoOnGetSourceFields
Procedures
InitRecord(DemandLineNo: Integer; DemandRefNo: Integer; ItemNo: Code[20]; ItemDescription: Text[100]; VariantCode: Code[10]; LocationCode: Code[10]; BinCode: Code[20]; UoMCode: Code[10]; QtyPerUoM: Decimal; QtyBase: Decimal; DemandDate: Date)
Relations
- Unit of Measure Code: TableRelation Table 5404 “Item Unit of Measure”
- Bin Code: TableRelation Table 7354 “Bin”
Pages and codeunits on this table
- Codeunit 5520 “Get Unplanned Demand” (codeunit runs on it)
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Unplanned Demand"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.