Table 5909 Service Shipment Buffer

Base Application, Microsoft.Service.History

src/Layers/W1/BaseApp/Service/History/ServiceShipmentBuffer.Table.al87 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Service.History;using Microsoft.Finance.GeneralLedger.Account;using Microsoft.Inventory.Item;using Microsoft.Projects.Resources.Resource;using Microsoft.Service.Document;using Microsoft.Service.Pricing;using Microsoft.Utilities;table 5909 "Service Shipment Buffer"{    Caption = 'Service Shipment Buffer';    ReplicateData = false;    DataClassification = CustomerContent;    fields    {        field(1; "Document No."; Code[20])        {            Caption = 'Document No.';            DataClassification = SystemMetadata;            TableRelation = "Service Invoice Header";        }        field(2; "Line No."; Integer)        {            Caption = 'Line No.';            DataClassification = SystemMetadata;        }        field(3; "Entry No."; Integer)        {            Caption = 'Entry No.';            DataClassification = SystemMetadata;        }        field(5; Type; Enum "Service Line Type")        {            Caption = 'Type';            DataClassification = SystemMetadata;        }        field(6; "No."; Code[20])        {            Caption = 'No.';            DataClassification = SystemMetadata;            TableRelation = if (Type = const(" ")) "Standard Text"            else            if (Type = const("G/L Account")) "G/L Account"            else            if (Type = const(Item)) Item where(Type = filter(Inventory | "Non-Inventory"),                                                                   Blocked = const(false))            else            if (Type = const(Resource)) Resource            else            if (Type = const(Cost)) "Service Cost";        }        field(7; Quantity; Decimal)        {            AutoFormatType = 0;            Caption = 'Quantity';            DataClassification = SystemMetadata;        }        field(8; "Posting Date"; Date)        {            Caption = 'Posting Date';            DataClassification = SystemMetadata;        }    }    keys    {        key(Key1; "Document No.", "Line No.", "Entry No.")        {            Clustered = true;        }        key(Key2; "Document No.", "Line No.", "Posting Date")        {        }    }    fieldgroups    {    }}