-
Notifications
You must be signed in to change notification settings - Fork 687
Closed
Closed
Task
Copy link
Labels
FinanceGitHub request for Finance areaGitHub request for Finance areaevent-requestRequest for adding an eventRequest for adding an event
Description
Why do you need this change?
Hello,
we need an event in the page 118 "General Ledger Setup" to set and update a different "Payment Discount Grace Period" for Purchase.
Can you please add this?
Describe the request
field("Payment Discount Grace Period"; Rec."Payment Discount Grace Period")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the number of days that a payment or refund can pass the payment discount due date and still receive payment discount.';
trigger OnValidate()
var
PaymentToleranceMgt: Codeunit "Payment Tolerance Management";
ConfirmManagement: Codeunit "Confirm Management";
begin
OnBeforeValidatePaymentDiscountGracePeriod(Rec, xRec);
if ConfirmManagement.GetResponseOrDefault(Text001, true) then
PaymentToleranceMgt.CalcGracePeriodCVLedgEntry(Rec."Payment Discount Grace Period");
end;
}
Event Publisher:
[IntegrationEvent(true, false)]
local procedure OnBeforeValidatePaymentDiscountGracePeriod(Rec: Record "General Ledger Setup", xRec : Record "General Ledger Setup")
begin
end;
Internal work item: AB#611659
Metadata
Metadata
Assignees
Labels
FinanceGitHub request for Finance areaGitHub request for Finance areaevent-requestRequest for adding an eventRequest for adding an event