How To: Add Various Settings when Configuring Basic Reports

Basic Reports Setup is an Advanced User feature.

Quantity Field display Blank not 0

When displaying '0' in a quantity field and you would like this to show as blank:

  1. Right Click on the Qty field.
  2. Select DisplayFormat.
  3. In the DisplayFormat property of the Qty field, set:
  4. Click OK.

Date Formats

  1. Right Click on the date field.
  2. Select DisplayFormat.
  3. Set the date as:
    1. For '12 October 2022' as dd mmmm yyyy, or
    2. For 'Friday 14 October 2022' as dddd dd/mmmm/yyyy
  4. Click OK.

Include time on a report

  1. Right Click on the date field.
  2. Select DisplayFormat.
  3. Set the date as dddd dd/mm/yyyy hh:nn
  4. Click OK.

Have a PO Reorder multiple display as full amount

For reorder multiples, if you want to display 10 instead of 1x10:

  1. Select the Qty field.
  2. The Data Pipeline dropdown in the top right will be DBDetails.
  3. In the adjacent Data Field drop down, change the qty to Real_Qty_Bought

Taking out backorder stock code/desc etc from the report

  1. Open the report.
  2. In the Report Settings checkboxes tick the Exclude To Follow Items checkbox.
  3. Continue to edit the report as required.

Change and add colours to shapes

  1. Open the report in Design view.
  2. Click on View at the top of the screen.
  3. Select Toolbars.
  4. Tick the Draw toolbar.
    Basic Reports Draw toolbar

    A paint tin will appear on the toolbar from which you can load the MS Paint toolbars so you can select multiple colours or enter the RGB colour codes and define how light or dark the colour is.
    Basic Reports paint tin will appear on the toolbar where you can select multiple colours..

Basic Report Coloured Invoice design

Basic Report Coloured Invoice design example

Note: Not every object can be coloured.

Ensure a line stays with the stock item line

To add a space in a report, you can use a region.

  1. Open the report in Design view.
  2. Click on the Region button in Basic Reports button on the Advanced Component toolbar.
    Note: if you can't see the toolbar, click on View at the top of the screen, then Toolbars and select Advanced Components.
  3. Click on the area of the report where you want the region to be located.
  4. Using the handles adjust the region to the desired size.
  5. Untick the Visible checkbox.
  6. Add a line under the region: (Optional)
    1. Click on the Line component in Basic Reports button.
    2. Click in the report under the region.
    3. Resize as required.
    4. Tick the StretchWithParent checkbox.
    5. Tick the ParentHeight checkbox.
    6. Tick the ParentWidth checkbox.
  7. Continue editing as required or save your changes.

Adding Boxes and Weights to Reports

Add a DBText field for the calculation for the box and weights:
Basic Report example of box and weight

Adding a Box

  1. Open the report in Design view.
  2. Click on the DBText button button.
  3. Place the field in the location on the report and use the handles to resize as required.
  4. In DBBase select calc_inv_box_count.
    Basic Reports adding a box
  5. Add a label as per the diagram by clicking on the Label button button.

Adding Weights

There are two weights that can be added to your report from the [ Stock | Detail | Properties ]screen; Average and Postage Weights:
Stock screen average and postage weight

Adding the Average Weight

  1. Click on the DBText button button.
  2. Place the field in the location on the report and use the handles to resize as required.
  3. In DBBase select calc_total_weight.
    Basic Reports adding weight
  4. Add a label as per the diagram by clicking on the Label button button.

Adding the Postage Weight

  1. Click on the DBText button button.
  2. Place the field in the location on the report and use the handles to resize as required.
  3. In DBBase select calc_inv_box_weight.
  4. Add a label as per the diagram by clicking on the Label button button.

Headers and Footers

Add a header or footer to a report

Go to Report on the Menu bar at the top and select Header or Footer as required:
Basic Reports Header and Footer
You can then add fields to the header and/or footer area as required.

Move the group footer to be directly under the last stock item

This will move the footer details so it always stays under the last stock item in the list instead of lots of white space.

In the Report Tree:

  1. Focus on the rgXGenXDetailBottomSpacer.
  2. Untick the Visible checkbox (see below).
    Move the group footer to be directly under the last stock item

Displaying Options, for example Locations, in Alphabetical Order

  1. Open the report and ensure you have the correct brand selected.
  2. Tick the Allow Cust Sorting (Order) checkbox.
    Allow Custom Sort Order checkbox
  3. Click on the Basic Reports Sorting Order button button which will be activated on the right of the dialog.
  4. In the Sort Order dialog:
    Sorting Order dialog in Basic Reports
    1. Select the type of items to be sorted, e.g. Items Order, Documents Order etc.
    2. The Available items that can be ordered will appear.
    3. Focus on the option you wish to order by and click the green arrow to add it to the In Use grid on the right.
    4. Tick the Asc (Ascending) or Desc (Descending) checkboxes as required.
    5. Move the hierarchy of the options as required by using the purple up and down arrows above the grid.
  5. Click on the Back to Details button when finished.

Company Name not showing on Reports

If the company name is not showing on reports:

  1. Open a Sales Order screen (show me how).
  2. Open [ Sales Order | Detail | Addresses ] tab.
  3. Press Alt+E or click the green triangle icon is the buttonbar's EDIT button to enter edit mode.
  4. Tick the Name checkboxes to the right of Invoice Address and Delivery Address.
  5. Press Ctrl+S or click the disk icon is the button bar's SAVE button to save or continue to edit the sales order

    Sales Order Addresses tab Name checkboxes


Logos are stored in the following places in the system:

The logo image files must be stored in a central location on the server.

If you wish to display a logo on a document then the Show Logo checkbox must be ticked in Report Settings:
Basic Reports Show Logo checkbox.

  1. In Basic Reports Design view, click on the Image button on the top toolbar:
    Basic Reports Image Path button
  2. Place the image in the report and resize as required.
  3. Click on the Picture option and then on the ellipsis. You can then locate the file path of the logo image.
    Note: If using branding you don't need the file path as the system will know where to find the logo.
  4. Change the UserName to the name of the logo.
  5. Tick the Stretch checkbox.
  6. Save the report as normal.
    Setting up a logo in Basic Reports

Wrapping Stock Codes and Descriptions

Wrapping for DBMemo in Basic Reports

If you have long stock codes or descriptions these can be wrapped, i.e. displayed over more than one line in your reports.

  1. Click on the DBMemo button DBMemo button on the menu.
  2. Place the DBMemo object in the report and resize and position as required.
  3. In the DBDetails pipeline, select stock_code for stock codes or cal_stock_desc for stock descriptions.
  4. Tick the CharWrap checkbox.
  5. Tick the Stretch checkbox.
  6. Continue editing as required.

    Sales Order showing stock code and description wrapping

Adding extra addresses or an email/contact number etc

Editing Addresses

In the addresses area, double click to edit. In the following image the non-editable group is on the left, the editable address group is on the right:
Basic Reports editing the addresses areas

<%br%> add a line break to add the information onto the next line.

Mandatory Address Tags

The following tags are mandatory:

<%SkipEmpty%> if there is nothing to display a tag will be skipped.
<%NO DoubleName%> if the names are the same, e.g. company, contact, organisation, then the system will skip them when using this tag.

Changing the colour or format of a section of an Address

  1. Add a Memo Button Memo field and place it into the group.
  2. Add the fields which can then be formatted e.g. bold, red etc.

Which Address to Use?

You define which address type to use from the Basic Reports Addresses button button, see Basic Reports Setup - Address Type.


  • The name of the field e.g. eEmailAddress must match exactly.
  • You need to select where this should be pulled from e.g. Invoice/Delivery.
  • If there is only one field required such as email/tel, ensure that the Custom checkbox is ticked.
  • This must be setup for all brands and fields e.g. Compnay Name, Tel etc.

Making sure Child Items aren't shown on Sales Order Acknowledgement and Pick Ticket

All items within DBDetails needs to be in a region as seen below:
Basic report region for SOA

A condition then needs to be made using the region and the parentstock_id which needs to be <> 0:
Basic report conditions for SOA

Adding a 2D Barcode

2D barcodes can be added to documents and also labels as follows:

  1. Open the document or label in design view making sure you have selected the correct brand if using.
  2. Click on the Basic Report 2D DB barcode button button.
  3. Place the object and position and resize using the handles as required.
  4. From DBDetails, select stock_code or stock_other_ref as what will be displayed as the 2D barcode.

You can further define stock labels as per below.

Adding the 2D Barcode to a Stock Label

When adding the 2D barcode to a label, you can define the type of barcode as setup in [ System Data | Stock | Barcode Type ] and then configured using the Barcode Button list button in the [ Stock | Detail | Properties ] screen. This is done using the Basic Report labels stock related button button.

Working on below

Rotate Fields for Reports and Labels

You can rotate certain fields so that they display at an angle.

Rotate in Reports

  1. In Design view select the field you wish to change the angle for.
  2. Tick the Angle checkbox.
  3. Enter the number of degrees you wish to rotate the field, e.g.
    To turn to the left, you will need to make this 90.
    To turn to the right, this will need to be 270.
    If you would like it upside down, this will need to be 180.


  • This will work on most fields, however, this does not work for Memo and Images on reports.
  • WordWrap doesn't work when using Angles.

Rotate in Labels

  1. In Design view setup the field you wish to rotate.
  2. Give it a UserName.
  3. Set up the rest of the options including the pipeline if needed.
  4. Close Design view.
  5. Click on the Basic Reports rotate button. button.
  6. Click on the the NEW ITEM button has an icon that shows two sheets of paper (identified by having the top right corner folded down), arranged diagonally on the icon from top left to bottom right button.
  7. Add a Report Component Name, this is the UserName as entered at step 2 above.
  8. Select the Direction:
    1. rdNone
    2. rdLeft
    3. rdRight
    4. rdUpsideDown


  • When using Basic Label Report Setup, Memo and Images can be rotated.
  • WordWrap doesn't work when using Angles.

Moving Stock to Follow

If you want stock to follow away from the stock description, you have to ensure that the ShiftRelativeTo, does not have anything in there:

You also need to ensure that the Show Stock Info Inline is unticked:


Payment information not pulling through to invoice

When using a Custom's invoice, and the payment information is not pulling through to the printout, ensure that:

  1. The Use Customs Inv in [ System Data | International | Countries ] is ticketed for the relevant countries.
  2. The Show Payments checkbox is ticked in the Basic Reports dialog.

Payment Type or Currencies as Written Values

In the report, add however many labels you require. In the example below, we have 3 labels overlapping each other so that they are all in the same area. These are called Cash, Account and Card: In the conditions, you will need to add the conditions as below: To find the PTYPE_ID, you can go into reports and find this within SQL. You will need to match the ID to the description. (select * from sorder_payment_type). For currencies, you do exactly the same but write the currencies you require such as Pound Sterling, Euro, US Dollars etc:

Again, you can find the currency ID through SQL and then enter these within the conditions:

See Also

Did you find this article helpful?