On this page

Franchise exports ​

Menu: Financial reports → Franchise exports. A franchisor may ask for a regular file of your stores' sales or stock in a specific format. Instead of the old system's fixed reports, you define that format here in a template you control (RP20).

Create a template ​

Select New from example, choose an example (sales by receipt and item, stock balance by barcode, or receipts), then adjust the following:

  • Source: Sales lines, Receipts or Stock.
  • Store codes: the franchisor's code for each store (or warehouse, for stock). A store with no code isn't exported.
  • Columns: the heading, the source (Field, Store code, Fixed text or Row number) and a short format such as width=9 pad=0 decimals=0 x100 abs (width, padding character, decimal places, multiplier, absolute value) or date=yyyyMMdd.
  • Group equal rows (sum the amounts): rows with the same values are merged, and their quantities and amounts are added up.
  • File: delimited text (comma, semicolon, vertical bar or tab), fixed width (each column needs a width) or Excel. The File name accepts {code}, {from} and {to}.

Preview and export ​

Choose the template and the period. Preview shows the first rows and the row count. Export file (permission rpt.franchise_export.export) downloads the file and records the export in the audit trail. Amounts are in the document currency, and returns are negative.