Table extension 6469 Serv. Reason Code, source in 29
Source29
src/Layers/W1/BaseApp/Service/Foundation/AuditCodes/ServReasonCode.TableExt.al45 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.Foundation.AuditCodes;
using Microsoft.Service.Contract;
#pragma warning disable AS0125
tableextension 6469 "Serv. Reason Code" extends "Reason Code"
{
fields
{
field(5900; "Date Filter"; Date)
{
Caption = 'Date Filter';
FieldClass = FlowFilter;
#if not CLEANSCHEMA27
MovedFrom = 'f3552374-a1f2-4356-848e-196002525837';
#endif
}
field(5901; "Contract Gain/Loss Amount"; Decimal)
{
AutoFormatType = 1;
AutoFormatExpression = '';
CalcFormula = sum("Contract Gain/Loss Entry".Amount where("Reason Code" = field(Code),
"Change Date" = field("Date Filter")));
Caption = 'Contract Gain/Loss Amount';
Editable = false;
FieldClass = FlowField;
#if not CLEANSCHEMA27
MovedFrom = 'f3552374-a1f2-4356-848e-196002525837';
#endif
}
}
fieldgroups
{
addlast(Brick; "Date Filter")
{
}
}
}
#pragma warning restore AS0125