Query 9063 Count Purchase Orders, source in 29

Source29

src/Layers/W1/BaseApp/Purchases/Document/CountPurchaseOrders.Query.al36 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.Purchases.Document;

query 9063 "Count Purchase Orders"
{
    Caption = 'Count Purchase Orders';

    elements
    {
        dataitem(Purchase_Header; "Purchase Header")
        {
            DataItemTableFilter = "Document Type" = const(Order);
            filter(Completely_Received; "Completely Received")
            {
            }
            filter(Responsibility_Center; "Responsibility Center")
            {
            }
            filter(Status; Status)
            {
            }
            filter(Partially_Invoiced; "Partially Invoiced")
            {
            }
            column(Count_Orders)
            {
                Method = Count;
            }
        }
    }
}