codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 20409 "Qlty. Result Condition Mgmt."

Quality Management · Microsoft.QualityManagement.Configuration.Result

Across versions

  1. BC23-28not present
  2. BC29present
  3. BC30changed

Neighbourhood 12 connected objects and pages

Codeunit 27 "Confirm Management" (calls, 3 links)Confirm ManagementPage 20479 "Qlty. Test Card" (calls, 3 links)Qlty. Test CardPage 20401 "Qlty. Tests" (calls, 2 links)Qlty. TestsPage 20403 "Qlty. Inspection Template Subf" (calls, 2 links)Qlty. Inspection Template SubfPage 20407 "Qlty. Inspection Subform" (calls, 2 links)Qlty. Inspection SubformPage 20445 "Qlty. Test Lookup" (calls, 2 links)Table 20401 "Qlty. Test" (calls, 2 links)Qlty. TestCodeunit 20404 "Qlty. Inspection - Create" (calls)Qlty. Inspection - CreateCodeunit 20440 "Qlty. Report Mgmt." (calls)Qlty. Report Mgmt.Report 20402 "Qlty. Inspection Copy Template" (calls)Qlty. Inspection Copy TemplateTable 20403 "Qlty. Inspection Template Line" (calls)Qlty. Inspection Template LineTable 20411 "Qlty. Inspection Result" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Quality Management · Microsoft.QualityManagement.Configuration.Result · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Qlty. Inspection Template Line” = r, tabledata “Qlty. Inspection Result” = r, tabledata “Qlty. Test” = r, tabledata “Qlty. I. Result Condit. Conf.” = rim, tabledata “Qlty. Inspection Header” = r

Procedures

  • PromptUpdateTemplatesFromTestsIfApplicable(CopyFromQltyIResultConditConf: Record "Qlty. I. Result Condit. Conf.") (internal): Prompts if templates should be updated.
  • PromptUpdateTestsFromResultIfApplicable(ResultCode: Code[20]) (internal): Prompts to overwrite existing test conditions after a result condition changes.
  • CopyResultConditionsFromTestToTemplateLine(Template: Code[20]; LineNo: Integer; OptionalSpecificResult: Code[20]; OverwriteConditionIfExisting: Boolean) (internal): Used to copy result conditions from the default configuration to the template line.
  • CopyResultConditionsFromTemplateLineToTemplateLine(FromQltyInspectionTemplateLine: Record "Qlty. Inspection Template Line"; TargetQltyInspectionTemplateLine: Record "Qlty. Inspection Template Line") (internal): Used for cloning templates.
  • CopyResultConditionsFromTemplateToInspection(QltyInspectionTemplateLine: Record "Qlty. Inspection Template Line"; QltyInspectionLine: Record "Qlty. Inspection Line") (internal): Copy result conditions from a template to an inspection.
  • CopyGradeConditionsFromDefaultToAllTemplates() (internal): This will copy any grade configurations configured to automatically copy to all existing templates. This leverages how CopyGradeConditionsFromFieldToTemplateLine will already update fields via CopyGradeConditionsFromDefaultToField when a specific grade is supplied.
  • CopyResultConditionsFromDefaultToTest(TestCode: Code[20]) (internal): Copies the default result conditions into the specified test.
  • CopyResultConditionsFromDefaultToTest(TestCode: Code[20]; SpecificQltyTestValueType: Enum "Qlty. Test Value Type") (internal): Copies default result conditions to a test using a specified test value type.
  • GetPromotedResultsForTest(QltyTest: Record "Qlty. Test"; var MatrixSourceRecordId: array[10] of RecordId; var MatrixArrayToSetConditionCellData: array[10] of Text; var MatrixArrayToSetConditionDescriptionCellData: array[10] of Text; var MatrixArrayToSetCaptionSet: array[10] of Text; var MatrixVisibleStateToSet: array[10] of Boolean) (internal): Returns the promoted results for a test
  • GetPromotedResultsForTemplateLine(QltyInspectionTemplateLine: Record "Qlty. Inspection Template Line"; var MatrixArraySourceRecordId: array[10] of RecordId; var MatrixArrayToSetConditionCellData: array[10] of Text; var MatrixArrayToSetConditionDescriptionCellData: array[10] of Text; var MatrixArrayToSetCaptionSet: array[10] of Text; var MatrixVisibleStateToSet: array[10] of Boolean) (internal): Sets the promoted results for the template line. If the template line is being initialized then it will return the default promoted results with the default number condition for the results.
  • GetDefaultPromotedResults(AllPromoted: Boolean; var MatrixArraySourceRecordId: array[10] of RecordId; var MatrixArrayToSetConditionCellData: array[10] of Text; var MatrixArrayToSetConditionDescriptionCellData: array[10] of Text; var MatrixArrayToSetCaptionSet: array[10] of Text; var MatrixVisibleStateToSet: array[10] of Boolean) (internal): Gets the default promoted results in general regardless of what is configured for a specific test or a given test on a template (specification) This can be used to help determine the overall promoted results in the system.
  • GetPromotedResultsForInspectionLine(QltyInspectionLine: Record "Qlty. Inspection Line"; var MatrixSourceRecordId: array[10] of RecordId; var MatrixArrayToSetConditionCellData: array[10] of Text; var MatrixArrayToSetConditionDescriptionCellData: array[10] of Text; var MatrixArrayToSetCaptionSet: array[10] of Text; var MatrixVisibleStateToSet: array[10] of Boolean) (internal): Loads promoted result conditions for an inspection line, creating inspection conditions from its template when needed.

Plus 7 local procedures.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

  • Codeunit 27 “Confirm Management” (3 calls: CopyGradeConditionsFromDefaultToAllTemplates → GetResponseOrDefault, PromptUpdateTemplatesFromTestsIfApplicable → GetResponseOrDefault, PromptUpdateTestsFromResultIfApplicable → GetResponseOrDefault)

Called by

Recent changes

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Qlty. Result Condition Mgmt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources