019131: Implement an option to change the default POSTCODE matching behaviour



Overview

An extra option has been added to select how postcode matching operates.

Specification

Under development 018367: Modify Sales Invoice Manager Rules Postcode matching to match whole Postcode the postcode matching was modified to be an exact match, which results in part postcode matches for courier bandings and delivery rates being applied erroneously. To help solve this the new development [ Terms Enforcement ] dialog another column has been added for "Allow Partial Postcodes" so that the specified postcodes don't have to be fully matched. This defaults to off.

The postcode matching functionality is used by the following routines:

  • Using "Invoice Rules" to hold orders
  • Courier Bandings
  • Delivery Rates

Configuration

Following the update, the only configuration required, is to set the new option within the [ Sales Invoice manager | Other Actions | Edit Invoice Rules | Terms Enforcement ] dialog.

  • By default, this option is unticked, and postcode matching utilises the functionality from dev 018367.
  • When ticked, the postcode matching utilises the functionality from before dev 019367.

Note/Caveats :

  1. Once the setting is changed, it will remain so until changed again.
  2. After any changes have been made, the Khaos Control app needs to be closed and then restarted to take effect.

Usage

After applying the update, typical usage is as follows:

  • With the new option unticked (Default).
    • The space is ignored, so "XX1 1YY" will match with "XX11YY".
  • With the new option ticked.
    • The space is considered, so "XX1 1YY" will only match with "XX1 1YY" not "XX11YY"

Did you find this article helpful?