-
Notifications
You must be signed in to change notification settings - Fork 687
Closed
Labels
FinanceGitHub request for Finance areaGitHub request for Finance areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update
Description
Why do you need this change?
We need to add the event to be able to assign the requestpage variables without needing to show it to the user.
Describe the request
trigger OnPreReport()
begin
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
OnBeforeRequestPageRun(PostingDate, IncludeExpenses, UseJournal, TemplName, BatchName);
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
GLSetup.Get();
if UseJournal = UseJournal::AuxJournal then begin
if not GenJnlBatch.Get(TemplName, BatchName) then
Error(Text1100000);
ReasonCode := GenJnlBatch."Reason Code";
GenJnlTemplate.Get(TemplName);
SourceCode := GenJnlTemplate."Source Code";
end;
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeRequestPageRun(var PostingDate: Date; var IncludeExpenses: Boolean; var UseJournal: Option; var TemplName: Code[10]; var BatchName: Code[10])
begin
end;
Internal work item: AB#612790
Metadata
Metadata
Assignees
Labels
FinanceGitHub request for Finance areaGitHub request for Finance areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update