{"title":"Codeunit 20410 Qlty. Result Evaluation, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/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":20410,"name":"Qlty. Result Evaluation","app":"Quality Management","url":"https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/source/","path":"src/Apps/W1/Quality Management/app/src/Configuration/Result/QltyResultEvaluation.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":{"codeunit:20416":{"name":"Qlty. Expression Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/20416-qlty-expression-mgmt/"},"codeunit:20436":{"name":"Qlty. Boolean Parsing","url":"https://jonas-paprotka.de/ref/codeunit/20436-qlty-boolean-parsing/"},"table:20406":{"name":"Qlty. Inspection Line","url":"https://jonas-paprotka.de/ref/table/20406-qlty-inspection-line/"},"table:20405":{"name":"Qlty. Inspection Header","url":"https://jonas-paprotka.de/ref/table/20405-qlty-inspection-header/"},"table:20401":{"name":"Qlty. Test","url":"https://jonas-paprotka.de/ref/table/20401-qlty-test/"},"codeunit:20410":{"name":"Qlty. Result Evaluation","url":"https://jonas-paprotka.de/ref/codeunit/20410-qlty-result-evaluation/"},"codeunit:20431":{"name":"Qlty. Localization","url":"https://jonas-paprotka.de/ref/codeunit/20431-qlty-localization/"},"table:2000000026":{"name":"Integer","url":"https://jonas-paprotka.de/ref/table/2000000026-integer/"},"table:749":{"name":"Date Lookup Buffer","url":"https://jonas-paprotka.de/ref/table/749-date-lookup-buffer/"}},"procs":[{"name":"OnRun","line":32,"kind":"trigger","steps":[[38,"call","ValidateQltyInspectionLine",3]]},{"name":"EvaluateResult","line":70,"kind":"procedure","access":"internal","params":6,"steps":[[82,"event","OnBeforeEvaluateResult",1],[99,"ext","codeunit",20416,"EvaluateTextExpression",3],[103,"call","CheckIfValueIsDecimal",2],[105,"call","CheckIfValueIsInteger",2],[107,"ext","codeunit",20436,"CanTextBeInterpretedAsBooleanIsh",1],[108,"ext","codeunit",20436,"CanTextBeInterpretedAsBooleanIsh",1],[110,"ext","codeunit",20436,"GetBooleanFor",1],[110,"ext","codeunit",20436,"GetBooleanFor",1],[112,"call","CheckIfValueIsString",3],[114,"call","CheckIfValueIsInPredefinedList",3],[116,"call","CheckIfValueIsString",3],[120,"call","CheckIfValueIsDate",3],[126,"call","CheckIfValueIsDateTime",3],[140,"event","OnAfterEvaluateResult",0]]},{"name":"TryValidateQltyInspectionLine","line":166,"kind":"procedure","access":"internal","params":2,"steps":[[168,"call","ValidateQltyInspectionLine",3]]},{"name":"ValidateQltyInspectionLine","line":177,"kind":"procedure","params":3,"steps":[[179,"call","ValidateInspectionLineWithAllowableValues",4]]},{"name":"ValidateInspectionLineWithAllowableValues","line":189,"kind":"procedure","access":"internal","params":4,"steps":[[200,"call","ValidateAllowableValuesOnInspectionLine",2],[202,"call","GetTestResultConditionConfigFilters",2],[208,"call","EvaluateResult",6],[217,"validate",20406,"Result Code"],[220,"write",20406,"Modify",1],[223,"ext","table",20405,"UpdateResultFromLines",0],[224,"validate",20405,"Result Code"],[226,"write",20405,"Modify",1]]},{"name":"ValidateAllowableValuesOnInspectionLine","line":279,"kind":"procedure","access":"local","params":2,"steps":[[298,"ext","table",20406,"CollectAllowableValues",1],[309,"ext","codeunit",20416,"EvaluateTextExpression",3],[311,"call","ValidateAllowableValuesOnText",6]]},{"name":"ValidateAllowableValuesOnTest","line":350,"kind":"procedure","access":"internal","params":3,"steps":[[362,"ext","table",20401,"CollectAllowableValues",4],[369,"call","ValidateAllowableValuesOnText",6]]},{"name":"ValidateAllowableValuesFormat","line":394,"kind":"procedure","access":"local","params":3,"steps":[[401,"call","IsBlankOrEmptyCondition",1],[404,"call","IsAnythingExceptEmptyCondition",1],[415,"call","TryApplyDecimalFilter",1],[417,"call","TryApplyIntegerFilter",1],[419,"call","TryApplyBooleanFilter",1],[421,"call","TryApplyDateFilter",1],[423,"call","TryApplyDateTimeFilter",1]]},{"name":"TryApplyBooleanFilter","line":461,"kind":"procedure","access":"local","params":1,"steps":[[466,"ext","codeunit",20436,"CanTextBeInterpretedAsBooleanIsh",1]]},{"name":"ValidateAllowableValuesOnText","line":505,"kind":"procedure","access":"local","params":6,"steps":[[516,"event","OnBeforeValidateAllowableValuesOnText",1],[525,"call","IsBlankOrEmptyCondition",1],[529,"ext","codeunit",20410,"CheckIfValueIsDecimal",2],[533,"call","IsBlankOrEmptyCondition",1],[537,"ext","codeunit",20410,"CheckIfValueIsInteger",2],[541,"call","IsBlankOrEmptyCondition",1],[544,"ext","codeunit",20410,"CheckIfValueIsDateTime",3],[548,"call","IsBlankOrEmptyCondition",1],[552,"ext","codeunit",20410,"CheckIfValueIsDate",3],[557,"call","IsBlankOrEmptyCondition",1],[558,"ext","codeunit",20436,"GetBooleanFor",1],[559,"ext","codeunit",20431,"GetTranslatedYes",0],[561,"ext","codeunit",20431,"GetTranslatedNo",0],[563,"ext","codeunit",20436,"CanTextBeInterpretedAsBooleanIsh",1],[564,"ext","codeunit",20436,"GetBooleanFor",1],[564,"ext","codeunit",20436,"GetBooleanFor",1],[567,"ext","codeunit",20431,"GetTranslatedYes",0],[567,"ext","codeunit",20431,"GetTranslatedNo",0],[571,"call","IsBlankOrEmptyCondition",1],[572,"ext","codeunit",20410,"CheckIfValueIsString",3],[600,"event","OnAfterValidateAllowableValuesOnText",0]]},{"name":"CheckIfValueIsDecimal","line":609,"kind":"procedure","access":"internal","params":2,"steps":[[629,"write",20406,"Insert"]]},{"name":"CheckIfValueIsInteger","line":640,"kind":"procedure","access":"internal","params":2,"steps":[[660,"write",2000000026,"Insert"]]},{"name":"CheckIfValueIsDateTime","line":692,"kind":"procedure","access":"internal","params":3,"steps":[[702,"call","IsAnythingExceptEmptyCondition",1],[714,"call","IsBlankOrEmptyCondition",1],[727,"write",20405,"Insert"]]},{"name":"CheckIfValueIsDate","line":743,"kind":"procedure","access":"internal","params":3,"steps":[[753,"call","IsAnythingExceptEmptyCondition",1],[765,"call","IsBlankOrEmptyCondition",1],[778,"write",749,"Insert"]]},{"name":"CheckIfValueIsString","line":807,"kind":"procedure","access":"internal","params":3,"steps":[[811,"call","IsAnythingExceptEmptyCondition",1],[820,"write",20401,"Insert"]]},{"name":"CheckIfValueIsInPredefinedList","line":832,"kind":"procedure","access":"internal","params":3,"steps":[[839,"call","IsAnythingExceptEmptyCondition",1],[842,"call","IsBlankOrEmptyCondition",1]]}]}