Codeunit 20429 Qlty. Person Lookup

Quality Management, Microsoft.QualityManagement.Utilities

Source AL, 195 lines

src/Apps/W1/Quality Management/app/src/Utilities/QltyPersonLookup.Codeunit.allines 20 to 35 of 195, Copyright (c) Microsoft Corporation. MIT

codeunit 20429 "Qlty. Person Lookup"{    Access = Internal;    /// <summary>    /// Extracts person contact details from an inspection line if it references a person-related record.    /// Validates that the inspection line is a table lookup type referencing a supported person table before retrieval.    ///     /// Supported person tables (validated via Field configuration):    /// - Contact, Employee, Resource, User, User Setup, Salesperson/Purchaser    ///     /// Returns false early if:    /// - Test Value is empty    /// - Field Type is not "Value Type Table Lookup"    /// - Test Code is invalid    /// - Lookup Table is not a person-related table

All 195 lines

Public procedures 2 in 29

GetBasicPersonDetailsFromInspectionLine(QltyInspectionLine: Record "Qlty. Inspection Line"; var FullName: Text; var JobTitle: Text; var EmailAddress: Text; var PhoneNo: Text; var SourceRecordId: RecordId): Booleannew in 28
GetBasicPersonDetails(Input: Text; var FullName: Text; var JobTitle: Text; var EmailAddress: Text; var PhoneNo: Text; var SourceRecordId: RecordId): Booleannew in 28