BC Teardown #15: The invoice layout nobody dares to touch

BC Teardown #15: The invoice layout nobody dares to touch

“Just move the logo a bit to the left” should not be a project.

The pain

Changing the invoice layout means an RDLC file only one developer understands. A logo tweak turns into a ticket, a quote and a wait.

Why it happens

Older report layouts need developer tools to edit, so simple business changes get stuck in the dev queue.

Before: The layout change loop

1. Find the developer who knows RDLC
2. Wait for them
3. Edit, compile, deploy
4. "Can you move it back a bit?"
5. Go to step 1

After: A Word layout your team can edit

reportextension 50190 "DF Sales Invoice"
  extends "Standard Sales - Invoice"
{
  rendering
  {
    layout(DFInvoice)
    {
      Type = Word;
      LayoutFile = './Layouts/DFInvoice.docx';
    }
  }
}

The result

Your team edits the invoice in Word. Developers set up the data once and step out of the way.

Tip: Users can also copy and adjust layouts on the Report Layouts page, no code needed.

Download this teardown as a PDF


Got a Business Central problem like this? Free 30 minute review of your setup. Senior Microsoft certified developers, and you talk to the person writing the code. Contact Dataflow Solutions.