Legacy Audit

The Audit Dialog lets users with Audit permission review changes made to Sales Orders and related documents after they have been saved. It provides an audit history showing who changed an order, when the change happened and the values before and after the change.

Khaos Control's auditing tools are designed to help you understand how records reached their current state. 

What is recorded in the Audit Dialog?

The Audit Dialog can record changes to Sales Orders, Proforma Orders, Quotations and Credit Notes.
It also records actions that affect Sales Order or invoice processing, including:

Open the Audit Dialog

You can access the Audit Dialog from:
The Audit Dialog can also be accessed through appropriate Other Actions menus elsewhere in Khaos Control. 

Show for Order

If you open the Audit Dialog from a loaded Sales Order, Show for Order filters the results using the Sales Order code.

Show for Customer

If you open the Audit Dialog from a loaded Sales Order, Show for Customer filters the results using the customer's URN.
Note: If you use these options from [ Sales Orders | List ] without first loading or creating a Sales Order, the Audit Dialog is not automatically filtered by customer or document.

Understanding the Audit Dialog

The Audit Dialog contains:
  • Filters at the top.
  • An Upper Sales Order Grid.
  • A Lower Stock Items Grid.
Tip: The Audit Dialog can be resized, making larger amounts of audit information easier to review.

Top Filters

Use the filters at the top of the dialog to narrow down the information displayed.

Event Type

A traffic light filter used to select the type of action that changed the Sales Order:
  • UPD - Update
  • INS - Insert
  • CNL - Cancellation

Date From/To

A traffic light filter used to specify the date range you want to review.

Reason

Searches the Audit Reason for a particular reason recorded against a change.
You can enter either the complete reason or part of the text.

Company

Filters the results by customer. Use the lookup option to find and select the required customer.

User

Filters the audit information by the user who made the change.

Document Code

Filters by a document code, such as the Sales Order number.

Alternate Code

The purpose of this filter depends on the information you are reviewing:
  • In the upper Sales Order grid, it acts as an invoice code filter.
  • In the lower Stock Items grid, it acts as a stock ID filter.

Associated Ref

Filters by the associated reference used when importing Sales Orders, for example orders originating from eBay, Amazon or a website.

Cancelled Sales Order Report

You can produce a report that groups cancelled orders by Sales Order type.
For more information, see:
Important: After adding or changing filters, click Go to populate or refresh the grids.

Upper Sales Order Grid

The upper grid shows audit information relating to the Sales Order as a whole.

Audit information

  • ID - The ID number for the change.
  • Audit Reason - The reason entered by the user. For example, if an order was cancelled, the cancellation reason appears here.
  • Type - The type of event, such as UPD for an update or CNL for a cancellation.
  • Date - The date the change was made.
  • Time - The time the change was made.
  • Order - Identifies the state of the record:
    • 0 - Initial state, before the change.
    • 1 - Result state, after the change.
  • SOrder Code - The document code.
  • Inv Code - The Sales Invoice number. If an invoice has not been created, this displays???.
  • User - The user who made the change.
  • Orig User - The user who originally created the document.

Customer and order information

  • Invoice Status - The order's location in the Sales Invoice Manager. Sales Invoice Manager uses stages to manage Sales Order processing. 
  • URN - The company's URN.
  • Company Name - The customer or company name.
  • Date Created - The date the order was created.
  • Delivery Date - The date the order is due for despatch.

Financial information

  • Order Net - The net value of the order, including the delivery charge.
  • Order Tax - The VAT on the order, including VAT on delivery charges.
  • Delivery Net - The delivery charge excluding VAT.
  • Delivery Tax - The VAT charged on delivery.
  • Discount - Any change made to the order discount.

Order classification and delivery information

  • SO Type - The document type, for example Sales Order.
  • SO VType - A more specific document type, for example Proforma.
  • SOrder Source - The Sales Source assigned to the order.
  • Keycode Code - The Keycode code.
  • Keycode Desc - The Keycode description.
  • Del Address - The delivery address.
  • Del Contact - The delivery contact.
  • Courier - The courier assigned to the order.
  • Site - The site the user was logged into.
  • Inv Priority - The Invoice Priority used on the Sales Order.

Payment information

  • Manual Payments - Highlighted in yellow if Manual Payments is ticked in [ Sales Order | Payment ].
  • Pay Remainder on Account - Highlighted in yellow if Pay Remainder on Account is ticked in [ Sales Order | Payment ].
  • Pay on Account - Highlighted in yellow if Pay on Account is selected in [ Sales Order | Payment ].
  • Calculation Method - Shows whether the calculation method is Gross or Net.

Other information

  • Client Name - If Clients are in use, shows the Client name. Otherwise, this displays Parent Company.
  • Associated Ref - The associated reference used when importing the Sales Order, for example from eBay, Amazon or a website.
Note: A cancelled Sales Order appears as a single audit line. A change to an order, such as applying a percentage discount, appears as two lines. The first shows the value before the change and the second shows the result, with changed values highlighted in yellow.

Lower Stock Items Grid

The lower grid shows audit information relating to individual stock item lines on the Sales Order.

Audit information

  • ID - The ID number for the change.
  • Audit Reason - The reason recorded when the change was saved.
  • Type - The event type:
    • UPD - Update
    • INS - Insert
    • CNL - Cancellation
  • Date - The date the change was made.
  • Time - The time the change was made.
  • Order - Identifies the record state:
    • 0 - Initial state, before the change.
    • 1 - Result state, after the change.
  • SOrder Code - The document code.
  • Inv Code - The Sales Invoice number. If no invoice has been created, this displays ???.
  • User - The user who changed the order.

Customer and stock information

  • URN - The company's URN.
  • Company Name - The customer or company name.
  • Sk Code - The Stock Code.
  • Sk Description - The stock item description.
  • Qty Sold - The quantity of the stock item sold.
  • Assigned - The quantity assigned to the Sales Order.

Pricing information

  • Net Unit - The net value per stock item.
  • Grs Unit - The gross value per stock item.
  • Net Total - The net total for the stock item line.
  • VAT Total - The total VAT for the stock item line.
  • Discount - The discount applied to the stock item.

Stock allocation and pricing

  • Do Assign - Shows whether postpone assignment is on or off.
  • Price From - Shows where the item's price originated, for example Stock Item, Changed, Keycode, Price List/Item-Price (Grs) or Up / Cross Sell.

Understanding Changes in the Grid

When you change a stock item, Khaos Control normally displays two audit lines:
  1. The first line shows the original state before the change.
  2. The second line shows the resulting state, with changed values highlighted in yellow.
This applies to changes such as:
  • Applying a discount to a stock item.
  • Removing a stock item from the Sales Order.
  • Changing the quantity.
For cancellations (CNL), only the initial state is recorded, so the Order event code is 0.

See Also


Did you find this article helpful?