Report Selection

Hello All,

In BC Sandbox, I have developed few reports from range 50102 to 50116. All in VS Code

Reports are working fine if I run them directly(means- Report Layout Selection----> Search—>Action---->Custom Layouts---->Report---->Run Report).

But if

1.I run them without Custom Layout(Report Layout Selection----> Search—>Report–>Run Report) preview is coming blank.

2. if i mention my report id in report selection(for Sales Invoice i removed 1306 to 5017) and and run from there then also preview is blank.

  1. if I create new action on page for my reports and run from there same result preview is blank.

filters are working fine.

what may be the reason? where I am missing?

Thanks in advance.

Any suggestion??

My guess is that it cannot see if your layout is a word layout or a RDLC layout. Try adding som visual stuff to both types of your report to test it.

And alså what does About This Page say - When you have printed the blank layout?

Hi Nikitha,

Not really sure what is happening to you. As I see it then it could be two things.

When you created your new reports, did you start all over, or did you base it upon the same standard reports, that you are replacing?

If you are creating a new sales invoice report, then its important that its data sets are structured the same way, i.e. sales invoice header is first. Otherwise BC cannot link the record your are trying to print to the report. Personally then I would never start with a new report, but always copy the standard and modify it.

This may be one reason.

What type of layout is it? RDLC or Word? And when you run it from custom layouts, is it your default layout? Do you have more layouts than the default?

You must be sure that the layout you successfully run from custom layouts also is the reports default layout that you have specified in the header of your report AL object.

Did you find a solution to this? If yes, let’s know what helped you, if not please answer the question Palle and I asked you. [emoticon:c4563cd7d5574777a71c318021cbbcc8]

Hi Erik,

I changed ‘Selected Layout’ from RDLC BuiltIN to Custom Layout and it working fine for me.

Thanks.