Codeunit 20440 "Qlty. Report Mgmt."
Quality Management · Microsoft.QualityManagement.Reports
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 8 connected objects and pages
Quality Management · Microsoft.QualityManagement.Reports · BC29-30 · source at ea08af5e · facts from BC29
Procedures
PrintGeneralPurposeInspection(var QltyInspectionHeader: Record "Qlty. Inspection Header")(internal)PrintNonConformance(var QltyInspectionHeader: Record "Qlty. Inspection Header")(internal): Prints the configured non-conformance report or the default report when none is configured.PrintCertificateOfAnalysis(var QltyInspectionHeader: Record "Qlty. Inspection Header")(internal): Prints the configured certificate of analysis report or the default report when none is configured.ResolveCompanyInformation(var CompanyInformation: Record "Company Information"; var CompanyInformationArray: array[8] of Text[100]; var AllCompanyInformation: Text; var HomePageValueText: Text; HomePageLbl: Text; var HomePageLabelText: Text; var EmailValueText: Text; EmailLbl: Text; var EmailLabelText: Text; var PhoneNoValueText: Text; PhoneNoLbl: Text; var PhoneNoLabelText: Text)(internal): Loads company information and prepares its address, contact values, labels, and combined display text.ResolveCertificateContactInformation(DefaultTitle: Text; var ContactTitle: Text; var ContactName: Text; var ContactInformationArray: array[8] of Text[100]; var AllContactInformation: Text)(internal): Resolves the configured certificate contact and prepares formatted contact text.ResolveSourceItem(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var Item: Record Item)(internal): Loads the source item for an inspection or clears the item record when no source item is specified.ResolveInspectionTemplateCache(TemplateCode: Code[20]; var QltyInspectionTemplateHdr: Record "Qlty. Inspection Template Hdr.")(internal) (obsolete 29.0: Unused by Word layouts. Used only by RDLC layouts, and will be removed with the RDLC layouts.): Refreshes the cached inspection template when its code differs from the requested code.ResolveFinishedByPerson(FinishedByUserId: Code[50]; var FinishedByUserName: Text; var FinishedByTitle: Text; var FinishedByEmail: Text; var FinishedByPhone: Text)(internal): Resolves the name and contact details of the user who finished an inspection.BuildItemIdentifierText(ItemNo: Text; VariantCode: Text): Text(internal): Combines an item number and variant code on separate lines, omitting blank values.BuildItemTrackingIdentifierText(LotNo: Text; SerialNo: Text; PackageNo: Text): Text(internal): Combines lot, serial, and package numbers on separate lines, omitting blank values.BuildReinspectionSequenceInformationText(ReinspectionNo: Integer): Text(internal): Builds the labeled reinspection sequence text when the sequence number is nonzero.BuildSignatureAndNameLabels(Title: Text; var SignatureLbl: Text; var NameLabelText: Text)(internal): Builds signature and name labels from a title.ClearPromotedResultMatrix(var MatrixSourceRecordId: array[10] of RecordId; var MatrixArrayConditionCellData: array[10] of Text; var MatrixArrayConditionDescriptionCellData: array[10] of Text; var MatrixArrayCaptionSet: array[10] of Text; var MatrixVisibleState: array[10] of Boolean)(internal): Clears all promoted-result matrix values and visibility flags.ResolveModifiedByUser(var QltyInspectionLine: Record "Qlty. Inspection Line"; var PreviousUserId: Text; var ModifiedByUserId: Code[50]; var UserName: Text; var JobTitle: Text; var Email: Text; var Phone: Text)(internal): Resolves the modifying user and refreshes person details when the user changes.ResolveLinePersonDetails(var QltyInspectionLine: Record "Qlty. Inspection Line"; var IsPersonField: Boolean; var PersonName: Text; var PersonTitle: Text; var PersonEmail: Text; var PersonPhone: Text)(internal): Resolves person details from an inspection line and indicates whether the line contains a person value.ResolveLineFieldTypeFlags(var QltyInspectionLine: Record "Qlty. Inspection Line"; var FieldIsLabel: Boolean; var FieldIsText: Boolean; var HasEnteredValue: Boolean)(internal): Resolves label, text, and entered-value flags for an inspection line.ResolveLineResultAndMatrix(var QltyInspectionLine: Record "Qlty. Inspection Line"; var ResultDescription: Text; var MatrixSourceRecordId: array[10] of RecordId; var MatrixArrayConditionCellData: array[10] of Text; var MatrixArrayConditionDescriptionCellData: array[10] of Text; var MatrixArrayCaptionSet: array[10] of Text; var MatrixVisibleState: array[10] of Boolean)(internal): Resolves the inspection-line result description and its promoted-result matrix.ResolveLineLabelFieldDescription(var QltyInspectionLine: Record "Qlty. Inspection Line"; FieldIsLabel: Boolean; var LabelFieldDescription: Text)(internal): Resolves the description displayed for a label-type inspection line.ResolveConditionLabels(QltyInspectionLine: Record "Qlty. Inspection Line"; var ConditionLabelText1: Text; var ConditionLabelText2: Text)(internal): Resolves labels for the two highest-priority promoted result conditions on an inspection line.BuildPersonFieldDetails(Title: Text; Name: Text; Phone: Text; Email: Text): Text(internal): Combines nonblank person details into separate lines.BuildPersonFieldDetailsLabeled(Title: Text; Name: Text; Phone: Text; Email: Text): Text(internal): Combines nonblank person details into separate lines with labels for title and name.BuildEnteredByNameAndTimestamp(UserId: Text; ModifiedAt: DateTime; HasEnteredValue: Boolean): Text(internal): Builds the entered-by user and timestamp text when the line has an entered value.
Plus 3 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 20429 “Qlty. Person Lookup” (3 calls:
ResolveFinishedByPerson → GetBasicPersonDetails,ResolveLinePersonDetails → GetBasicPersonDetailsFromInspectionLine,ResolveModifiedByUser → GetBasicPersonDetails) - Codeunit 365 “Format Address” (2 calls:
ResolveCertificateContactInformation → ContactAddr,ResolveCompanyInformation → Company) - Codeunit 20409 “Qlty. Result Condition Mgmt.” (1 call:
ResolveLineResultAndMatrix → GetPromotedResultsForInspectionLine) - Codeunit 20599 “Qlty. Misc Helpers” (1 call:
ResolveModifiedByUser → GetUserNameByUserSecurityID) - Report 20401 “Qlty. Certificate of Analysis” (1 call:
PrintCertificateOfAnalysis → (object)) - Report 20403 “Qlty. Non-Conformance” (1 call:
PrintNonConformance → (object)) - Report 20405 “Qlty. General Purpose Inspect.” (1 call:
PrintGeneralPurposeInspection → (object))
Called by
- Table 20405 “Qlty. Inspection Header” (3 calls:
PrintCertificateOfAnalysis → PrintCertificateOfAnalysis,PrintGeneralPurposeInspection → PrintGeneralPurposeInspection,PrintNonConformance → PrintNonConformance)
Recent changes
- 2026-08-20 #10270 [Quality Management] Repair and improve XML documentation of procedures (main, BC30, refactor)
Deprecations
- procedure ResolveInspectionTemplateCache: Pending 29.0 (#if not CLEAN29), “Unused by Word layouts. Used only by RDLC layouts, and will be removed with the RDLC layouts.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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. Report Mgmt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.