{"title":"Report 698 Get Sales Orders, extension points 29","url":"https://jonas-paprotka.de/ref/report/698-get-sales-orders/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":"report","id":698,"name":"Get Sales Orders","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/698-get-sales-orders/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/","path":"src/Layers/W1/BaseApp/Sales/Document/GetSalesOrders.Report.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:246":{"name":"Requisition Line","url":"https://jonas-paprotka.de/ref/table/246-requisition-line/"},"codeunit:5404":{"name":"Lead-Time Management","url":"https://jonas-paprotka.de/ref/codeunit/5404-lead-time-management/"},"codeunit:6500":{"name":"Item Tracking Management","url":"https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/"},"table:37":{"name":"Sales Line","url":"https://jonas-paprotka.de/ref/table/37-sales-line/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"}},"procs":[{"name":"Sales Line.OnAfterGetRecord","line":29,"kind":"trigger","steps":[[34,"event","OnBeforeOnAfterGetRecord",1],[43,"call","InsertReqWkshLine",2],[52,"call","InsertReqWkshLine",2],[61,"call","InsertReqWkshLine",2]]},{"name":"Sales Line.OnPostDataItem","line":65,"kind":"trigger","steps":[[70,"event","OnPostDataItemOnBeforeCheckLineCount",1]]},{"name":"OnPreReport","line":109,"kind":"trigger","steps":[[111,"event","OnBeforeOnPreReport",0]]},{"name":"InsertReqWkshLine","line":165,"kind":"procedure","params":2,"steps":[[170,"event","OnInsertReqWkshLineOnBeforeCode",1],[189,"validate",246,"Type"],[190,"event","OnInsertReqWkshLineOnAfterValidateType",0],[193,"validate",246,"No."],[195,"validate",246,"Location Code"],[197,"event","OnInsertReqWkshLineOnAfterSetBinCode",0],[203,"validate",246,"Replenishment System"],[206,"event","OnInsertReqWkshLineOnBeforeValidateUoM",1],[208,"validate",246,"Unit of Measure Code"],[209,"call","ValidateRequisitionLineQuantity",2],[212,"event","OnInsertReqWkshLineOnBeforeSetInsertRequisitionLineBatch",1],[217,"event","OnInsertReqWkshLineOnBeforeSetSellToCustomerNo",1],[229,"event","OnInsertReqWkshLineOnBeforeCalcEndingDate",0],[231,"ext","codeunit",5404,"GetPlannedEndingDate",6],[234,"ext","table",246,"CalcStartingDate",0],[235,"ext","table",246,"UpdateDescription",0],[236,"ext","table",246,"UpdateDatetime",0],[238,"event","OnBeforeInsertReqWkshLine",0],[239,"write",246,"Insert"],[240,"ext","codeunit",6500,"CopyItemTracking",3],[240,"ext","table",37,"RowID1",0],[240,"ext","table",246,"RowID1",0],[245,"write",246,"Modify"],[249,"event","OnAfterInsertReqWkshLine",0]]},{"name":"ValidateRequisitionLineQuantity","line":252,"kind":"procedure","access":"local","params":2,"steps":[[257,"event","OnBeforeValidateRequisitionLineQuantity",1],[261,"validate",246,"Quantity"],[265,"ext","codeunit",5402,"QtyRndPrecision",0]]}]}