{"title":"Page 6057 Contract Line Selection, extension points 29","url":"https://jonas-paprotka.de/ref/page/6057-contract-line-selection/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":6057,"name":"Contract Line Selection","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/6057-contract-line-selection/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/6057-contract-line-selection/source/","path":"src/Layers/W1/BaseApp/Service/Contract/ContractLineSelection.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:5964":{"name":"Service Contract Line","url":"https://jonas-paprotka.de/ref/table/5964-service-contract-line/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"table:5940":{"name":"Service Item","url":"https://jonas-paprotka.de/ref/table/5940-service-item/"}},"procs":[{"name":"SelectionFilter.OnValidate","line":30,"kind":"trigger","steps":[[32,"call","SelectionFilterOnAfterValidate",0]]},{"name":"OnOpenPage","line":119,"kind":"trigger","steps":[[129,"call","SetSelectionFilter",0]]},{"name":"OnQueryClosePage","line":132,"kind":"trigger","steps":[[135,"call","LookupOKOnPush",0],[139,"ext","table",5964,"HideDialogBox",1],[142,"call","CheckServContractLine",0],[144,"call","CreateServContractLines",0]]},{"name":"CheckServContractLine","line":187,"kind":"procedure","access":"local","params":0,"steps":[[210,"ext","codeunit",27,"GetResponseOrDefault",2],[221,"ext","codeunit",27,"GetResponseOrDefault",2],[228,"ext","codeunit",27,"GetResponseOrDefault",2],[233,"write",5940,"Insert"]]},{"name":"CreateServContractLines","line":236,"kind":"procedure","access":"local","params":0,"steps":[[239,"call","FindlineNo",0],[243,"ext","table",5964,"HideDialogBox",1],[247,"ext","table",5964,"SetupNewLine",0],[248,"validate",5964,"Service Item No."],[249,"validate",5964,"Line Value"],[250,"validate",5964,"Line Discount %"],[251,"write",5964,"Insert",1]]},{"name":"SetSelectionFilter","line":256,"kind":"procedure","params":0,"steps":[[264,"event","OnSetSelectionFilterOnBeforeUpdate",0]]},{"name":"SelectionFilterOnAfterValidate","line":268,"kind":"procedure","access":"local","params":0,"steps":[[271,"call","SetSelectionFilter",0]]},{"name":"LookupOKOnPush","line":274,"kind":"procedure","access":"local","params":0,"steps":[[277,"event","OnAfterLookupOKOnPush",0]]}]}