Table extension 6479 Serv. Warehouse Source Filter
- App
- Base Application
- Namespace
- Microsoft.Warehouse.Request
- Versions
- 25-28
- Extends
- Warehouse Source Filter
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/Service/Warehouse/Request/ServWarehouseSourceFilter.TableExt.al31 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.Warehouse.Request;
tableextension 6479 "Serv. Warehouse Source Filter" extends "Warehouse Source Filter"
{
fields
{
field(110; "Service Orders"; Boolean)
{
Caption = 'Service Orders';
DataClassification = CustomerContent;
InitValue = true;
trigger OnValidate()
begin
if Type = Type::Outbound then
CheckOutboundServiceDocumentChosen();
end;
}
}
local procedure CheckOutboundServiceDocumentChosen()
begin
if not ("Sales Orders" or "Purchase Return Orders" or "Outbound Transfers" or "Service Orders") then
Error(MustBeChosenErr, FieldCaption("Source Document"));
end;
}