Table of Contents

Auditfile- Compliance Standard

The Auditfile is a set of XML messages that contain your inventory and transaction data for a chosen period. You create a Stock Audit to define the period and filters, select the XML message files to generate, and then download the result as a ZIP file.

Create a stock audit

  1. Open the DMS Stock Audit List page and choose New.
  2. In the New Stock Audit wizard, fill in:
    • Start Date and End Date: the audit period for inventory and transaction data.
    • Customs Code: optional filter. If empty, only data with an empty Customs Code is included.
    • Batch Filter: optional. Limit the audit to specific batches. Leave empty to include all batches.
    • Customer No.: optional. Limit the audit to one customer. Leave empty to include all customers.
    • File Set Code: the XML file set that defines which message types are generated.
  3. In the file selection part, select the message files to include.
  4. Choose Finish. The system creates the stock audit and one message line for each selected file.

Assigned User ID is filled in automatically with the user who creates the audit.

Stock audit options

Option Description
Exclude Marked Batches Omits batches marked as "Exclude from Declaration".
Warehouse Handlings Only Includes only warehouse handling activities.
Include empty Customs Code Includes records with an empty customs code when a Customs Code filter is applied.
Building Filter Limits the audit to specific buildings.

Generate the messages

You can generate the data and messages in two ways:

  • Process Manually: runs data and message generation immediately. This is only possible when no conflicting job queue entry exists.
  • Create Job Queue Entry: schedules background processing.

When you create a job queue entry, the system:

  • Sets the entry to On Hold. Set it to Ready so it can run.
  • Runs the job every day between 00:00 and 06:00.
  • Repeats the job until the stock audit reaches Complete or Error.

Check progress on the stock audit. The status shows where processing is:

Status Meaning
New Not started.
Data Generation In Progress Collecting data.
Data Generation Complete Data is ready.
Message Generation In Progress Creating XML.
Complete Finished.
Error Failed. Open the message lines to see the error.

Review and download the messages

  • Open the Messages page of a stock audit to see each message line, its status, and the number of records it contains.
  • Choose Message Content to view the generated XML of a line.
  • Choose Download Messages to download all XML files as a ZIP file.
  • Select one or more lines and choose Download Selected Messages to download only those files.
  • If generation failed, choose View Error Callstack on the line for technical details.

Update batches

Choose Update Batches to mark batches with a zero balance before the audit start date as "Exclude from Declaration". This only happens when the option is enabled.

How to Set up / Amend File Set

  1. Open the DMS XML File Set List and choose New.
  2. Enter a Code and Description.
  3. Set File Set to Stock Audit.
  4. Open the Files page and check the messages. Mark the files that must always be included as Required. Choose Update File List if new message types are missing.

When you create a stock audit, select this file set in File Set Code. Required files are always included. Add any optional files you need in the file selection step.