6.4 Multi-file Sales/Usage Reports

For technical reasons it may be necessary to split a Sales/Usage Report into several files. In such circumstances:

  1. All files shall start with a HEAD Record as defined in the relevant profile of the DSR standard. Some data in some of the Cells in the HEAD Record will vary between the various files;

  1. All files shall have the same set of summary Records containing summary data for the entire multi-file Sales/Usage Report. For the avoidance of doubt, the sets of summary Records in the various files shall all contain the same data;

  1. All files shall have one or more Blocks as described in Clause 6.3;

  1. All files shall end with a FOOT Record as defined in the relevant profile of the DSR standard. Some data in some of the Cells in the FOOT Record will vary between the various files; and

  1. Blocks may not be split between files and may not be repeated in different files of the same Sales/Usage Report.

The last file can be determined in the HEAD and FOOT header and FOOT Records by comparing the FileNumber and NumberOfFiles Cells (or equivalent Cells in other HEAD Records).

This structure is shown in the diagram below. The indentation and spacing is for illustration purposes only.

Picture 1.png

Figure 2 – Overall structure of a Sales/Usage Report created in accordance with the DSR standard