{"title":"Table 20404 Qlty. Inspection Gen. Rule, extension points 29","url":"https://jonas-paprotka.de/ref/table/20404-qlty-inspection-gen-rule/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-30","object":{"type":"table","id":20404,"name":"Qlty. Inspection Gen. Rule","app":"Quality Management","url":"https://jonas-paprotka.de/ref/table/20404-qlty-inspection-gen-rule/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/20404-qlty-inspection-gen-rule/source/","path":"src/Apps/W1/Quality Management/app/src/Configuration/GenerationRule/QltyInspectionGenRule.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":{"codeunit:20455":{"name":"Qlty. Job Queue Management","url":"https://jonas-paprotka.de/ref/codeunit/20455-qlty-job-queue-management/"},"table:20404":{"name":"Qlty. Inspection Gen. Rule","url":"https://jonas-paprotka.de/ref/table/20404-qlty-inspection-gen-rule/"},"codeunit:20437":{"name":"Qlty. Notification Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/20437-qlty-notification-mgmt/"},"codeunit:20405":{"name":"Qlty. Inspec. Gen. Rule Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/20405-qlty-inspec-gen-rule-mgmt/"},"codeunit:20403":{"name":"Qlty. Filter Helpers","url":"https://jonas-paprotka.de/ref/codeunit/20403-qlty-filter-helpers/"}},"procs":[{"name":"Schedule Group.OnValidate","line":62,"kind":"trigger","steps":[[68,"ext","codeunit",20455,"CheckIfGenerationRuleCanBeScheduled",1],[69,"write",20404,"Modify"],[70,"ext","codeunit",20455,"PromptCreateJobQueueEntryIfMissing",1],[72,"write",20404,"Modify"],[75,"ext","codeunit",20455,"DeleteJobQueueIfNothingElseIsUsingThisGroup",2]]},{"name":"Template Code.OnValidate","line":85,"kind":"trigger","steps":[[92,"call","UpdateSortOrder",0]]},{"name":"Source Table No..OnValidate","line":102,"kind":"trigger","steps":[[106,"call","SetIntentAndDefaultTriggerValuesFromSetup",0]]},{"name":"Warehouse Receipt Trigger.OnValidate","line":154,"kind":"trigger","steps":[[158,"call","ConfirmUpdateManualTriggerStatus",0],[160,"ext","codeunit",20437,"Notify",1]]},{"name":"Purchase Order Trigger.OnValidate","line":168,"kind":"trigger","steps":[[172,"call","ConfirmUpdateManualTriggerStatus",0],[174,"ext","codeunit",20437,"Notify",1]]},{"name":"Sales Return Trigger.OnValidate","line":182,"kind":"trigger","steps":[[186,"call","ConfirmUpdateManualTriggerStatus",0],[188,"ext","codeunit",20437,"Notify",1]]},{"name":"Transfer Order Trigger.OnValidate","line":196,"kind":"trigger","steps":[[200,"call","ConfirmUpdateManualTriggerStatus",0],[202,"ext","codeunit",20437,"Notify",1]]},{"name":"Production Order Trigger.OnValidate","line":210,"kind":"trigger","steps":[[214,"call","ConfirmUpdateManualTriggerStatus",0],[216,"ext","codeunit",20437,"Notify",1]]},{"name":"Assembly Trigger.OnValidate","line":224,"kind":"trigger","steps":[[228,"call","ConfirmUpdateManualTriggerStatus",0],[230,"ext","codeunit",20437,"Notify",1]]},{"name":"Warehouse Movement Trigger.OnValidate","line":238,"kind":"trigger","steps":[[242,"call","ConfirmUpdateManualTriggerStatus",0],[244,"ext","codeunit",20437,"Notify",1]]},{"name":"OnInsert","line":282,"kind":"trigger","steps":[[284,"call","CheckSourceTableNoIsSet",0],[285,"call","UpdateSortOrder",0],[286,"call","SetEntryNo",0],[287,"call","SetIntentAndDefaultTriggerValuesFromSetup",0]]},{"name":"OnModify","line":290,"kind":"trigger","steps":[[293,"call","CheckSourceTableNoIsSet",0],[294,"call","UpdateSortOrder",0],[296,"call","SetIntentAndDefaultTriggerValuesFromSetup",0]]},{"name":"HandleOnAssistEditSourceTable","line":341,"kind":"procedure","access":"internal","params":0,"steps":[[350,"ext","codeunit",20405,"GetFilterForAvailableConfigurations",0],[352,"ext","codeunit",20403,"RunModalLookupTable",2],[355,"validate",20404,"Source Table No."]]},{"name":"AssistEditConditionTableFilter","line":363,"kind":"procedure","params":0,"steps":[[369,"ext","codeunit",20403,"BuildFilter",3]]},{"name":"AssistEditConditionItemFilter","line":383,"kind":"procedure","params":0,"steps":[[389,"ext","codeunit",20403,"BuildFilter",3]]},{"name":"AssistEditConditionAttributeFilter","line":402,"kind":"procedure","params":0,"steps":[[406,"ext","codeunit",20403,"BuildItemAttributeFilter2048",1]]},{"name":"SetIntentAndDefaultTriggerValuesFromSetup","line":434,"kind":"procedure","access":"internal","params":0,"steps":[[440,"call","TryInferGenerationRuleIntent",2],[450,"call","SetDefaultTriggerValuesToNoTrigger",0]]},{"name":"TryInferGenerationRuleIntent","line":514,"kind":"procedure","access":"internal","params":2,"steps":[[516,"call","InferGenerationRuleIntent",2]]},{"name":"InferGenerationRuleIntent","line":524,"kind":"procedure","params":2,"steps":[[563,"call","GetIsProductionIntent",0],[567,"call","InferItemJournalIntentFromConditionFilter",1],[570,"call","GetIsOnlyAutoTriggerInSetup",1],[575,"call","GetIsProductionIntent",0],[579,"call","InferItemLedgerIntentFromConditionFilter",1],[582,"call","GetIsOnlyAutoTriggerInSetup",1],[588,"call","InferIsWarehouseReceiveIntentFromCondition",0],[594,"call","InferIsWarehouseMoveIntentFromCondition",0],[600,"call","GetIsOnlyAutoTriggerInSetup",1],[606,"call","GetIsOnlyAutoTriggerInSetup",1]]},{"name":"GetIsProductionIntent","line":620,"kind":"procedure","access":"local","params":0,"steps":[[638,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[641,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[644,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[647,"ext","codeunit",20403,"GetIsFilterSetToValue",4]]},{"name":"InferIsWarehouseReceiveIntentFromCondition","line":656,"kind":"procedure","access":"local","params":0,"steps":[[662,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[665,"ext","codeunit",20403,"GetIsFilterSetToValue",4]]},{"name":"InferIsWarehouseMoveIntentFromCondition","line":673,"kind":"procedure","access":"local","params":0,"steps":[[679,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[681,"ext","codeunit",20403,"GetIsFilterSetToValue",4]]},{"name":"InferItemJournalIntentFromConditionFilter","line":691,"kind":"procedure","access":"local","params":1,"steps":[[698,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[703,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[708,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[713,"ext","codeunit",20403,"GetIsFilterSetToValue",4]]},{"name":"InferItemLedgerIntentFromConditionFilter","line":728,"kind":"procedure","access":"local","params":1,"steps":[[735,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[740,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[745,"ext","codeunit",20403,"GetIsFilterSetToValue",4],[750,"ext","codeunit",20403,"GetIsFilterSetToValue",4]]}]}