ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Page 256 "Payment Journal" - CurrentJnlBatchName triggers
Hi there,
I would like to ask for a two new publishers on the page 256 "Payment Journal", in the page field CurrentJnlBatchName OnLookup() and OnValidate() triggers. The same triggers are on the page 39 "General Journal".
field(CurrentJnlBatchName; CurrentJnlBatchName)
{
ApplicationArea = Basic, Suite;
Caption = 'Batch Name';
...
trigger OnLookup(var Text: Text): Boolean
begin
CurrPage.SaveRecord();
GenJnlManagement.LookupName(CurrentJnlBatchName, Rec);
SetControlAppearanceFromBatch();
OnAfterSetControlAppearanceFromBatch(CurrentJnlBatchName); // NEW EVENT
CurrPage.Update(false);
end;
trigger OnValidate()
begin
GenJnlManagement.CheckName(CurrentJnlBatchName, Rec);
CurrentJnlBatchNameOnAfterVali();
OnAfterValidateCurrentJnlBatchName(CurrentJnlBatchName); // NEW EVENT
end;
}
// NEW EVENTS
[IntegrationEvent(false, false)]
local procedure OnAfterSetControlAppearanceFromBatch(CurrentJnlBatchName: Code[10])
begin
end;
[IntegrationEvent(false, false)]
local procedure OnAfterValidateCurrentJnlBatchName(CurrentJnlBatchName: Code[10])
begin
end;
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 13591.