Table 6706 Booking Service Mapping

App
Base Application
Namespace
Microsoft.Booking
Versions
17-28

Fields, 3Keys, 2Procedures, 1

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/OtherCapabilities/Booking/BookingServiceMapping.Table.al50 lines, Copyright (c) Microsoft Corporation. MIT

namespace Microsoft.Booking;

table 6706 "Booking Service Mapping"
{
    Caption = 'Booking Service Mapping';
    DataClassification = CustomerContent;

    fields
    {
        field(1; "Service ID"; Text[50])
        {
            Caption = 'Service ID';
        }
        field(2; "Item No."; Code[20])
        {
            Caption = 'Item No.';
        }
        field(3; "Booking Mailbox"; Text[80])
        {
            Caption = 'Booking Mailbox';
        }
    }

    keys
    {
        key(Key1; "Service ID")
        {
            Clustered = true;
        }
        key(Key2; "Booking Mailbox", "Item No.")
        {
        }
    }

    fieldgroups
    {
    }

    procedure Map(ItemNo: Code[20]; ServiceID: Text[50]; Mailbox: Text[80])
    begin
        Init();
        "Item No." := ItemNo;
        "Service ID" := ServiceID;
        "Booking Mailbox" := Mailbox;
        if not Insert(true) then
            Modify(true);
    end;
}