Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,33 @@ pageextension 4023 SendVendLedgerEntryRemitAdvice extends "Vendor Ledger Entries

actions
{
#if CLEAN28
addafter(SuggestVendorPayments)
{
action("Print Remi&ttance Advice")
{
ApplicationArea = Basic, Suite;
Caption = 'Print Remi&ttance Advice';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an action with this same caption also exist in APAC but that runs a different report. This app is available also for AU/NZ so something needs to be done there...

Image = PrintAttachment;
ToolTip = 'Print the remittance advice before posting a payment journal and after posting a payment. This advice displays vendor invoice numbers, which helps vendors to perform reconciliations.';

trigger OnAction()
var
GenJournalLine: Record "Gen. Journal Line";
ReportSelections: Record "Report Selections";
begin
GenJournalLine.Reset();
GenJournalLine.SetRange("Journal Template Name", Rec."Journal Template Name");
GenJournalLine.SetRange("Journal Batch Name", Rec."Journal Batch Name");
ReportSelections.PrintWithDialogForVend(
ReportSelections.Usage::"V.Remittance", GenJournalLine, true, Rec.FieldNo("Account No."));
end;
}
separator(Action1040007)
{
}
}
#endif
addlast("F&unctions")
{
// Add changes to page actions here
Expand Down
Loading