{"title":"Codeunit 703 Find Record Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/703-find-record-management/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":"codeunit","id":703,"name":"Find Record Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/703-find-record-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/703-find-record-management/source/","path":"src/Layers/W1/BaseApp/Utilities/FindRecordManagement.Codeunit.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:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"},"codeunit:46":{"name":"SelectionFilterManagement","url":"https://jonas-paprotka.de/ref/codeunit/46-selectionfiltermanagement/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"}},"procs":[{"name":"FindLastEntryIgnoringSecurityFilter","line":27,"kind":"procedure","params":1,"steps":[[32,"event","OnBeforeFindLastEntryIgnoringSecurityFilter",1]]},{"name":"GetIntFieldValue","line":44,"kind":"procedure","params":2,"steps":[[49,"call","GetIntFieldValues",2]]},{"name":"GetIntFieldValues","line":54,"kind":"procedure","params":2,"steps":[[63,"call","IsFieldValid",4]]},{"name":"GetLastEntryIntFieldValue","line":69,"kind":"procedure","params":2,"steps":[[74,"call","GetLastEntryIntFieldValues",2]]},{"name":"GetLastEntryIntFieldValues","line":78,"kind":"procedure","params":2,"steps":[[84,"call","ConvertVariantToRecordRef",2],[95,"call","FindLastEntryIgnoringSecurityFilter",1],[96,"call","GetIntFieldValues",2]]},{"name":"FindNoFromTypedValue","line":127,"kind":"procedure","params":3,"steps":[[132,"event","OnBeforeFindNoFromTypedValue",0],[137,"ext","table",27,"GetItemNo",1],[139,"call","FindNoByDescription",3]]},{"name":"FindNoByDescription","line":146,"kind":"procedure","params":3,"steps":[[153,"call","GetGLAccountTableRelationView",0],[155,"call","FindRecordByDescriptionAndView",4]]},{"name":"FindRecordByDescription","line":161,"kind":"procedure","params":3,"steps":[[163,"call","FindRecordByDescriptionAndView",4]]},{"name":"FindRecordByDescriptionAndView","line":167,"kind":"procedure","params":4,"steps":[[188,"call","GetRecRefAndFieldsNoByType",3],[198,"event","OnBeforeFindRecordByDescriptionAndView",0],[218,"call","TrySetFilterOnFieldRef",2],[252,"call","GetRecordsSearchResult",4],[257,"event","OnBeforeFindRecordStartingWithSearchString",0],[258,"call","GetRecordsSearchResult",4],[271,"event","OnBeforeFindRecordContainingSearchString",0],[272,"call","GetRecordsSearchResult",4],[279,"event","OnFindRecordByDescriptionAndViewOnBeforeFindRecordWithSimilarName",1],[282,"call","FindRecordWithSimilarName",3],[290,"event","OnAfterFindRecordByDescriptionAndView",0]]},{"name":"GetRecordsSearchResult","line":298,"kind":"procedure","access":"local","params":4,"steps":[[302,"call","UpdateResultFilter",4]]},{"name":"UpdateResultFilter","line":305,"kind":"procedure","access":"local","params":4,"steps":[[315,"ext","codeunit",46,"AddQuotes",1],[317,"call","GetMaxRecordCountToReturn",0]]},{"name":"GetMaxRecordCountToReturn","line":328,"kind":"procedure","access":"internal","params":0,"steps":[[331,"event","OnGetMaxRecordCountToReturnOnBeforeExit",0]]},{"name":"FindRecordWithSimilarName","line":335,"kind":"procedure","params":3,"steps":[[363,"ext","codeunit",10,"TextDistance",2]]},{"name":"GetRecRefAndFieldsNoByType","line":370,"kind":"procedure","access":"local","params":3,"steps":[[380,"event","OnBeforeGetRecRefAndFieldsNoByType",0],[432,"event","OnAfterGetRecRefAndFieldsNoByType",0]]}]}