Codeunit 6275 Sust. Lookup CRM Tables

Sustainability, Microsoft.Sustainability.CRM

Source AL, 296 lines

src/Apps/W1/Sustainability/app/src/CRM/SustLookupCRMTables.Codeunit.allines 10 to 25 of 296, Copyright (c) Microsoft Corporation. MIT

codeunit 6275 "Sust. Lookup CRM Tables"{    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Lookup CRM Tables", 'OnLookupCRMTables', '', false, false)]    local procedure HandleOnLookupCRMTables(CRMTableID: Integer; NAVTableId: Integer; SavedCRMId: Guid; var CRMId: Guid; IntTableFilter: Text; var Handled: Boolean)    var        SustainabilitySetup: Record "Sustainability Setup";    begin        if Handled then            exit;        if not SustainabilitySetup.IsDataverseIntegrationEnabled() then            exit;        case CRMTableID of            Database::"Sust. Standard":                Handled := LookupStandard(SavedCRMId, CRMId, IntTableFilter);

All 296 lines