Codeunit 440 IC Setup Diagnostics

Base Application, Microsoft.Intercompany.Setup

Source AL, 196 lines

src/Layers/W1/BaseApp/Finance/Intercompany/Setup/ICSetupDiagnostics.Codeunit.allines 16 to 31 of 196, Copyright (c) Microsoft Corporation. MIT

codeunit 440 "IC Setup Diagnostics"{    var        PartnerSetupIdTok: Label 'PARTNERSETUP', Locked = true;        PartnerSetupDescriptionTxt: Label 'IC Partner Configuration';        PartnerSetupICNotFoundErr: Label 'Intercompany setup for current company not found.';        PartnerSetupUnconfiguredCustomerOrVendorErr: Label 'IC Partner %1 has not configured neither a customer nor a vendor.', Comment = '%1 - Intercompany Partner Code';        PartnerSetupVendorNoPayablesErr: Label 'IC Partner %1 has configured a vendor without a Payables account.', Comment = '%1 - Intercompany Partner Code';        PartnerSetupCustomerNoReceivablesErr: Label 'IC Partner %1 has configured a customer without a Receivables account.', Comment = '%1 - Intercompany Partner Code';        PartnerSetupPartnerNoCompanyErr: Label 'IC Partner %1 has not configured a company.', Comment = '%1 - Intercompany Partner Code';        PartnerSetupPartnerNoICErr: Label 'IC Partner company %1 has not configured intercompany.', Comment = '%1 - Intercompany Partner Code';        PartnerSetupMissmatchCodesErr: Label 'IC Partner %1 has a different code than the one you configured.', Comment = '%1 - Intercompany Partner Code';        MappingSetupIdTok: Label 'MAPPINGSETUP', Locked = true;        MappingSetupDescriptionTxt: Label 'IC Mappings';        MappingSetupICCoAEmptyErr: Label 'IC Chart of Accounts is empty';

All 196 lines

Public procedures 6 in 29

GetPartnerSetupId(): Code[20]new in 22
InsertPartnerSetupDiagnostics(var TempParentSetupDiagnostic: Record "Intercompany Setup Diagnostic" temporary; var TempChildrenSetupDiagnostic: Record "Intercompany Setup Diagnostic" temporary)new in 22
InsertICPartnerPartnerSetupDiagnostics(ICPartner: Record "IC Partner"; var TempChildrenSetupDiagnostic: Record "Intercompany Setup Diagnostic" temporary; var Status: Option)new in 22
GetMappingSetupId(): Code[20]new in 22
InsertMappingSetupDiagnostics(var ParentSetupDiagnostic: Record "Intercompany Setup Diagnostic" temporary; var ChildrenSetupDiagnostic: Record "Intercompany Setup Diagnostic" temporary)new in 22
UpdateStatus(var OldStatus: Option; NewStatus: Option)new in 22