Modifying a Report Workflow

Use this general workflow as a guideline for how to add and modify and then select a custom report layout for use in Subscription Billing. The custom report layout is a standard Microsoft Dynamics 365 Business Central feature. For more information, see the Microsoft Dynamics 365 Business Central documentation.

User Defined Fields

The user-defined fields that you can add are set up on the following pages: 

Localized Reports

The following table shows the reports to which the user-defined fields can be added.

Reports that allow user defined fields
Report/Object ID Report Name
Sales
1303 Draft Invoice
1306 Sales - Invoice
1307 Sales - Credit Memo
23065956 SBS Sales Invoice - EU
23065957 SBS Sales Invoice - US
23065959 SBS Sales Invoice - ES
23065997 SBS Sales Invoice - NA

Note icon. Note: If you are using one of or both SBS and MEM user defined fields, a report layout based off of the 1303, 1306, and 1307 report IDs shows both MEM and SBS user defined fields in the report layout.

Add a Custom Report Layout

To add a SBS report, follow these steps: 

  1. Select Search and type, report layout. From the results, select Report Layout.
  2. In the Search box, type SBS, which advances the list to the Subscription Billing reports.
  3. Tip: The Subscription Billing report IDs start with 23065. Review the list to see which reports are available.

  4. Select the report you want and select Process > Custom Layouts.
  5. If no copies of the report are available in the Custom Reports layouts list, select New > New to create a copy of the layout in the format you want.
    Select the RDLC or Word layout, and select OK.

The custom report layout appears on the Custom Reports Layouts list and can be customized.

Add SBS Fields to a Word Report Layout

For more information about customizing a Word report layout, see Add Fields to a Word Report Layout in the Microsoft Dynamics 365 Business Central documentation.

To add SBS fields to a custom report layout, follow these steps: 

  1. If the custom report layout does exist, add a custom report layout.
  2. From the Custom Reports layouts list, select the layout, and then select Layout > Export Layout.
  3. The layout is exported to where you have set up your download location.

  4. Open the custom report layout in Microsoft Word.
  5. If the Developer tab is not available, open the Word Options to customize the ribbon.

  6. In the Developer tab, select XML Mapping pane and in Custom XML Part, select the custom XML part for ADD INCLUDE report, which is typically last in the list.
  7. Expand Header to see all the custom XML parts that you can add.
  8. Tip: SBS fields start with Bssi_UDF.

  9. Put the cursor at the place you want to add the field in the report, right-click the XML part you want to add, and select Insert Content Control > Plain Text.
  10. Save the changes.
  11. Back on the Custom Reports layouts list, in Microsoft Dynamics 365 Business Central, import (Layout > Import Layout) and then update (Layout > Update Layout) the layout.

Add SBS Fields to a RDLC Report Layout

For more information about customizing a RDLC report layout, see Designing RDLC Report Layouts in the Microsoft Dynamics 365 Business Central documentation.

To add SBS fields to a custom report layout, follow these steps: 

  1. If the custom report layout does exist, add a custom report layout.
  2. From the Custom Reports layouts list, select the layout, and then select Layout > Export Layout.
  3. The layout is exported to where you have set up your download location.

  4. Open the RDLC layout in SQL Server Report builder.
  5. Expand the Datasets folder to get all fields in that are in Microsoft Dynamics 365 Business Central plus the additional SBS fields.
  6. Tip: SBS user-defined fields start with Bssi_UDF.

  7. Drag the SBS fields to the report as needed save the changes.
  8. Back on the Custom Reports layouts list, in Microsoft Dynamics 365 Business Central, import (Layout > Import Layout) and then update (Layout > Update Layout) the layout.

Select the Custom Report Layout to Use

After you have modified a report layout, you must select your custom report layout in the Report Layout Selection. If you do not select the modified report, Microsoft Dynamics 365 Business Central continues to use the default report that is available in the Microsoft Dynamics 365 Business Central.  

  1. Back on the Report Layout Selection page, for the report line, change the Selected Layout to Custom Layout.
  2. On the Custom Report Layouts dialog, select the custom layout that you want to use, and select OK.
  3. The line is updated with the layout. If needed, you can update the Custom Layout Description.

    Tip: Make note of the report ID that you want to use.

  4. Select Search and type, report selection. From the results, select the Report Selection page for the specific type you want. For example, you can select sales.
  5. On the Edit Report Selection page of your choice, select the Usage option you want. The usage option is available for sales.
  6. In the lines, change the Report ID to the Subscription Billing report ID that you want to use for the report.
    If you had noted the report ID, specify the report ID. Or you can search for the report you want.