{"title":"Codeunit 9261 Customer Exp. Survey Impl., extension points 26","url":"https://jonas-paprotka.de/ref/codeunit/9261-customer-exp-survey-impl/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-09-24","object":{"type":"codeunit","id":9261,"name":"Customer Exp. Survey Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/9261-customer-exp-survey-impl/"},"major":26,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/9261-customer-exp-survey-impl/source/","path":"src/System Application/App/Customer Experience Survey/src/CustomerExpSurveyImpl.Codeunit.al","commit":"8fd089973d4be7f6224d0845f41bec221fdda7dc","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":{"codeunit:9263":{"name":"Cust. Exp. Survey Req. Impl.","url":"https://jonas-paprotka.de/ref/codeunit/9263-cust-exp-survey-req-impl/"},"codeunit:43":{"name":"Language","url":"https://jonas-paprotka.de/ref/codeunit/43-language/"},"page:9260":{"name":"Customer Experience Survey","url":"https://jonas-paprotka.de/ref/page/9260-customer-experience-survey/"},"codeunit:433":{"name":"Azure AD Tenant","url":"https://jonas-paprotka.de/ref/codeunit/433-azure-ad-tenant/"},"codeunit:9012":{"name":"Azure AD Graph","url":"https://jonas-paprotka.de/ref/codeunit/9012-azure-ad-graph/"},"codeunit:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"}},"procs":[{"name":"RegisterEvent","line":38,"kind":"procedure","access":"internal","params":1,"steps":[[44,"call","IsSaaS",0],[47,"call","GetBaseUrl",0],[47,"call","GetUserId",0],[48,"ext","codeunit",9263,"TryPost",3],[50,"call","RemoveUserIdFromMessage",1]]},{"name":"GetEligibility","line":53,"kind":"procedure","access":"internal","params":4,"steps":[[59,"call","IsSaaS",0],[62,"call","GetBaseUrl",0],[62,"call","GetUserId",0],[62,"call","GetTenantId",0],[63,"ext","codeunit",9263,"TryGet",4],[64,"call","RemoveUserIdFromMessage",1],[67,"call","TryGetEligibilityFromJson",4]]},{"name":"RegisterEventAndGetEligibility","line":75,"kind":"procedure","access":"internal","params":5,"steps":[[81,"call","IsSaaS",0],[84,"call","GetBaseUrl",0],[84,"call","GetUserId",0],[84,"call","GetTenantId",0],[85,"ext","codeunit",9263,"TryPost",3],[86,"call","RemoveUserIdFromMessage",1],[89,"call","TryGetEligibilityFromJson",4]]},{"name":"GetSurvey","line":97,"kind":"procedure","access":"internal","params":2,"steps":[[103,"call","IsSaaS",0],[106,"call","GetBaseUrl",0],[107,"ext","codeunit",9263,"TryGet",4],[111,"call","TryFillCustomerExperienceSurveyFromJson",2]]},{"name":"RenderSurvey","line":126,"kind":"procedure","access":"internal","params":3,"steps":[[137,"ext","codeunit",43,"GetDefaultApplicationLanguageId",0],[140,"ext","codeunit",43,"GetDefaultApplicationLanguageId",0],[154,"ext","page",9260,"SetSurveyProperties",4],[154,"call","GetTenantId",0]]},{"name":"GetUserId","line":223,"kind":"procedure","access":"local","params":0,"steps":[[230,"call","GetGraphUrl",0],[232,"ext","codeunit",9263,"TryGet",4]]},{"name":"GetTenantId","line":239,"kind":"procedure","access":"local","params":0,"steps":[[245,"event","OnGetTenantId",1],[249,"ext","codeunit",433,"GetAadTenantId",0]]},{"name":"GetBaseUrl","line":252,"kind":"procedure","access":"local","params":0,"steps":[[256,"call","TryGetIsEurope",1],[257,"call","IsPPE",0]]},{"name":"GetGraphUrl","line":269,"kind":"procedure","access":"local","params":0,"steps":[[271,"call","IsPPE",0]]},{"name":"TryGetIsEurope","line":278,"kind":"procedure","access":"local","params":1,"steps":[[284,"event","OnTryGetIsEurope",1],[288,"ext","codeunit",9012,"GetTenantDetail",1]]},{"name":"IsSaaS","line":309,"kind":"procedure","access":"local","params":0,"steps":[[315,"event","OnIsSaas",1],[319,"ext","codeunit",457,"IsSaaSInfrastructure",0]]},{"name":"IsPPE","line":322,"kind":"procedure","access":"internal","params":0,"steps":[[328,"event","OnIsPPE",1]]}]}