Document Customizer User Manual

Prev Next

Document Customizer
Manual

A TOOL TO CREATE AND MODIFY REPORTS IN MICROSOFT NAV

Version 720.19.02– July 2019

1. Disclaimer

This documentation pertains to an earlier version of Business Central (Microsoft NAV); however, it remains highly relevant. Although the images are from the previous system, the functionality and setup process for the application are largely unchanged. New features have been introduced since the documented version and can be found in the “What’s new and Changed” section.

2. Introduction

Document Customizer is an add-on created by Abakion A/S to make the managing of reports in Microsoft’s NAV easier and more efficient. It is built on the idea of making it possible for end-users to manage their own reports without extensive help from IT-consultants.

This manual will guide you through creating reports in NAV with Document Customizer. All companies have different priorities and wishes in terms of their reports. Therefore, this manual is not a showing of ‘how to create the correct report’, but a guide through all the different options and possibilities Document Customizer offers. This manual shows you how to create reports from scratch with a chronological advancement, but it is also possible to read each chapter independently. Use this document when trying Document Customizer for the first time in order to understand the tool and all the possibilities, and in the future as a quick guide to the various elements of report creation. The possibilities in terms of creating different layouts is endless so please be aware that this manual can only be used as a support during the creation of the reports. The tool is intuitively structured so that everyone can learn to use it quickly and use intuition during the process. You can preview the reports an unlimited number of times and use that function as much as needed in order to keep track with the development. After using Document Customizer a couple of times you experience the implication of the many options and the work will get significantly more efficient. Nevertheless, please have patience and accept that previewing the report numerous times is part of the learning process.

With Document Customizer, it is possible to create several different layouts at a time and link them to a company. This manual will in some of the sub-chapters show you how to manage more than one layout at a time, but it is highly recommended to start out by only creating one single layout in order to gain experience and learn how to work with Document Customizer. After successfully creating the first layout, it is very easy to add another one, so do not worry if the need is for more than one layout.

1. To shortly introduce the structure and parts of the reports in Document Customizer, here is shown how a Sales Invoice Report looks like with standard settings after just generating a general layout

A sales invoice sample diagram with red numbered callouts (1–12) showing layout parts: title, company logo, bill-to address, ship-to address, header, section 1, columns, total captions, section 2, VAT amount specification, section 3, and footer.

1. Title

2. Company logo

3. Bill-to address

4. Ship-to address (appears separately if it is different from the bill-to address)

5. Header

6. Section 1

7. Columns

8. Total Captions

9. Section 2

10. VAT amount specification

11. Section 3

12. Footer

4

3. Setup of Document Customizer

This chapter reviews how to start the work on creating your own report layout with Document Customizer. It will be shown how to generate a setup and how to manage the general settings such as the font size, logo and element positioning. Please be aware that the setup applies to all companies in the database unless otherwise defined!

3.1 Activate Document Customizer

For Document Customizer to work, the license should be included and the add-on should be activated.

  1. Search for Supply Chain Box Setup

  2. In the “Sales Suite” mark Document Customizer

  3. The setup will now be added automatically, with the standard setup.

3.2 Generate setup

If the set-up is blanked, or if deleted mistakenly, it is possible to set it up automatically from within the Document Customizer layouts, with the standard setup.

  1. Start by opening Document Customizer using the search function

  2. Press on “Layout” in the ribbon

  3. Under the tab “Actions”, press “Generate Setup” to create a base for the report

[IMAGE PLACEHOLDER: Screenshot of Document Customizer window showing the ribbon with "Layout" and the "Actions" tab, highlighting the "Generate Setup" button, and the Dynamic Reports Layouts table below]

  1. The setup is now generated and some general settings have been applied. If data in already in the underlying tables, you will be asked if you want to replace or add setup.

  2. These settings are created based on a standard report layout. It is now possible to work on this layout and modify the report until it looks as desired.

4. Document Customizer Menu


Document Customizer can be found by searching in the search menu.

On the start page is it possible to see all the reports that have been setup in the company, and if this is activated as a standard report.

In the ribbon, several actions are possible.

Detailed setup: will open the detailed setup of the document marked on the lines

Layout: will open the overall setup of the document, such as font and picture

Run Setup Guide: This will open a wizard that will take you through the most common changes in a report

Test Report layout: This will open the print function of the document marked, and will let you preview or print a test document

Activate as standard report: This will set the marked document as the standard report in the system.

Remove as standard report: This will reset the report to use the standard report instead of Document Customizer

Screenshot of the Document Customizer Dynamic Reports window showing a list of report entries with columns such as Report ID, Description and Active as Standard Report, along with ribbon actions across the top of the window.

4.1 Activating the reports

Directly in the Document Customizer menu, it is possible to activate Document Customizer, as standard reports.

Mark the document you want to activate and press on “Activate as standard reports”.

In the column “Activated as standard reports” it is possible to see if the report is activated or not.

If you want to deactivate the Document Customizer, mark the report and choose “Remove as standard reports”.

Screenshot of a Dynamic Reports dialog from the Document Customizer showing a list of report templates. The window toolbar highlights buttons labeled Set as standard report and Remove as standard report. The table includes a column titled Activated as Standard Report with Yes and No values; one row is outlined in red.

7

5. Manage Layouts – overall setup

In the overall setting in “Document Customizer Layouts” settings for fonts, font size, logo and position of addresses are configured.

Screenshot of the Dynamic Reports Layouts window showing a table of layout entries with columns for Layout Code, Report, Font, Font Size, Table Header Font Size, Footer Font Size, Row Color settings, Show Logo checkbox and Background Image column. The window includes toolbar actions at the top and example company layout rows visible.

5.1 Layout code

It is possible to have more than one layout even in the same company. E.g. if two different brands are in the same company, it is possible to have two different logo’s applied to the documents. This can be managed by the layout code.

  1. You can make a new Layout code, by copying an existing setup line.

  2. Mark the line you want to copy, in the tab select Actions and press on “Copy to new”        

    Screenshot of the Dynamic Reports Layouts window with the Actions toolbar visible and a selected layout row. The Copy to new action is highlighted on the toolbar to indicate copying an existing setup line.

  3. State a new code, in the field “New Layout Code” and press ok.        

    Dialog box titled Edit - Confirm New Layout showing a labeled field New Layout Code: with an input box outlined in red and Yes and No buttons beneath it.

Your setup has now been copied, and you can edit it as you please with other pictures, fonts etc.

8

5.1.1 Naming of Report Code

If working with more than one Layout code remember to have a blank code, like below, this will be used as the default if nothing else is actively chosen.

5.2 Report ID

The setup can also be done for each Report ID, if different setup is wanted for each report. If this is desired Report ID is specified on the line. But please note it can't be used in combination with Layout code. It is one or another.

5.3 Design

The rest of the setup columns is modification of the layouts appearance. Such as Font, Font Size, Position of addresses and logo.

  1. Mark the layout you want to modify, and press on edit in the ribbon

    Screenshot of the layouts list with the Edit button in the ribbon highlighted

  2. In Lines you can define the font size for the table header, and if the lines on the report should contain a color. "Row Color 1" and "Row Color 2", define if the lines on the report should be the same or different colors. "WhiteSmoke" makes the lines light grey and "Transparent" will be transparent.

    Screenshot of Report Options dialog showing Lines section with Table Header Font Size, Row Color 1 and Row Color 2 fields highlighted

3.  In General you can edit, Font and font size, and title font size.

Title position defines if the title should be right or left. The Title and Logo are place opposite each other on the page and the logo will automatically be shown opposite.

The report is as a default set only to show page number if the report is longer than one page. It is possible to mark the “Show Page Number if only 1” if you also want page number shown when the report only is covering one page.

Another relevant modification could be the positioning of the logo. The higher the number, the more to the right the logo moves.

You can mark if Logo’s should be visible on the reports or not.
If the “Logo” is left blank, the logo is automatically imported from Company Information, as long as “Show Logo” is active. To add a picture right click with the mouse and select “Select Picture…”. The format should be PNG.

It is also possible to add a background picture. The formats for the picture is 713px x 1009px and should be DPI 96. The picture should be in PNG format. There is a margin of 1,5 cm all around the document, so this should be taken into account when designing the background pictures. Please be aware that NAV does not handle graphics in high resolution, so your background pictures containing small details, might not be as desired. We therefore only recommend using this functionality for watermarks on documents.

Screenshot of a Report Options dialog showing General settings on the left (Font, Font Size, Title Position, Title Font Size, Show Page Number if only 1, Logo Position, Show Logo) and a preview area on the right with a company logo image and a Background Image box; window chrome and toolbar visible above the dialog

10

4. In adress it is possible to set the font size of the address and the position this.

Screenshot of an Edit - Report Options - COMPANY1 - 0 dialog window. The dialog shows a toolbar across the top (icons and commands like View, New, Delete, Remove Logo, Remove Background Picture, OneNote, Notes, Links, Refresh, Clear Filter, Go to Previous/Next). Below is a form area with Applies to and Layout Code. In the main form the Lines section contains a General subsection and an Address panel outlined in red. The Address panel displays labeled fields such as Address Font Size (value 10,00) with unit pt, Address Position TextAlign set to Left, Address Vertical Pos. (value 10,00) with unit pt, Address Horizontal Pos. (value 20,00) with unit pt, and corresponding ShipAddr. fields on the right with numeric values (for example 10,00 and 285,00). There are dropdowns and input boxes visible for each setting, and an OK button at the bottom-right of the dialog.

11

6. Manage Detailed Setup - setup of individual reports

After managing the general settings, it is time to open “Document Customizer Setup”. You now move from the general overall settings, to the managing the individually reports (invoice, credit memo etc.).

screenshot of Document Customizer Setup window showing a list of report templates with columns (Report, Description, Active as Standard Report) and a toolbar at the top

6.1 Templates

Before starting editing your reports, you should make general decision on templates. Will you edit in the standard templates already provided, or would you like to used them as a template for your own templates, so you always have the standard template to go back to.

The procedure for making templates based on standard templates are the same for headers, columns, total captions, footers and sections. In this section header will be used as a case example.

6.1.1 Make a new template based on a standard

This chapter describes how to make your own templates based upon standard templates.

  1. In Header, Open ‘Advanced’.

screenshot of Dynamic Reports Content window showing header templates grid, header columns and toolbar with the 'Advanced' option highlighted

2. Here is shown the current Header Templates

12

Screenshot of Select - Header Templates window showing a list of header templates with columns (Template, Description, Table, Fields in First Column, Fields in Section, Header Vertical Pos, Header Vertical Pos Units) and toolbar icons across the top

3. Start by selecting one of the existing master templates, Sales Invoice, and use the function ‘Copy to new’ under the tab ‘Actions’.

Screenshot of Header Templates window with the Copy to new action/button highlighted in the Actions tab

4. You are now creating a new Template code that is identical with the master Template Code. By doing that you will not be working from scratch but will have a basis for the design.

5. Give the new Template a new name.

Screenshot showing a small dialog overlay prompting to enter the new template code/name displayed over the Header Templates list

13

  1. The new Template is now created and listed with the other templates. Remember to change the Description, so that it is more saying.

    <Screenshot of a Header Templates dialog showing two columns labeled Template and Description with multiple template rows listed and one row highlighted.>

  2. Repeat this procedure with every template for header, columns, footers etc.

7. Managing changes in reports


In this part it is shown how to preview the reports and how to manage the different parts of the report by adjusting and designing the layout. It is important in working with Document Customizer to understand the different parts of the reports and the position of the elements.

7.1 Editing the reports

It is possible to edit the report in from the list, but it is also possible to edit them from the card view. In the card view you will have more options to edit in.

From the list, you can press edit, this will open the card view.

Screenshot of a Dynamic Reports list view showing the ribbon with Edit and report-related buttons highlighted, and a table row for Dynamic Reports Content.

Card view for editing the report template.

Screenshot of a card view dialog for editing a report template, showing fields for Report Template, Description, Header, Header Rows, Columns, Supplementary Columns, Footer, captions and print options.

On this page you can setup alignment of sections, specify captions on addresses, and documents, and choose more information to print on the document. See section “Show/hide extra information_” for more

7.2 Preview a report

When working with the reports, it can be useful to check one’s changes repeatedly. This can be done directly from the Document Customizer constant page, by the function “Run Report”.

  1. Mark a report that you want to check and press “Run Report”.

  2. Select a document no and click “Preview” in order to see the layout of the report. Please be aware that missing data in NAV will result in an incorrect layout.

Two side-by-side screenshots showing an Edit - Sales - Invoice options dialog on the left and a report preview/results pane on the right, illustrating the Preview workflow and filter/result area of the invoice report.

When previewing the report it is recommended to note the areas of the report in which modifications is needed in order to remember everything. Nevertheless, remember that you can preview the report an unlimited number of times and the first couple of times using Document Customizer this will be done quite a lot when testing the effects of different settings. If you realize that some of the general settings are wrong just go back and adjust, and then move back into Document Customizer Setup. When all the general settings are correct, you will now work with Header, Columns, Footer and Section 1-3.

7.2.1 Preview with Report Template, Layout Code and Language Code

When previewing or printing the reports it is also possible to change the Report Template, Layout Code and Language Code. Please see sections for the description of this. See 8.3 Choose Layout code and Template code when printing for info.

  • Report Template: Relates to the individual report level

  • Layout Code: Relates to the overall setup, with fonts and logos

  • Language Code: Makes it possible to preview or printing the captions of the report in another language than specified on the document.

Screenshot of the Edit - Sales - Invoice options dialog focused on the Report Template, Layout Code and Language Code fields, with the relevant fields highlighted on the dialog window.

7.3 Managing All Captions

Across all reports captions are used to handle the translations of captions used for fields and columns.

  1. The total list can be found in the ribbon, in 'All captions'.

    Screenshot of an application ribbon with the All Captions button highlighted inside the ribbon and various report action icons visible.

    Dynamic Reports Content

  2. The list comes up with all captions already defined. CaptionCode is the name of the Caption.

    Window showing a list of caption entries with a CaptionCode column header and multiple caption names listed in a scrollable list.

  3. The captions actual text is defined in 'Translation'

    Dialog showing the captions list with a Translations action/button highlighted in the toolbar indicating where caption translations are defined.

17

4. In the ‘Caption Translations’, each specified language is linked with an actual CaptionText. You can add as many translations as wanted.

Screenshot of the Caption Translations dialog showing a small window with a table of languages and CaptionText. The table columns show Language and CaptionText with sample rows such as DAN - Momspct. and ENU - VAT %, and an OK button at the bottom right.

5. Some CaptionsCode contains a parameter, stated as %1. It is not possible to change this parameter. It has a default value connected to the specific caption.

Screenshot of the Captions dialog showing a list of CaptionCode values. One list entry VAT %1 is highlighted in the list. The window shows column header CaptionCode and a vertical list of codes.

6. Please note that the captions are used across the reports. So if the text is changed, it will be changed everywhere that the specific caption is used. You might be better off creating a new caption to your specific needs than changing and already existing one. You do this be pressing ‘New’.

Screenshot of the Captions dialog showing the list of caption codes and the application ribbon with the New action highlighted; the caption list is visible below the ribbon.

7.3.1 Setting the default language for captions

It is possible to choose which language code that should be used as a default, if it has not been defined on the costumer card.

  1. In Actions press on “Default language”        

    Dialog titled Edit - Captions showing the Actions menu with the Default language option highlighted and a list of caption codes in the main pane

  2. Choose the language that you want to use as default        

    Report Pack Setup dialog displaying a Default Language dropdown with ENU (English) selected and a list of available language codes visible

  3. The system will now use the ENU caption, when not other way defined.

  4. Please note that in order for it to work, you will still need to have translated all captions into the chosen language.

  5. If you chose a language that have not been translated the system will take the translation for the first alphabetic language. In this case as we only have DAN and ENU, it would take the DAN caption translation.

7.3.2 Translate captions in Excel

It is possible to export all your captions to Excel and translate then and import them back into the system. This makes it fast to ass translations to new language.

  1. In Captionm in the tab Actions, choose Export to excel

Screenshot of the application window showing the Captions list with the Actions tab highlighted and an Export to Excel option selected. The dialog displays CaptionCode and Default Caption columns with several caption rows visible and an OK button at the bottom right.

  1. Define which language you want to export, and press ok

Dialog titled Export information value language or Caption Translations showing a language filter set to ENU with options to Schedule, OK, and Cancel. The filter area highlights Language = ENU in a small pane.

  1. Open the Excel file.

  2. Add the New Language code and the Caption text

Excel spreadsheet screenshot showing columns labeled CAPTION CODE, CaptionText, and highlighted columns New Language Code and New Caption Text with multiple rows of caption entries and sample values such as ENG in the language code column.

5. You can also add new caption for multiple caption in the excel file. Give it a Caption in the first column and add the language code and the caption text for each language defined.

Spreadsheet screenshot showing columns of caption entries and translations. The sheet lists items like VAT REGISTRATION NO., VENDOR ADDRESS, VENDOR INVOICE NO., with columns for language codes (e.g., ENG, ENU) and translated caption text; a row near the bottom is highlighted with a red outline showing New caption and language code ENU.

6. Save the file.

7. Press on Import from excel, in the Caption window.

Application window screenshot titled Edit - Captions showing a toolbar with Import from Excel and Export to Excel options; main pane displays a grid of caption codes and default captions such as ACCOUNT CODE, AMOUNT, etc., with an Import action highlighted in the ribbon.

8. Find you file and press on OK.

9. Be because we added a new caption, you will be asked if you want to add it. Press yes if you want to add it, else press no.

10. All your translated captions have been imported.

7.4 Managing Report Template

There are cases where it is wanted to use the same report, with small changes between them. E.g. A Sales Order Confirmation and a Sales Proforma Invoice is nearly the same except for the caption of the document title and the header. This can be achieved with the function of layout code.

  1. Mark the document that you want to make a similar template of. In the ribbon tab Action, press on Copy to new.

    Screenshot of the application showing the Dynamic Reports Content window with the Actions ribbon tab; the Copy to new action is highlighted in the ribbon.

  2. Give it a template name and a description. It is possible to use the same template name for more than one document.

    Dialog box titled Edit - Confirm New Report Template showing fields New Template Code and New Description with example values entered.

  3. Edit the new Report template as you want to

    Screenshot of the Report Template editor window listing templates, headers and columns with the toolbar of editing icons across the top.

  4. When printing the document, it is possible to choose which layout to use, and then it is possible to choose Proforma invoice.

    Print/preview dialog showing the Report Template field populated (example: FOREIGN CUSTOMER) and layout selection options on the right side of the dialog.

7.5 Printing different Layouts, Templates and Languages

When printing the reports, it is possible to choose both a Layout, Report Templates and Language code and make endless combinations.

  1. In the Print screen choose a layout code. The layout code is automatically filtered to only showing the ones relevant for the report in question. Shown here is the layout for the Sales Order Confirmation.
    If the layout code is left blank, the system will take the blank layout. If there are no blank layout for the specific report, the system will automatically print out the layout that alphabetically comes first.

Screenshot of the application print/report dialog showing a list of Posted Sales Invoices and modal dialogs for Saved Settings and Dynamic Reports Content. The image highlights the 'Layout Code' and 'Report Template' fields and the OK button in the Dynamic Reports Content window.

23

  1. It is also possible to choose a Layout code, where the overall settings with logo is defined.

    Screenshot of a Posted Sales Invoices application window showing the report print/options dialog. The image displays the Layout Code field highlighted, a Dynamic Reports Layouts window listing layout codes with font and size columns, and dialog buttons including an OK button.

  2. Thirdly it is possible to print out the report in different languages. If the field is left blank, the report will be printed in the Language Code define on the customer card. Please note that the translations around the system should be in place for this translations to work. From a report perspective captions needs to be translated. Other translations such as "Item translations" will need to be in place.

    Dialog screenshot titled Edit - Sales - Invoice showing the Saved Settings panel with a Language Code dropdown and a list of language codes (e.g., EN, ENU) visible for selection.

24

7.6 Managing Header

A printed invoice page within a thin black border. Top-left shows the title Invoice and Page 1 of 1. Top-right displays the KILDEMOES logo. Beneath the title is the billing address: Future Bikes Køge, Jomfru Ane Gade 56, DK-4600 Køge. A red-outlined information box contains invoice metadata: on the left Customer No. 30000, VAT Reg. No. 53343578, Order No. 10039, Salesperson SWS, Document Date 8 March 2017; on the right Invoice No. 103036, Posting Date 8 March 2017, Shipment Method Free on Board, Payment Terms Current Month, Due Date 31 March 2017. Below is a line items table listing entries such as 1000 City Bike 8.00 PCS Unit price 5,399.00 Amount 43,192.00 and 1001 City Colibri Bike 4.00 PCS Unit price 7,299.00 Amount 29,196.00. To the right of the items are totals: Total DKK Excl. VAT 72,388.00, VAT 25% 18,097.00, and Total DKK Incl. VAT 90,485.00. Further down is a VAT Amount Specification table with a row VAT25 25 72,388.00 72,388.00 0.00 72,388.00 18,097.00 and a final Total 72,388.00 72,388.00 0.00 72,388.00 18,097.00. The bottom of the page shows company contact and bank details in small text.

25

  1. In the setup table choose between 15 or 8 fields in each side of the header. The left fields will be numbered 1-14, right fields will be numbered from field 15 and forward.

    Screenshot of the Dynamic Reports Content setup window showing a table of report templates; a red box highlights the Header Rows dropdown with options 8 and 15 visible.

  2. To manage reports header content, mark a line and press “Header”

    Screenshot of the Dynamic Reports Content window with the toolbar visible; the Header button in the toolbar is highlighted, and a report row is selected in the list below.

  3. This is the menu for editing the header. Here you choose which information will appear in the header of the report. The header consists of 8 or 15 lines to the left (No. 1-15) and 8 or 15 to the right (No. 16-23). It is not necessary to have data on both sides of the report or to have the same number of lines; it can be combined and built in any way that suit your needs.

  4. You can inactivate any field without deleting anything. This way you can quickly control the number of fields in the header. However, please be aware that the field will not appear without any data unless you activate the function ‘Show if no data’ just beside the ‘Active’ function.

5. The context of the lines is determined by the Table No. and Field No.

Screenshot of the Edit - Header Fields window showing a grid/list of header fields with columns such as No., Active, TableNo, Field No., Field Caption, etc. The image includes red annotated boxes and arrows marking Left and Right positions for a field.

6. Either you can decide to modify the existing header fields or you can delete them and create new ones.
If you would like to add a field somewhere in between other fields use the ‘Insert Separator’ function which will automatically adjust the order of the fields.

Screenshot of the Edit - Header Fields window with the toolbar visible and the Insert Separator icon highlighted; the header fields list is shown where separators can be inserted between fields.

7. If you want to add a new line to the bottom just click one the empty line. Assign the new field a number. Remember that the number determines the position of the field in the header

  1. Select the table and then press on the Field No. to pick the desired information

  2. Return parameters are parameters code on the report, that you want to print out on the report with a given caption. This is used eg. On the statement, where the date range is set in rune time, and therefore is not a field we can fetch on a table or in a field.

  3. The DateFormat field has two options; short and long format, which relates to the date fields. “13 august 2014” is a long format. As an alternative a short format, that corresponds to the current language local setting of the system, can be used. For example it will be “13-08-14” for Danish language.

Dialog window titled Fields displayed over a table of Header Fields in a desktop application UI. The dialog shows a list of field numbers, TableNo values, FieldName and Type columns; behind it is the main Header Fields grid with rows and toolbar icons visible at the top of the application window.

7.6.1 Captions

  1. You can adjust the fields even further by customizing the fontweight and the caption.

Screenshot of the Header Fields table UI showing columns No., Active, TableNo, Field No., Field Caption and highlighted red boxes around the Fontweight and Caption columns. The grid contains multiple rows of header field entries and the application ribbon/toolbars are visible at the top.

2. To customize the caption text, the text that describes the information, open “Translation”

Screenshot of a 'Header Fields' dialog window from a reporting application showing a toolbar with a highlighted 'Translation' button and a table of header fields. A caption column entry is outlined in red indicating a customer-related caption; the window shows columns such as No., Active, TableNo, Field No., Field Caption, Fontweight, DataFormat, Caption, and other settings.

3. Here you can customize the caption that will appear on the report and define the caption in different languages. Please note that these captions are used across the reports. So if the text is changed, it will be changed everywhere that the caption is used. You might be better of creating a new caption to your needs.

Small screenshot of a 'Caption Translations' dialog showing language codes and caption text entries (example rows for languages with a caption such as 'Customer No.'). The dialog has toolbar icons and an OK button at the bottom right.

7.6.2 Payment Identification (FIK code)

For the field to appear on the document, it must be specified, where to show the Payment ID eg. FIK-code. Often this will be in the header template. Make sure that this field is choosen in the template. If your document number contains alphabetic letter- the system can’t generate the code

  1. Choose the field 6082601 “Payment ID”

Screenshot of the Header Fields window showing multiple header field rows; row 22 with field number 6082601 and caption Payment ID is highlighted with a red box

  1. Here the field is shown in the header

Invoice header example screenshot showing company address at left and invoice details at right; Payment ID is shown in the bottom-right of the header inside a red box

7.6.2.1 Setting up Payment Identification

The setting up of Payment Identification is not a part of Document Customizer, but here is a short introduction to how it is set up.

  1. In the Payment Method list, add information in “Payment Bank No.”, “Payment ID type”, “Payment ID Prefix” and optional “Include Document type ID”.

  2. In “Payment Bank No.” choose the bank that the code should refer to. Please remember to as “Bank Creditor No.” on the bank card, for the code to be generated.

Screenshot of an Edit - Payment Methods application window showing a grid of payment methods with columns such as Code, Description, Bal. Account Type, Direct Debit, Bank Data Conversion, Pmt. Type, Payment Bank No.; a small pop-up panel at the right listing banks (e.g., B010 Danske Bank 0987654321 DKK and B020 Danske Bank 0123456789 EUR) with the Payment Bank No. area highlighted by red rectangles.

3. In “Payment ID Type” choose the type if the Payment ID

Screenshot of the Edit - Payment Methods window focused on the Payment ID Type column showing a dropdown open with options FIK, KID, and BGMAX; the row for FIK 04 Payment is highlighted and the Payment ID Type dropdown area is outlined in red.

31

4. In “Payment ID Prefix” choose the code that should be stated in the beginning of the code.

Screenshot of the Payment Methods application window titled Edit - Payment Methods showing a table of payment codes and columns. A cell in the Payment ID Prefix column is highlighted with a red box to indicate selecting the prefix (example display shows a small prefix value in the highlighted cell).

5. If the code should contain a Document Type ID, mark the check box of “Include Document Type ID”

Screenshot of the Payment Methods window showing the rightmost columns; the Include Document Type ID column is outlined in red and one of its checkboxes is marked to demonstrate enabling the Document Type ID option.

6. Make all the codes that you want and for more than one bank.

Screenshot of the Payment Methods window displaying multiple rows of payment codes across different banks, showing several created codes and their associated prefixes and bank columns.

7.6.2.2 Setting up Payment Methods on a Customer

  1. On the Customer card set a “Payment Method Code” from the list, that contains a Payment ID setup. The setup is found in the tab: “Payments” and you might have to show more fields, for it to be shown on the list. This is transferred to documents, but can be changed on the documents.

Screenshot of a Customer card window in an ERP application showing the Payments section and a highlighted Payment Method Code dropdown list with several payment codes visible.

7.6.2.3 Updating Payment ID on posted documents

If you change bank or for some other reason would like to change the Payment ID on already posted documents, it is possible with the function, Update Payment ID

Screenshot of a Posted Sales Invoice window showing document header and an Update Payment ID function highlighted in the toolbar.

33

7.7 Managing Columns

Full-page invoice image titled Invoice with KILDEMOES logo at top-right. The invoice shows customer address Future Bikes Køge, Jomfru Ane Gade 56, DK-4600 Køge. Invoice details include Customer No. 30000; VAT Reg. No. 53343578; Order No. 10039; Salesperson SWS; Document Date 8 March 2017; Invoice No. 103036; Posting Date 8 March 2017; Shipment Method Free on Board; Payment Terms Current Month; Due Date 31 March 2017. Item table highlighted in red lists: No. 1000 - Description City Bike - Quantity 8.00 PCS - Unit price 5,399.00 - Amount 43,192.00; No. 1001 - Description City Colibri Bike - Quantity 4.00 PCS - Unit price 7,299.00 - Amount 29,196.00. Totals shown: Total DKK Excl. VAT 72,388.00; VAT 25% 18,097.00; Total DKK Incl. VAT 90,485.00. VAT Amount Specification table shows VAT Identifier VAT25, VAT % 25, Line Amount 72,388.00, VAT Amount 18,097.00. Footer contains company contact and bank details.

  1. To manage a specific column, mark the line you want to edit and press “Columns”

    Screenshot of a Dynamic Reports Content window showing a list of report rows and a ribbon toolbar at the top with the Columns button highlighted; the window displays multiple columns like Company Name, Report Template, Description, Header Rows, Columns.

  2. Here you can adjust the number of columns to match the amount you have just chosen. Just delete some of them or create a new one until the number of columns is as desired. Be aware that the total width always has to be 510. Therefore, it is necessary to adjust the width when adding or deleting columns. If one columns should adjust automatically, you can mark it in the last column, and it will always adjust to 510. You can control the different columns width in the “Width (pt)” column. If you set a column to include a picture, you need to mark this with “Picture Column” on this page ( the width of a picture column should be set to 75 pt, for optimal fit).

    Screenshot of the Edit - Columns dialog showing Total Width: 510 at the top and a grid of column entries with columns for Column No, Setup, Align, Width (pt), Text Column, Adjust Automatically, and Picture Column; several widths (e.g., 50, 210) and checkboxes are visible.

  3. Mark the column number you want to edit, and press ‘Fields’ to see the column field and adjust the content. You can on the bottom see which field the column contains, but you need to edit by marking the line and press fields.

Screenshot of a dialog titled Edit - Columns - S.INVOICE LINE - 1 showing a columns setup grid with column names, widths, alignment options, checkboxes, and an OK button at the bottom.

4.  You adjust the content by selecting the table no. and field.

Screenshot showing Extended Description fields window with the Table No field highlighted and an overlay Information Fields window listing table numbers and field names; red boxes indicate selection areas and an OK button is visible.

5.  In caption select the caption that describes the information. It is also possible to make a new Caption if none covers the need- remember to add translations on the caption.

Screenshot of Edit - Extended Description fields with the Caption dropdown open showing options such as LOCAL CURRENCY, LOCATION CODE, NAME, NO. and OK; the NO. option is highlighted in the dropdown.

  1. Mark “Add caption” if you want the caption to visible on the line in front of the value.

    Extended Description fields dialog showing a table row with the Add Caption column highlighted (checkbox checked); below it a small sample list showing No. and Description entries such as City Bike and City Colibri Bike.

  2. Mark “Blank caption if no value” if you don’t want the caption to show if there are no values on any lines.

    Extended Description fields dialog showing the Blank caption if no value checkbox highlighted; below it a sample table row with quantity, unit price and an empty amount cell highlighted to illustrate blank caption behavior.

  3. Mark “Blank if zero”, if you don’t want to show a “0” is this is the value that is otherwise shown.

    Extended Description fields dialog with the Blank If Zero option highlighted in the header area of the dialog.

  4. The settings for Autoformat depend on the type of data. When setup is for amount, unit amount, and other types of sums, use.

    • Amount - AutoFormatType must be 1

    • Unit Price - AutoFormatType must be 2

    • Other - AutoFormatType must be 0

    When setting up an date field

    • yyyy-MM-dd when 0 is written

    • dd-MM-yy (DK) when 1 is written – this format will follow the regional settings on the server pc. So in USA the format will e.g. be MM/dd/yy

    Extended Description fields window showing the AutoFormat column highlighted and the dialog toolbar; illustrates where to enter AutoFormatType values for the field.

10. If you want to make your own setup template, you can also do this, by giving it is own name.

Screenshot of a software window titled Edit - Columns - S.INVOICE LINE - 1 showing a table of invoice line column configurations with columns like ColumnLayout, Column no., Setup, Align, Width (pt), Text Column, and checkboxes for Adjust Automatically.

7.7.1.1 Number of columns in the template

  1. As a standard all column templates are set to allow 11 columns. If you want to change this you can do this. This is done in Columns “Advanced”.

    Screenshot of Dynamic Reports Content window showing a list of reports with columns like Company Name, Report Template, Description, Header, Header Rows, Columns and a highlighted area for Columns/Advanced settings in the UI ribbon.

  2. “Edit List” and choose an “Template Number”. “Template number” + “Number of Columns” are as ground rule always 10. Template Number 1, have 9 columns and Template Number 2 have 8 columns etc. Template 11 has 11 columns and is default.

    Screenshot of a Columns Setup dialog showing rows of column setups with a Template Number column and a Number of Columns column highlighted, illustrating template numbers and their corresponding column counts.

7.7.2 Add more than one field in same column.

It is possible to have more fields shown in the same column, if needed. In this example, we want to print the Tariff No. Add an extra line in the column where the text should be. Please note the picture columns can only contain one line.

  1. When using a field that is not in the Sales Line table, it is possible to refer to another table, using a field from the sales line as key. In this example, we use the field (Item) No. from the Sales Line table as a key. Using this, we find the related (Item) No. in the table 27 (Item table) and refer to the field we want to print, in this case the Tariff No.

    Screenshot of an Extended Description fields dialog showing columns Table, Table No, Field, Field Name, Caption, Add Caption, Hide Additional Cap. In Header and a row where Sales Line 113 6 No. TARIFF NO is highlighted with red boxes.

  2. We “Hide the Additional Cap. In Header”, so that it will not appear in the header.

    Report preview image showing a table with columns No., Description, Quantity Unit, Unit price, Amount. An extra line (Tariff No) is shown under the Description column in the body; red highlight boxes indicate the extra line placement.

  3. If Caption is wanted in front of the extra line, this can be set with tick in “Add Caption”.

    Dialog screenshot of Extended Description fields with the Add Caption checkbox ticked and a report preview showing Tariff No: caption in front of the extra line under Description.

  4. If we want the extra caption on the header we don’t mark “Hide Additional Cap. In Header”.

    Dialog screenshot and report preview showing the Tariff No caption appearing in the header area above the Description column; red highlight indicates the header caption position.

39

7.8 Linking to other tables

Sometimes it is necessary to link to data in other tables, this is possible by using the columns “Field”, “Using table” and “Using field”.

“Field” is the key that we want to use for linking to another table.

“Using table” is the table from where we want to fetch information.

“Using field” is the actual field that we want to show to come out on the report.

Screenshot of the Extended Description fields window showing a table row with columns including Table, Table No, Field, Field Name, Caption, and highlighted boxes around Using Table and Using Field.

The report will in this example print out the translation of the item description. Please note that if there isn’t a value in the linked table the field will be blank. So if there are no Item translation on this item number, the description column will be blank.

If you want to be sure that the field is not empty if there are no translation, you can use the “Command Line” expression. Eg. for the item description, it will take the item translation if found and else the original text in the field.

7.8.1 Command line

The Command line can be used for printing out data that are not in the table. But unlike “Using table” Command Line can let the original text be on line of there are nothing found in the linking table. So if there aren’t an Item translation on a specific Item no., it will print out the description on the item. If you leave the field “Field” empty, then there will not be written anything if there is nothing in the field that Commandline look at.

Screenshot of the Extended Description fields window showing the Command Line column populated with a lookup expression, and the Command Line cell highlighted.

Command line can also be used when there is more than one key to link to the next table. This is the case when we want to link to “Payment terms” and “Shipment Method”, in the header.

In the standard setup, these are incorporated. If you need other command lines please contact Abakion for help.

7.9 Managing Grouping Lines

With line grouping set, it is possible to group some document lines together and not show all lines on the report. This can be set up in the “Line Grouping setup”. Please note that by using this functionality, some information is not possible to print on the lines.

There are four different forms of groupings:

  1. A Sub-total for lines

  2. One level grouping

  3. Two level grouping

  4. Manuel lines grouping

They are all setup in “Line Grouping Setup”, on a template. You can add as many as you want to.

Screenshot of the Dynamic Reports Content window showing the report template list and a highlighted Line Grouping Setup toolbar button. A Line Grouping Template dropdown is visible with items such as S.INVOICE DATE, S.INVOICE JOB, S.INVOICE JOB/ROTAS, and S.INVOICE MANUAL.

41

7.9.1 Sub-total for lines

If you want to add a subtotal on the lines, for when a parameter is changing, you can use the setup for sub-total. E.g when the date changes.

  1. Make a new Line Grouping Template

  2. Fill out table no. – this you can find on your column setup template

  3. Select the field on the document that you want to have a sub-total based on. Here “Shipment date” has been selected.

  4. Choose the Column template that your report template is using.
    In the rest of the columns, column numbers from the Column template are picked. This means that values printed out when using group are still setup in the Column template.

  5. If you want to have a text on your subtotal line, you pick the column of the text you want to print out. Here the shipment date is set up in the Column template as column 8, so this has been set.

  6. Choose the column that have been set up for Quantity

  7. Choose the column that have been set up for Amount

Screenshot of the Line Grouping Setup window showing column headers, fields (including Shipment date), and red numbered callouts indicating setup steps

This is the result with and without the grouping set to sub-total on date.

Two sample invoice pages side-by-side demonstrating the invoice output with grouping/sub-total on date (left and right comparison)

7.9.2 One level grouping

If we want to group lines based on one parameter in document, we can use one level grouping. Eg. If we want to group, all the same items into one line.

  1. Make a new Line Grouping Template

  2. Fill out table no. – this you can find on your column setup template

  3. Select the field on the document that you want to have the lines grouped on. Here “No.” has been selected.

  4. Choose the Column template that your report template is using.

    In the rest of the columns, column numbers from the Column template are picked. This means that values printed out when using group are still setup in the Column template.

  5. Select the column setup with value that you want to print out in the first column on the report.

  6. Select the column setup with value that you want to print out in the column that has been marked as a text column in your column template.

  7. Choose the column that have been set up for Quantity

  8. Choose the column that have been set up for Amount

Screenshot of the Line Grouping Setup window showing the ribbon and table fields with numbered annotations highlighting Table No., Line Group, Column Template and related settings

This is the result with and without the grouping on item.

[IMAGE PLACEHOLDER: Two invoice examples side-by-side — left invoice showing lines without grouping, right invoice showing lines grouped into one line per item; both display invoice header, customer details and totals]

7.9.3 Two level grouping

If we want to group lines based on two parameters in document, to give us a high and low level grouping, with a sub total for the high level grouping. Eg. If we want to group all lines on a Job, but also group on Job-tasks. Giving us a High level grouping on "task", and a low level grouping on "Job task"

  1. Make a new Line Grouping Template

  2. Fill out table no. – this you can find on your column setup template

  3. Select the field on the document that you want to have the lines grouped on for the high level. Here "Job No." has been selected.

  4. Select the field on the document that you want to have the lines grouped on for thelow level. Here "Job Task No." has been selected.

  5. Select the field on the document that you want to have a sub-total based on. Here "Job no" has been selected. It will always be the same as your high level group field no.

  6.         Choose the Column template that your report template is using.        

    In the rest of the columns, column numbers from the Column template are picked. This means that values printed out when using group are still setup in the Column template.

  7. Select the column setup with value that you want to print out in the first column on the report, for your high level field.

  8. Select the column setup with value that you want to print out in the first column on the report, for your low level field.

  9. Select the column setup with value that you want to print out in the column that has been marked as a text column in your column template, for your high level field.

  10. Select the column setup with value that you want to print out in the column that has been marked as a text column in your column template, for your low level field.

  11. Choose the column that have been set up for Quantity

  12. Choose the column that have been set up for Amount

A screenshot of a Line Grouping Setup window showing a toolbar/ribbon with icons and a series of labeled fields highlighted by red numbered boxes.

This is the result with and without the grouping on low and high level.

Two side-by-side invoice preview screenshots showing invoice layouts with item lines, totals, and company header — left and right invoice examples

In this example, not only have we grouped on a field, but we also have chosen to print out another text, than that on the actual document.

Because here we are not interested in printing “No.” on the document line, but the “No.” of the “Job/Joab task” and the same with description, here is shown the “Description” of the “Job/job task”.

This is done adding columns to the column template, and then choosing these columns in the Grouping setup for values and text. ( Point 7-10 in the above setup).

Remember to give these columns the width of “0” else they will appear as normal columns in your report (for not grouped lines)

Screenshot of the column template / Edit Columns dialog showing a list of columns with one column width highlighted in red (zero width) and various column settings

7.9.4 Manuel Lines grouping

It also possible to group lines base on a setting on the actual document. This can be usefully, if you want to manually say which lines should be grouped together.

The template is built as a sub total or one level template, but on the field “Grouping” (Field 6082610).

Screenshot of a Line Grouping Setup dialog showing a toolbar across the top and a table of grouping templates with columns and values

On your Sales Order, Sales Invoice or Sales Credit Memo, fill out a variable for the lines you want to group in the column grouping. It does not matter what you write, just it is the same for the lines that should be grouped. You can control the order of the grouped line, by the grouping value given if using numbers or letters. If the column is not shown you need to add it, in choose columns. Please note that this is use on the Posted Sales Invoice and Posted Credit Memo. (Sales order confirmation, doesn’t support grouping, but can be set for use on the posted Invoice)

Screenshot of a Sales Order window showing header fields and a lines grid; the Grouping column in the lines grid is highlighted with a red box

When you print your Posted Sales Invoice or Sales Credit Memo, this is the result with and without the manual grouping.

7.9.4.1 Edit a manual grouping value on posted documents

  1. On the Posted Sales and Credit Memo, mark the line that you want to change the bundle value on.

  2. Choose Lines, and Set Grouping

Two side-by-side invoice preview images showing sample invoices with header information and line-item tables; the left and right invoices are visually similar and framed in blue borders

Screenshot of the Posted Sales Invoice window showing the ribbon toolbar, the Lines menu opened, the invoice lines table with items like City Bike and Street Flow Bike, and the Set Grouping menu item highlighted

  1. Edit or Delete the value, and press ok.

Small dialog titled Edit - Sales Line Grouping showing a Grouping: input box with the letter A entered and OK and Cancel buttons; the OK button is highlighted

  1. Now the first line will not be grouped on, as there is no grouping value on the line.

Screenshot of a View - Posted Sales Invoice - 103084 - The Bike Master Nyborg application window showing the invoice lines table with items such as City Bike, City Colibri Bike, and Street Flow Bike. The toolbar and header are visible and a grouping column cell is outlined in red.

7.9.5 Lines without a grouping value, when using grouping templates

If you have set up, that your lines should be grouped on a value, and our lines does not contain a value, the line will be shown as normal lines, after your grouped lines.

The same goes for text lines, also text lines that where written under lines that have been bundled!

If you still want other lines to be grouped, you can use the setting “Group Empty Grouping Values” on the Content card of the Document Template. But this is not always advisable to do, as see below. Please note that the value in first column and in Description, is that of the first line in the document that does NOT contains a bundle value.

Screenshot of a Dynamic Reports Content Card - 6082700 settings window showing the Group Empty Grouping Values option highlighted on the content card and various report/template fields.

7.10 Managing Supplementary Columns

This is used for extra columns in Reminders, and for Routing on the Production order. The setup follows that described in columns.

Screenshot of a report designer window titled Dynamic Reports Content with a smaller REMINDER LINE dialog overlaid.

Result on document

49

7.11   Managing Footer and Sections

Scanned invoice page titled Invoice with KILDEMOES logo top-right; left side shows vendor address and invoice metadata (Customer No., VAT Reg. No., Order No., Salesperson, Document Date) and right side shows invoice details (Invoice No., Posting Date, Shipment Method, Payment Terms, Due Date); main body contains an itemized table listing products (e.g., City Bike, City Colibri Bike) with Quantity, Unit, Unit price and Amount columns, followed by totals and VAT lines; below that a VAT amount specification table; there are green highlighted rectangular boxes marking section areas and a red-bordered footer box containing company contact info, VAT number and bank account details

50

Footer and sections are constructed using HTML texts, and parameters. It is therefore possible to set parameters with data from NAV tables, or you can just write a fixed text in these areas. Managing footer and section 1-3 is identical. The following example is a footer but could just as well have been one of the sections.

  1. Mark the line and press “Footer” to manage the footer

    Screenshot of the Dynamic Reports Content window. The ribbon at the top shows icons (New, Edit, View List, Delete, Captions, etc.) with the Footer icon highlighted. Below the ribbon is a list/grid of report templates showing columns such as Report Template, Report ID, Description, Header, Rows, Columns, Supplementary Columns, Footer, Section 1, Section 2, Section 3. The grid contains one row with a posted sales invoice entry; the window has an OK button at the bottom right.

  2. First, you must manage the HTML Parameters. These are the field you want to show on the report. Open “Parameters”

    Screenshot of the Edit - Footer and Section window. The ribbon shows actions including New, View, Edit List, Delete, Text, ShowHTML, and a Parameters button highlighted. The main grid titled Footer and Section lists rows with columns Footer Code, Language Code, Starting Date, Ending Date, All Lan..., Description. Several rows show SALES FOOTER with different language codes and descriptions like Footer Sales Master. A filter label Filter: SALES FOOTER and an OK button are visible at the bottom right of the window.

3. Add the desired parameters. The parameters only appear if you activate them through the HTML text later in the process. Therefore, it is important to set all needed parameters. If you make more parameters than you use, it will not affect anything, so do not worry about a few extra. First, give the parameter a number, and then the Table No. and Field No. The fields Using Table, Using Field and Return Parameters are only used when making advanced parameters. Bank field is used then referring to information in a bank account.

Field caption, is showing the name of the field, so it easier to recognize.

Screenshot of an application window titled Edit - HTML Parameters showing a ribbon toolbar at the top and a table labeled HTML Parameters. The table columns visible include Footer Code, Param. No., Table No., Field No., Field Caption, Using Table, Using Field, Bank Field, and Return Parameters, with multiple sample rows and highlighted cell areas.

4. After setting all the parameters, you must now write the HTML text. Open "Text".

Screenshot of an application window titled Edit - Footer and Section showing a ribbon toolbar with the Text button highlighted, and a list/table of footer codes (e.g., SALES FOOTER, DAN, ENU) with an OK button visible in the lower-right of the window.

5. You can write everything you want in the HTML text. However, be aware that only simple HTML codes can be used in Document Customizer. In order to use the parameters within the text write '%X', with X being the number of the parameter. At the bottom of the window it is possible to see the parameters and their caption, for easier to identify which caption is wanted where.

Screenshot of Edit - Extended Footer lines window showing an HTML input area at the top and an HTML Parameters table at the bottom listing parameter numbers and field captions

6. The most common HTML codes used in this context is '<br>', which is a break in the text that will make the text drop to the next line. Another code that is useful is '<b> .... </b>', which makes the text in the middle bold. See 7.11.2 Use of HTML-tags in footer and sections for more help on HTML formats

7. Another example could be the following, where the information is not in a straight line but on top of each other.

Screenshot of Edit - Extended Footer lines showing a sample where Companyinformation: <br> is used and multiple parameter placeholders (%1, %2, %3, etc.) are on separate lines

7.11.1    Managing different languages in footer and sections

  1. When working with sections, captions do not apply. Instead, you are hardcoding text with HTML, which means that the text doesn´t translate automatically. Therefore, if you need the text in the sections to be different depending on the language, you can link the sections to language codes and by that, control which text is shown in which language:

    Footer and Section dialog showing a list of Footer Code entries (e.g., SALES FOOTER), a Language Code column with a dropdown opened. The dropdown displays language codes such as ENU, ENG, ENI, ENP and names like English (United Kingdom), English (Philippines), English, etc., with a selected language and an OK button visible in the dialog.

  2. For example in the footer, you would like to have the same information and same hardcoded text, just in different languages – Danish and English – as shown above. Then set up the same parameters and write the same text just in different languages:

    Danish

    Extended Footer lines window filtered by SALES FOOTER - DAN. The window shows the HTML editor area containing HTML lines with placeholders (e.g., %1 - %2 - %3) and example bank/contact lines in Danish. The dialog header, toolbar (New, Delete, View List, Show as Chart), and an OK button are visible.

    English

    Extended Footer lines window filtered by SALES FOOTER - ENU. The window shows the HTML editor area containing the same HTML lines as the Danish example but in English (e.g., %1 - %2 - %3 and bank/account lines in English). The dialog header, toolbar, and an OK button are visible.

54

7.11.2   Use of HTML-tags in footer and sections

In the footer and sections, it is possible to use HTML code on texts.

  • Here is a list of the most basic HTML-tags for text:

    http://www.simplehtmlguide.com/text.php

  • There are many different opportunities for customizing the sections and footers with HTML. One of the most common things to do is changing the size or the color of the text. This can be done in the sections and footer using these two HTML-tags:

    Size: <font size="?">…</font>

    Color: <font color="?">…</font>

    It is possible to combine these to tags in order to both customize size and color at the same time:

    <font size="?" color="?">…</font>

    The text that should be affected by the tags must be written in "…".

    Color can be stated using the English word or using the most common color # codes.

  • In the following example, the invoice no. is written in sections 1 and made bigger and the color hot pink by first setting up parameter 1 to invoice no. and then using the HTML-tags like this:

    <font size="4" color="hotpink">INVOICE: %1</font>

    The red text is the text written instead of the "?" and "…" in the commando above.

Invoice sample showing company header at top, invoice details and address on left, invoice metadata on right, line items table in the middle, and a highlighted pink boxed label reading INVOICE: 103001 above the line items.

7.12  Show/hide extra information

In the edit card of the Report Template, it is possible to specify further if extra information should be printed out on the document. Please be aware that some of these extra information is Report dependent, and does not apply to all documents.

Screenshot of a Report Template edit card showing Dynamic Reports Content window with a list of reports on the left and report template fields, checkboxes and settings on the right

7.12.1  Managing VAT Sections

For a list of reports it is possible to add a VAT section, by marking the "Show VAT Specification". VAT Specification will only be shown if the usual criteria are met (in other words, that there actually IS VAT on the document)

Reports with VAT sections included:

  • Sales Order Confirmation

  • Sales Invoice

  • Sales Credit memo

  • Sales Quote

  • Sales Blanket Order

  • Purchase Return Order

Screenshot of Edit - Dynamic Reports Content Card - 6082700 dialog showing report settings with the Show VAT Specification checkbox highlighted

  1. You can further control which type of VAT section to show. This chosen in the column “VAT specification type”.

Screenshot of Edit - Dynamic Reports Content Card - 6082700 showing the VAT specification type dropdown expanded

  1. The “VAT specification type” options have the following effects:

    • Blank; the standard VAT specifications will be shown. If the “Print VAT Specification in LCY” on General Ledger Setup is used, this will also be shown as per standard NAV.

    Screenshot of General Ledger Setup dialog highlighting the Print VAT specification in LCY option

    • “Document CCY and LCY section”; Both a Document Currency VAT Specification and Local Currency VAT Specification section will be shown, but only if LCY is different for CCY. Else only Document CCY VAT section will be shown.

    • “Only LCY section”; Only the Local Currency VAT Specification section is shown, if LCY is different from Document CCY. Else no VAT section will be shown.

7.12.2  Show Total VAT line even if zero

On documents without VAT the total section will just print out the total.

Small total box showing Total EUR label on left and amount 24,34 on right within a bordered box

If “Show total VAT line even if zero” marked an extra line in the total section will be added, with a VAT Amount set to 0.

Settings dialog screenshot showing Print Extra Information - Report Dependency with the option Show Total VAT line even if 0 highlighted/boxed

Which will give this result:

Result total box showing three lines: Total EUR Excl. VAT with amount 24,34, VAT Amount with amount 0,00, and Total EUR Incl. VAT with amount 24,34 — amounts aligned on the right

7.12.3  Show Shipment

This is only relevant for the Posted Sales Invoice.

Short settings screenshot showing the Show Shipment option in the Print Extra Information / Report Dependency dialog

If the “Ship Shipment” is marked, the report (Posted Sales Invoice) will show shipment number, date and quantity under the sales lines. This requires warehouse setup.

7.12.4  Show Serial/Lot no. Appendix

This is only relevant for Posted Sales Shipment, Posted Sales Invoice and Posted Warehouse Shipment.

If marked, the Serial/Lot no. Appendix will be printed out on the document.

Dialog screenshot showing report template editor with the Show Serial/Lot no. Appendix option highlighted — includes form fields and ribbon toolbar at top

This contains the columns, Serial no., Lot number and Expiration date. If there are no data in the columns, the captions will not be printed out.

7.12.5    Hide QTY in Serial/Lot no. Appendix

This is only relevant for Posted Sales Shipment, Posted Sales Invoice and Posted Warehouse Shipment, and require that Show Serial/Lot no. Appendix also is activated.

If marked, Hide Qty. in Serial/Lot no. Appendix, is marked, the Qty column and the Qty column is not shown in the Serial/Lot no. Appendix.

Screenshot of a Print Extra Information - Report Dependency dialog with the checkbox Hide Qty. in Serial/Lot No. Appendix highlighted.

7.12.6    Hide the total section

This is only relevant for the Sales Order

If marked, the total section will not be shown. Making it possible to print out a document without amounts on the document.

Screenshot of the same Print Extra Information - Report Dependency dialog with the Hide Total Section checkbox highlighted.

7.12.7    Show lines with Zero Quantity

It is possible to control if lines, using the column setup, that have zero quantity should be shown on the document or not.

Small screenshot showing the option Show lines with Zero Qty in the dialog highlighted.

7.12.8    Use Column Setup For Lines With Blank Type (Texts)

It is possibly to choose if line without type (text lines) should as a default just shown the value in the Description field, or if all columns should show according to the setup in the Columns setup. The description field will as a default be shown in the column, that in the column is marked as being a text column.

If you want your text lines to show, remember to mark “Show lines with Zero Qty”, else will they not show at all.

On document in the system

Screenshot of an application Lines grid showing columns Type, No., Description; rows include Item 1000 City Bike and a second row with Type blank and No. SC, Description shows Shipping Charge and Manually written line; a red box highlights the blank Type cell

If no mark has been set, then the line would look like this:

Print-style table image showing rows under headers Nr. and Beskrivelse with a single Nr. 1000 and lines City Bike, Shipping Charge, Manually written line displayed as consecutive lines

If the mark is, set that setup should be used, then it looks like this (according to the setup in my demo)

Print-style table image showing rows under headers Nr. and Beskrivelse with two separate rows: one row 1000  City Bike and a second row SC  Shipping Charge followed by Manually written line

7.12.9    Hide Lines With Blank Type (Texts)

It possibly to hide “Lines with blank type”, so that they don’t show on the document at all.

Settings dialog screenshot Print Extra Information - Report Dependency showing various checkboxes; the checkbox labeled Hide Lines With Blank Type is visible and highlighted

7.12.10    Group Empty Grouping Values

Settings dialog screenshot showing checkbox Group Empty Grouping Values highlighted within the Print Extra Information - Report Dependency dialog

When using the bundle functionality, it is possible to group lines that does group, based on the grouping template, into one. This is done by this mark.

Only apply to documents supporting grouping functionality.

7.12.11  Show sales comments

A small screenshot of a Print Extra Information - Report Dependency dialog with the Show Sales Comments checkbox highlighted

On the Warehouse Picklist, it is possible to get comments from the sales order shown on a hand scanner, if this is marked. It requires Warehouse setup.

7.12.12  Show barcodes

A small screenshot of a Print Extra Information - Report Dependency dialog with the Show BarCode checkbox highlighted

On the Production order and Warehouse Picklist it is possible to print out barcodes on the documents. This is set by this mark.

A wider screenshot of the Print Extra Information - Report Dependency dialog showing barcode-related options and other checkboxes

7.12.13  Show only lines with outstanding QTY > 0 (Backorder)

On the Sales and Purchase order, it is possible to show only those lines which have an outstanding QTY over 0 on them. The total section will automatically recalculate the remaining amount on the order.

7.13  Linking bank accounts to all reports

It is possible when using Document Customizer to link currencies with specific bank accounts information. If this is not setup, Document Customizer will use the information provided in the “Company Information Setup”. But the functionality makes it possible to have one bank account number written on the report when the currency is e.g. EUR and another bank account number when the currency is DKK. Remember to set this table up in each company that you use in NAV, for this bank linking to work in all your companies.

  1. Open ‘Bank Accounts’

    Screenshot of the Dynamic Reports Content window in Document Customizer / NAV showing a wide list of report templates with columns (Company Name, Report Name, Description, Header, Footer, etc.), the toolbar across the top and a highlighted Bank Accounts button in the ribbon; desktop application window captured centered on a white page.

  2. Select the currency that the bank account should be linked to. It is only possible to have one bank account per currency.

    Screenshot of the Bank Account pr. Currency dialog showing a small window with a Currency Code column and a Bank Account column and a dropdown/list of currency codes (e.g., CHF, CNY, CSD, CZK, DKK, DZD, EEK) in the left pane, and an OK button on the dialog; desktop application dialog captured centered on the page.

3. Now select the bank account

Screenshot of a Bank Account pr. Currency window showing a list of bank accounts. The list includes entries such as B010 Danske Bank 0987654321 DKK and B020 Danske Bank 0123456789 EUR, with columns for No., Name, Bank Account No., and Currency Code.

4. Then make sure that the “Bank Field” columns, on the templates, are filled out with the field from the Bank account table that you want to print out.

Screenshot of a Header Fields / template setup window. The table shows rows for fields like BANK NAME, BANK ACCOUNT NO., SWIFT CODE, and IBAN, with the Bank Field column highlighted to indicate which bank account field is selected for printing.

7.13.1    More than one bank account for each currency

If more than one bank account is used for the same currency, it is also possible to control the bank information on the reports, with defined value on the Sales order.

On the Sales Order/Sales Invoice, fill out the field “Payment Bank No.” field (6082720) on the “Invoice Details” Fast Tab. This field can be used in the report setup and linking it in the report setup to the bank account table.

Application screenshot showing a Sales Order editing window with form fields (Item, Location, Quantity, payment section) and a highlighted Payment Bank No. field

  1. In the report setup the “Payment Bank no.” will need to be added, and the actual data presented should be linked through “Using table” and “Using Field”. Bank accounts is table 270

Screenshot of a Header Fields configuration grid showing columns like No., TableNo, Field No., Caption and the Using Table / Using Field columns; the row for BANK ACCOUNT NO. is highlighted with table number 270

7.14  Managing the address field

It is possible to modify the information placed in the two address areas, “Bill-to adress” and “Ship-to adress”.

A scanned invoice page titled Invoice with the company name KILDEMOES at the top right. The invoice shows two red-outlined address boxes near the top labeled Bill-To Adress on the left and Ship-To Adress on the right. Below are itemized line rows with quantities, unit prices, and amounts, a VAT breakdown and totals, and company contact and bank details in the footer. The page has a thin black border and a page number 65 at the bottom right.

  1. Open ‘Address’ in “Document Customizer Content”.

Screenshot of a Dynamic Reports Content window showing a list of report templates and columns; the Address button is highlighted in red on the ribbon.

  • Address’ are defined on for each table, that the reports run on, in the “Table no.”

  • “No.” determines the order of appearance.

  • “Type” determines the section of the report (Bill-to, Ship-to or Customer)

  • “Field No.” determined the content of the field

  • The function ‘New line’ determines whether the field should be printed on a new line or continue on the same line as the previous field.

Screenshot of an Address Fields dialog showing a table with columns Table No, No., Type, Field No., Caption, and a New line column with checkboxes; multiple rows of example address field entries are visible.

As there two areas of adresses there will be two sets of informations sets for most tables, these have the same "No." but have different "Type"

Small screenshot of an Address Fields dialog. The window shows a grid/table with columns such as Table No, No., Type, Field No., and Caption. Several rows are visible with values (e.g., 36, 1, Customer, etc.) and a red rectangle highlights a group of rows in the grid. Window toolbar with icons is visible at the top.

If both addresses appears on the report, they will be given a caption, so it is possible to se what the adress is. This caption is managed by the two columns "BillTo AdressCaption" and "ShipToAdressCaption".

Larger screenshot of a Dynamic Reports Content Card settings window. The form shows report metadata (Report Template, Description, Report ID) and a large Data Templates area. In the lower part of the form two input fields are highlighted with red boxes and labeled BillToAdressCaption and ShipToAdressCaption with example caption texts such as BILL-TO ADDRESS and SHIP-TO ADDRESS. The window title and toolbar icons are visible at the very top.

7.15  Managing Total Caption

A scanned invoice page showing the title Invoice at top-left and the company logo KILDEMOES at top-right. The invoice contains the billing address Future Bikes Køge / Jomfru Ane Gade 56 / DK-4600 Køge, customer and invoice metadata (Customer No. 30000; VAT Reg. No. 53343578; Order No. 10039; Salesperson SWS; Document Date 8 March 2017; Invoice No. 103036; Posting Date 8 March 2017; Shipment Method Free on Board; Payment Terms Current Month; Due Date 31 March 2017), a line-items table with two rows (1000 City Bike 8.00 PCS 5,399.00 43,192.00 and 1001 City Colibri Bike 4.00 PCS 7,299.00 29,196.00), a highlighted totals box showing Total DKK Excl. VAT 72,388.00, VAT 25% 18,097.00, Total DKK Incl. VAT 90,485.00, a VAT amount specification table (VAT25 25 72,388.00 ... Total 72,388.00 ... VAT Amount 18,097.00), and a footer with company contact and bank details. The invoice image is centered on a white page with a thin black page border.

68

1. In the “Document Customizer Content” there is a “Total Captions Template” column. Open ‘Advanced’

Screenshot of a Dynamic Reports Content Card dialog showing the Data Templates / Captions area with the Total Caption Template column highlighted and the Advanced action highlighted in the lower right of the dialog.

2. Here is shown the Total Caption Templates codes. Here you can make a “New” or “Copy to a new”.

Screenshot of the Select - Total Caption Templates list view showing the ribbon with New and Copy to New actions highlighted and a list row containing TOTAL CAP. TEMPLATE1.

3. To edit the caption press “Show Caption”

Screenshot of the Select - Total Caption Templates window with the Show Caption button in the ribbon highlighted and the Total Caption Template row selected.

4. Here it is possible to specify the Captions for the Total captions area. Please note that it is only possible to change the caption (the actual text) not the number it presents- this is not an option.

Screenshot of a Total Captions settings dialog showing a ribbon toolbar at top and a grid/list of caption fields numbered 1–10 with example totals on the right — a configuration UI for captions and totals.

  1. Subtotal

  2. Total (currency), when no VAT, e.g. in EUR

  3. Invoice discount amount

  4. Line amount caption – present Payment discount on VAT

  5. VAT and actual VAT percentage (if all lines have the same VAT rate)

  6. VAT amount (if all lines doesn’t have the same VAT rate)

  7. Total (currency) including VAT

  8. Total (currency) excluding VAT

  9. Payment discount – caption for total VAT discount amount

  10. Interest amount – present on Reminders

5. Choose the caption in the list. In ‘Advanced’ it is possible to change to parameters for the caption and the language.

Small screenshot of a dropdown list for caption selection showing SUBTOTAL selected and an Advanced option highlighted — list of caption codes like SHIPMENT DATE, SHIPMENT METHOD, etc.

70

8. Printing the report

Printing the reports with setup in Layout code and Template code, can now be controlled when printing. This can be defined on the costumer card, on the document or in the moment of printing.

If using a setup on the costumer this will be transferred to the document (only some documents), but it is possible to change this on the document. This will then be the new choice for the document. If it is chosen to change the layout/template or language in the print moment, this will not be saved for next printing.

8.1 Setting default Layout code and Template code on Costumer

It is possible to set the choice on the costumer card.

Please note! It only transfers to the documents for the following reports.

  • 6082700 Posted sales Invoice

  • 6082701 Posted Credit Memo

  • 6082702 Sales order Confirmation

  • 6082703 Purchase Order

  • 6082704 Posted Sales Shipment

  • 6082705 Sales Quote

  • 6082706 Sales Blanket Order

  • 6082707 Purchase Blanket Order

  • 6082710 Reminder

  • 6082714 Purchase Quote

  • 6082715 Purchase return Order

  • 6082720 Pick Instruction

  1. Find “Navigate” in the tab and the “Default Layout/Template Setup”.

Screenshot of the Customer Card window showing the ribbon with the NAVIGATE tab selected and the Default Layout/Template Setup option highlighted; the customer card detail area is visible with fields such as No., Name, Balance (LCY), and Customer Picture panel on the right

71

2. In this table set the report number in the first column and the “Layout” and “Report Template” code in the respective columns.

Screenshot of the Default Report Setup dialog window showing a table with columns Report No., Description, Layout Code, and Report Template. Some rows with report numbers and example layout/report template codes are visible; the Layout Code and Report Template columns are highlighted with red boxes.

3. New setup can be added by standing on a new line and use the lookup, and select the report in question.

Screenshot of the Default Report Setup dialog with a lookup pane open, showing a list of available reports to select from and a highlighted new blank line where the selected report will be inserted.

4. Do the same for the “Layout Code” and “Report Template Code”. It is not necessary to fill out all columns or even have any.

8.1.1 Statement

Statement doesn’t support this functionality. It is ALWAYS necessary to set the wanted layout or report template at the point of running a statement report. If nothing is actively chosen when printing the system will take the system default Layout Code or Report Template Code

8.2 Layout code and Template code on a document

The choice can also be made on the documents.

Please note! It only transfers to the documents for the following documents.

  • Sales order

  • Sales Quote

  • Sales Blanket Order

  • Sales invoice

  • Posted sales invoice

  • Posted Sales Shipment

  • Sales credit memo

  • Posted Sales credit memo

  • Reminder

  • Issued reminder

  • Purchase Order

  • Purchase Blanket Order

  • Purchase Quote

  • Purchase return Order

  • Pick Instruction

  1. The selection is done through the tab “Navigate” and “Default Layout/Template setup”.

Screenshot of application window showing the NAVIGATE tab highlighted and a Default Layout/Template Setup dialog with a list of reports and layout/template codes highlighted in red

  1. If the information is set on the costumer, this will be put on the document automatic (if is one of the documents mentioned in the above section “Setting default Layout code and Template code on Costumer.

  2. It is possible to change this, and will be the setting for this document in question, and will be saved on the document for further use.

  3. If this is not set automatic, this should be set for all the documents that are relevant. If we on a sales order also put the code for the Posted invoice document and posted sales shipment, this choice will be transferred to these documents as well. And the y will be printed with the right code.

8.3 Choose Layout code and Template code when printing

In the print moment it is also possible to print with a different setup.

  1. As a default it will take the information on the document in the “Default Layout/Template setup” table. This is done behind the print pop-up. So it will not show the settings on the print page.

  2. If there are no setup on the document, layout code and template code will be taken from the Document Customizer setup, and take the first relevant code for the document.

  3. If you in the print moment want to overrule the setting on the document or the default, you can choose a code from the two dropdowns.

Screenshot of the print/setup dialog showing fields and dropdowns for Layout Code and Template Code, with the relevant fields highlighted

  1. If you want to print out with the blank code, you will need to write ‘’ in the box for selecting the blank code. It is two signs, which can be found here:

Danish keyboard image showing the key marked with a red box that produces the blank code characters

Danish

English keyboard image showing the key marked with a red box that produces the blank code characters

English

74

8.4 Choose language when printing

The document will as a default be printed out in the language set on the document. But it is possible to print out in another language when printing. Please not that it is only captions and translations set-up with command lines that are translated when using this function.

  1. In the Language Code, chose the language that you want to print in. Be aware that translations needs to be present in “All captions” if these doesn’t exist these will be shown as the default caption.

Screenshot of a software print dialog/confirmation window showing options including a highlighted Language Code field and a preview of a report layout.


9. Export/Import setup

It is possible to export the setup in Document Customizer and import in another Database located on another server. This is relevant for Companies that both have a “production” and a “test/development” system.

9.1 All setup

  1. In the “Document Customizer Layouts” in the Actions tab, choose Export/Import setup.

Screenshot of the Dynamic Reports Layouts window showing ribbon actions with Export/Import setup highlighted and a table of layout entries below.

75

  1. In the direction choose “Export”, and choose ok. Save the File.

  2. Do the same in the other database’s setup, and choose “Import” in the direction field.

It is also possible to filter in data that we are exporting, but as a default it will take everything out.

Screenshot of a report options dialog showing a Direction dropdown with options Import and Export highlighted and the OK/Cancel buttons visible

9.2 Export/Import Specific Content Setup

It is possible to export the setup for a specific report, one at the time.

  1. In the “Document Customizer Content” mark the line, you would like to export, and choose “export/Import Specific Setup” in the “Actions tab”.

Window titled Edit - Dynamic Reports Content showing the ribbon with an Export/Import Specific Setup action highlighted, and the Dynamic Reports Content list with a report row selected and outlined in red

  1. The export will be filtered to only exporting data that are included in the report.

  2. Do the same in the other database’s setup, and choose “Import” in the direction field.

  3. A pop-up will tell if any new data have been added.

  4. New caption will be added, but if a caption has been changed in the Caption Translation, this will not be updated. This is also why it is a recommended that you don’t change the text in captions, but make a new caption with the wanted text.

9.3 Export/Import Specific Layout Setup

  1. In the “Document Customizer Layout” mark the line, you would like to export, and choose “export/Import Specific Setup” in the “Actions tab”.

Screenshot of a Dynamic Reports Layouts dialog window showing layout codes, report IDs, font settings and an Actions menu with Export/Import Specific Layout highlighted in the toolbar.

  1. The export will be filtered to only exporting data that are included in the line. Please note that picture will not be transferred.

  2. Do the same in the other database’s setup, and choose “Import” in the direction field.

  3. A pop‑up will tell if any new data have been added.

  4. New caption will be added, but if a caption has been changed in the Caption Translation, this will not be updated. This is also why it is a recommended that you don’t change the text in captions, but make a new caption with the wanted text.

10.   Special Report notes


For some reports there are some options and things you should be aware of.

10.1   Statement

The statement document, does not have a column setup as this part I predefined, and can’t be changed, like on the other documents.

The captions used on the report, are in the list of ALL captions, and the report is predefined to look in this translation for the caption to appear on the statement. So when translated, the translation also appears on the statement.

10.1.1   Layout code and Report Template code

Statement doesn’t support the functionality of taking the code from the costumer card. It is ALWAYS necessary to set the wanted layout or report template at the point of running a statement report. If nothing is actively chosen when printing the system will take the system default Layout Code or Report Template Code.

11. Finding table and field number


When editing the reports, it can be beneficially to know the table and field numbers related to a document. These can both be found the same place for all pages.

  1. In the top of the screen, press the triangle, and “Help” and “About This Page”. It is also possible to use the shortcut keys Ctrl+Alt+F1

    A screenshot of the application window showing the top-left triangle menu expanded with the Help menu open and the About This Page option highlighted; the underlying sales order form is visible behind the menu.

  2. In the “Page Information” Tab it is possible to see the Source table of the documents in “SourceTable”.

  3. In the “Table field” tab, all fields in this table are listed. It is the number that is relevant.

    A screenshot of the About This Page dialog showing the Page Information and Table Fields sections; the SourceTable field and example field numbers are highlighted on the dialog.

  4. It is also possible to see the value of the field for this specific document.

Please note that when you have the curser in the header of the document, it will show the information for the header. If you set the curser on a line, the table and fields for the lines will be shown