Skip to content

Commit e083de2

Browse files
Eliminate remaining GB localization (#5078)
#### Summary Action "Print Remi&ttance Advice" moved from GB BaseApp. #### Work Item(s) Fixes [AB#609110](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/609110) --------- Co-authored-by: Jesper Schulz-Wedde <[email protected]>
1 parent d3bdef5 commit e083de2

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

src/Apps/W1/UKSendRemittanceAdvice/App/src/SendPmtJnlRemitAdvice.PageExt.al

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,33 @@ pageextension 4022 SendPmtJnlRemitAdvice extends "Payment Journal"
1717

1818
actions
1919
{
20+
#if CLEAN28
21+
addafter(SuggestVendorPayments)
22+
{
23+
action("UKPrintRemittanceAdvice")
24+
{
25+
ApplicationArea = Basic, Suite;
26+
Caption = 'UK Print Remittance Advice';
27+
Image = PrintAttachment;
28+
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.';
29+
30+
trigger OnAction()
31+
var
32+
GenJournalLine: Record "Gen. Journal Line";
33+
ReportSelections: Record "Report Selections";
34+
begin
35+
GenJournalLine.Reset();
36+
GenJournalLine.SetRange("Journal Template Name", Rec."Journal Template Name");
37+
GenJournalLine.SetRange("Journal Batch Name", Rec."Journal Batch Name");
38+
ReportSelections.PrintWithDialogForVend(
39+
ReportSelections.Usage::"V.Remittance", GenJournalLine, true, Rec.FieldNo("Account No."));
40+
end;
41+
}
42+
separator(Action1040007)
43+
{
44+
}
45+
}
46+
#endif
2047
addlast("&Payments")
2148
{
2249
// Add changes to page actions here

src/Apps/W1/UKSendRemittanceAdvice/App/src/SendVendLedgerEntryRemitAdvice.PageExt.al

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ pageextension 4023 SendVendLedgerEntryRemitAdvice extends "Vendor Ledger Entries
5858

5959
var
6060
RemittanceAdviceTxt: Label 'Remittance Advice';
61-
}
61+
}

0 commit comments

Comments
 (0)