{"title":"Page 2901 Demand Forecast Card, extension points 29","url":"https://jonas-paprotka.de/ref/page/2901-demand-forecast-card/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":2901,"name":"Demand Forecast Card","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/2901-demand-forecast-card/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/2901-demand-forecast-card/source/","path":"src/Layers/W1/BaseApp/Inventory/Forecast/DemandForecastCard.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:99000851":{"name":"Production Forecast Name","url":"https://jonas-paprotka.de/ref/table/99000851-production-forecast-name/"},"codeunit:41":{"name":"Filter Tokens","url":"https://jonas-paprotka.de/ref/codeunit/41-filter-tokens/"},"codeunit:1530":{"name":"Request Page Parameters Helper","url":"https://jonas-paprotka.de/ref/codeunit/1530-request-page-parameters-helper/"},"page:15":{"name":"Location List","url":"https://jonas-paprotka.de/ref/page/15-location-list/"},"page:5401":{"name":"Item Variants","url":"https://jonas-paprotka.de/ref/page/5401-item-variants/"},"codeunit:9200":{"name":"Matrix Management","url":"https://jonas-paprotka.de/ref/codeunit/9200-matrix-management/"}},"procs":[{"name":"Name.OnValidate","line":32,"kind":"trigger","steps":[[34,"call","SetMatrix",0]]},{"name":"View By.OnValidate","line":48,"kind":"trigger","steps":[[50,"call","SetMatrixColumns",1]]},{"name":"Quantity Type.OnValidate","line":57,"kind":"trigger","steps":[[59,"call","SetMatrix",0]]},{"name":"Forecast Type.OnValidate","line":67,"kind":"trigger","steps":[[69,"call","SetMatrix",0]]},{"name":"Item Filter.OnDrillDown","line":79,"kind":"trigger","steps":[[86,"call","ItemFilterDrillDown",1],[86,"ext","table",99000851,"GetItemFilterBlobAsText",0],[88,"ext","table",99000851,"SetTextFilterToItemFilterBlob",1],[89,"write",99000851,"Modify"],[90,"ext","table",99000851,"GetItemFilterAsDisplayText",0],[91,"call","SetMatrix",0]]},{"name":"Forecast By Locations.OnValidate","line":101,"kind":"trigger","steps":[[106,"call","SetMatrix",0]]},{"name":"Location Filter.OnLookup","line":118,"kind":"trigger","steps":[[120,"call","OnLookupLocationFilter",2]]},{"name":"Location Filter.OnValidate","line":123,"kind":"trigger","steps":[[129,"ext","table",99000851,"SetTextFilterToLocationBlob",1],[130,"write",99000851,"Modify"],[131,"call","SetMatrix",0]]},{"name":"Forecast By Variants.OnValidate","line":140,"kind":"trigger","steps":[[145,"call","SetMatrix",0]]},{"name":"Variant Filter.OnLookup","line":157,"kind":"trigger","steps":[[159,"call","OnLookupVariantFilter",1]]},{"name":"Variant Filter.OnValidate","line":162,"kind":"trigger","steps":[[168,"ext","table",99000851,"SetTextFilterToVariantFilterBlob",1],[169,"write",99000851,"Modify"],[170,"call","SetMatrix",0]]},{"name":"Date Filter.OnValidate","line":179,"kind":"trigger","steps":[[185,"ext","codeunit",41,"MakeDateFilter",1],[187,"call","SetMatrixColumns",1]]},{"name":"Previous Set.OnAction","line":223,"kind":"trigger","steps":[[225,"call","SetMatrixColumns",1]]},{"name":"Previous Column.OnAction","line":235,"kind":"trigger","steps":[[237,"call","SetMatrixColumns",1]]},{"name":"Next Column.OnAction","line":247,"kind":"trigger","steps":[[249,"call","SetMatrixColumns",1]]},{"name":"Next Set.OnAction","line":259,"kind":"trigger","steps":[[261,"call","SetMatrixColumns",1]]},{"name":"OnOpenPage","line":287,"kind":"trigger","steps":[[290,"ext","table",99000851,"CheckDateFilterIsValid",0],[291,"call","SetMatrixColumns",1]]},{"name":"Category_Process.OnAfterGetRecord","line":294,"kind":"trigger","steps":[[297,"ext","table",99000851,"GetItemFilterAsDisplayText",0],[298,"ext","table",99000851,"GetLocationFilterBlobAsText",0],[299,"ext","table",99000851,"GetVariantFilterBlobAsText",0],[304,"call","SetMatrix",0]]},{"name":"ItemFilterDrillDown","line":333,"kind":"procedure","access":"local","params":1,"steps":[[341,"ext","codeunit",1530,"BuildDynamicRequestPage",3],[342,"ext","codeunit",1530,"SetViewOnDynamicRequestPage",4],[346,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3]]},{"name":"OnLookupLocationFilter","line":349,"kind":"procedure","access":"local","params":2,"steps":[[365,"ext","page",15,"GetSelectionFilter",0]]},{"name":"OnLookupVariantFilter","line":370,"kind":"procedure","access":"local","params":1,"steps":[[380,"ext","page",5401,"GetSelectionFilter",0]]},{"name":"SetMatrixColumns","line":385,"kind":"procedure","access":"protected","params":1,"steps":[[389,"ext","codeunit",9200,"GeneratePeriodMatrixData",10],[390,"call","SetMatrix",0]]},{"name":"SetMatrix","line":393,"kind":"procedure","access":"protected","params":0,"steps":[[395,"event","OnBeforeSetMatrix",0],[396,"ext","table",99000851,"GetItemFilterBlobAsViewFilters",0],[396,"ext","table",99000851,"GetLocationFilterBlobAsText",0],[396,"ext","table",99000851,"GetVariantFilterBlobAsText",0]]}]}