{"title":"Codeunit 5059 ProfileManagement, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5059-profilemanagement/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":5059,"name":"ProfileManagement","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5059-profilemanagement/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5059-profilemanagement/source/","path":"src/Layers/W1/BaseApp/CRM/Profiling/ProfileManagement.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:5087":{"name":"Profile Questionnaire Header","url":"https://jonas-paprotka.de/ref/table/5087-profile-questionnaire-header/"},"table:5050":{"name":"Contact","url":"https://jonas-paprotka.de/ref/table/5050-contact/"},"page:5114":{"name":"Contact Profile Answers","url":"https://jonas-paprotka.de/ref/page/5114-contact-profile-answers/"},"page:5172":{"name":"Answer Points","url":"https://jonas-paprotka.de/ref/page/5172-answer-points/"}},"procs":[{"name":"FindLegalProfileQuestionnaire","line":24,"kind":"procedure","access":"local","params":1,"steps":[[33,"event","OnBeforeFindLegalProfileQuestionnaire",1],[37,"write",5087,"DeleteAll"],[42,"event","OnFindLegalProfileQuestionnaireOnBeforeLoopProfileQuestnHeader",0],[64,"write",5087,"Insert"]]},{"name":"GetQuestionnaire","line":69,"kind":"procedure","params":0,"steps":[[79,"write",5087,"Insert"]]},{"name":"ProfileQuestionnaireAllowed","line":83,"kind":"procedure","params":2,"steps":[[85,"call","FindLegalProfileQuestionnaire",1]]},{"name":"ShowContactQuestionnaireCard","line":95,"kind":"procedure","params":3,"steps":[[102,"event","OnBeforeShowContactQuestionnaireCard",1],[106,"ext","table",5050,"CheckIfMinorForProfiles",0],[107,"ext","page",5114,"SetParameters",4],[107,"call","ProfileQuestionnaireAllowed",2]]},{"name":"CheckName","line":115,"kind":"procedure","params":2,"steps":[[117,"call","FindLegalProfileQuestionnaire",1]]},{"name":"LookupName","line":130,"kind":"procedure","params":3,"steps":[[133,"call","FindLegalProfileQuestionnaire",1],[140,"call","SetName",3]]},{"name":"ShowAnswerPoints","line":143,"kind":"procedure","params":1,"steps":[[146,"run","page",5172]]}]}