Remittance Advice modification in Dynamics 365 Business Central

Sometimes I blog just so I don't forget something I learned, so this is one of those times. Special mention Brad Prendergast for his help on this one. 

The Remittance Advice, Report ID 10083 has the full bank transit and bank account number shown. I wanted to figure out how to only show the last four digits of each since this report layout is emailed out when you do electronic payments. 

Here's the solution:

  1. Create a custom layout for report 10083.
  2. Open the layout in Microsoft Report Builder.
  3. Right click on the field that you'd like to update and select Expression. 
    1. Update the text with the following: ="***"+Right(Cstr(Choose(4,Split(Cstr(ReportItems!values.Value),Chr(177)))),4)


  4. Save the layout and import into Custom Layouts within BC. 
  5. Select the custom layout as the default report in the Report Layout Selections page. 

 ------

Kristen Hosman is a Microsoft MVP in Denver. She works with Dynamics 365 Business Central and related technologies. You can also connect with her through this link: Kristen Hosman | Linktree


Comments

Popular posts from this blog

Applying posted credit memos to posted invoices in Microsoft Dynamics 365 Business Central

Add field to page: all fields (Preview) Dynamics 365 Business Central v23

Dimension Corrections in Microsoft Dynamics 365 Business Central