{"title":"Table 1670 Option Lookup Buffer, extension points 29","url":"https://jonas-paprotka.de/ref/table/1670-option-lookup-buffer/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":"table","id":1670,"name":"Option Lookup Buffer","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/1670-option-lookup-buffer/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/1670-option-lookup-buffer/source/","path":"src/Layers/W1/BaseApp/Utilities/OptionLookupBuffer.Table.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:37":{"name":"Sales Line","url":"https://jonas-paprotka.de/ref/table/37-sales-line/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"},"table:1670":{"name":"Option Lookup Buffer","url":"https://jonas-paprotka.de/ref/table/1670-option-lookup-buffer/"},"codeunit:9179":{"name":"Application Area Mgmt. Facade","url":"https://jonas-paprotka.de/ref/codeunit/9179-application-area-mgmt-facade/"}},"procs":[{"name":"FillLookupBuffer","line":63,"kind":"procedure","params":1,"steps":[[75,"call","FillBufferInternal",4],[77,"call","FillBufferInternal",4],[79,"call","FillBufferInternal",4],[82,"event","OnFillBufferLookupTypeCase",1],[85,"call","FillBufferInternal",4]]},{"name":"AutoCompleteLookup","line":90,"kind":"procedure","params":2,"steps":[[101,"ext","table",37,"FormatTypeAsText",0],[103,"ext","table",39,"FormatTypeAsText",0],[108,"event","OnAutoCompleteOptionLookupTypeCase",1],[116,"call","FillLookupBuffer",1]]},{"name":"FormatOption","line":152,"kind":"procedure","params":1,"steps":[[160,"event","OnBeforeFormatOption",1],[168,"ext","table",37,"FormatTypeAsText",0],[171,"ext","table",39,"FormatTypeAsText",0]]},{"name":"CreateNew","line":177,"kind":"procedure","access":"local","params":3,"steps":[[183,"event","OnCreateNewOnBeforeInsert",0],[184,"write",1670,"Insert"]]},{"name":"FillBufferInternal","line":187,"kind":"procedure","access":"local","params":4,"steps":[[200,"call","IncludeOption",3],[204,"call","CreateNew",3],[204,"call","FormatOption",1],[209,"call","CreateNew",3],[209,"call","FormatOption",1]]},{"name":"IncludeOption","line":216,"kind":"procedure","access":"local","params":3,"steps":[[226,"event","OnBeforeIncludeOption",0],[236,"ext","codeunit",9179,"IsItemChargesEnabled",0],[239,"ext","codeunit",9179,"IsFixedAssetEnabled",0],[242,"ext","codeunit",9179,"IsJobsEnabled",0],[250,"ext","codeunit",9179,"IsItemChargesEnabled",0],[253,"ext","codeunit",9179,"IsFixedAssetEnabled",0],[256,"ext","codeunit",9179,"IsJobsEnabled",0]]}]}