# Business Validation Configurations

Note: Refer to the [Harmony Reference Guide – Management Console ](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/management-console-reference-guide)for instructions on using the Console, and understanding its components

## Business Validation PDP Setup

This sections [Setup AuBusinessValidation PDP](#setup-aubusinessvalidation-pdp) and [Setup NzBusinessValidation PDP](#setup-nzbusinessvalidation-pdp) details about PDP setup.

### Setup AuBusinessValidation PDP

Once logged into the Harmony Management Console, there are two steps:&#x20;

* Select the locale as Australia.
* Add the AuBusinessValidation PDP.

#### **Steps: Set Up the Australia Locale**&#x20;

From the **Configure** drop-down menu, select **Cleanse Engine**.

<div align="left"><figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FzzDrgh6j4RpbSSAc1bH9%2Fimage.png?alt=media&#x26;token=7290e94c-6ce4-46fa-ad3e-aecaf1860e0b" alt=""><figcaption></figcaption></figure></div>

The **Cleanse Engine core configurations** panel displays. From the field **Default Locale**, select AUSTRALIA and hit **save configuration** button.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FxRgoDxNJHpAhYsnk0oqe%2Fimage.png?alt=media&#x26;token=25a66c6a-d76b-476e-81e8-f3b8b6a720b6" alt=""><figcaption></figcaption></figure>

#### Steps: Add the AuBusinessValidation PDP

&#x20; From the **Configure** drop-down menu, select **Components.**

<div align="left"><figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FnFGammurCqzQvFa31RWX%2Fimage.png?alt=media&#x26;token=b492147b-133a-4fbf-a6b4-33a7c2b1e579" alt=""><figcaption></figcaption></figure></div>

The **Components Configuration** panel displays the default component groups. Either select the existing **DEMO AU Company Name Group** for adding the **AuBusinessValidation** PDP or create a new component group.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FhrCgawZNvkucdsqry2Jy%2Fimage.png?alt=media&#x26;token=5c07a035-da86-41b1-a54d-4691699b8aac" alt=""><figcaption></figcaption></figure>

Select the existing **DEMO AU Company Name Group** and add the PDP as shown below and hit **save group** button.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2F4PY2IId1GJ9h1qC1ZhAK%2Fimage.png?alt=media&#x26;token=c1766ca4-40ad-41ef-b30f-13d6b72a96d0" alt=""><figcaption></figcaption></figure>

Alternatively, the user can create a new component group with a new Client Role for the COMPANY\_DATA model and add the PDP to the newly created component group. A comprehensive guide to add a new client role and component group has been provided in [Harmony Management Console Reference Guide](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/management-console-reference-guide), refer page no 82 to 84.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FtdntL3xyjh9EcMsSspPc%2Fimage.png?alt=media&#x26;token=a0163fcf-1f53-4508-acdf-96572cd25a0a" alt=""><figcaption></figcaption></figure>

###

### Setup NzBusinessValidation PDP

* Select the locale as NEW\_ZEALAND.
* Add the NzBusinessValidation PDP.

#### **Steps: Set Up the NEW\_ZEALAND Locale**&#x20;

From the **Configure** drop-down menu, select **Cleanse Engine**.

<div align="left"><figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FzzDrgh6j4RpbSSAc1bH9%2Fimage.png?alt=media&#x26;token=7290e94c-6ce4-46fa-ad3e-aecaf1860e0b" alt=""><figcaption></figcaption></figure></div>

The **Cleanse Engine core configurations** panel displays. From the field **Default Locale**, select NEW\_ZEALAND and hit **save configuration** button.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FZqB3YOGkMcLCaHDOCc1l%2Fimage.png?alt=media&#x26;token=4498283b-20ed-4c49-9915-944cf79361a1" alt=""><figcaption></figcaption></figure>

#### Steps: Add the NzBusinessValidation PDP

From the **Configure** drop-down menu, select **Components.**

<div align="left"><figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FnFGammurCqzQvFa31RWX%2Fimage.png?alt=media&#x26;token=b492147b-133a-4fbf-a6b4-33a7c2b1e579" alt=""><figcaption></figcaption></figure></div>

The **Components Configuration** panel displays the default component groups. Either select the existing **DEMO NZ Company Name Group** for adding the **NzBusinessValidation** PDP or create a new component group.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FUTdS4R1wp5ZUcTccnmbH%2Fimage.png?alt=media&#x26;token=55eef6f8-a263-4a87-9ec6-5fb6eaa1d76e" alt=""><figcaption></figcaption></figure>

Alternatively, if the user wants to add the PDP to a newly created component group with a new Client Role that can be done as follows.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FLYcQyuSLCWk3aZwzZViN%2Fimage.png?alt=media&#x26;token=49879154-bd80-40ff-b7e4-67eb792a19c3" alt=""><figcaption></figcaption></figure>

## Business Validation Configuration File Setup

A configuration file has been implemented for Business Validation, allowing customers to customize or adjust the business validation according to their specific needs.

The available parameters for configuration can be set through a YAML file named business\_validation\_config.yml available in $HARMONY\_HOME/config/scrubbing folder.

The parameters are specific to each country. By default, the validation PDPS will utilize the parameters defined for a specific country.

* AuBusinessValidation PDP will utilize the default YAML configuration listed under name:au.
* NzBusinessValidation PDP will utilize the default YAML configuration listed under name:nz.

<table><thead><tr><th width="196">Name</th><th width="174">Example</th><th>Description</th></tr></thead><tbody><tr><td>scoreThreshold</td><td><p>Default 0.0</p><p>Customize to 0.2</p><p></p></td><td><p><strong>scoreThreshold</strong> 0.0 means no score filter is set.It is adjustable to fine tune the systems sensitivity to match based on specific requirement.</p><p></p><p>Score ranges between 0 and 1.</p><p>0->represents lowest confidence match</p><p>1->represents highest confidence match</p><p></p><p>For e.g. if scoreThreshold value of 0.2 is set, any business validation match score below this threshold will be considered as an unlikely match, not reliable enough leading to a no match.</p><p></p></td></tr><tr><td>taxStatus</td><td><p>Default empty</p><p>Customize to ACT</p><p></p></td><td><p>If <strong>taxStatus</strong> is empty means the input company name is allowed to match against business with different tax status.</p><p></p><p>Options for taxStatus:</p><p>ACT = Active</p><p>CAN = Cancelled</p><p>NON = None</p><p>empty means all</p><p></p><p>For e.g. taxStatus:ACT means input company name is allowed to match against active business only.<br></p></td></tr><tr><td>bnStatus</td><td><p></p><p>Default ACT</p><p>Customize to empty.</p><p></p><p></p></td><td><p>If <strong>bnStatus</strong> is ACT, means the input company name is allowed to match against active business only.</p><p></p><p>Options for bnStatus:</p><p>ACT = Active</p><p>CAN = Cancelled</p><p>empty means all</p><p></p><p><strong>For e.g.</strong> bnStatus:  means input company name is allowed to match against both active and cancelled business names.<br></p></td></tr><tr><td>nameTypes</td><td><p><strong>Default list for au.</strong></p><p><strong>nameTypes:</strong></p><p> - "MN" </p><p> - "LGL"</p><p> - "TRD"</p><p> - "BN"</p><p></p><p>Customized List for au</p><p><strong>nameTypes:</strong></p><p> - "MN" </p><p> - "LGL"</p><p> - "TRD"</p><p> - "BN"</p><p> - "OTN"</p><p></p><p></p></td><td><p><strong>nameTypes</strong> is a list that allows input company name to match against a list of company names.</p><p><strong>nameTypes:</strong></p><p> - "MN" </p><p> - "LGL"</p><p> - "TRD"</p><p> - "BN"</p><p></p><p><strong>list of name types applicable for Australia</strong> </p><p>MN-->Main Entity name</p><p>LGL-->Legal Entity Name (individuals/sole traders)</p><p>TRD-->Trading name</p><p>BN-->Business name</p><p></p><p><strong>list of name types applicable for New Zealand</strong></p><p>MN-->Main Entity name </p><p>TRD-->Trading name </p><p></p><p>Users have the flexibility to modify the 'nameTypes' list, adding or removing nameTypes as needed, enabling the input company name to be matched against a specific set of names. Refer Example column.</p><p><strong>For e.g.</strong> Adding an additional nameTypes allows the input to find a match against the other entity names.</p></td></tr><tr><td>rules</td><td><p><strong>Default List</strong></p><p><strong>rules:</strong> </p><p>- "Id"</p><p> - "OriginalInput" </p><p> - "BeneficiaryName"</p><p> - "MainName"</p><p> - "TradingName"</p><p></p><p></p><p></p><p><strong>Customized List:</strong></p><p>- "Id"</p><p>-BeneficiaryName"</p><p>-"MainName"</p><p>-"TradingName"</p><p>-"OriginalInput"</p><p></p><p></p><p></p><p></p></td><td><p><strong>rules</strong> are a list that defines the sequence in which input businesses are assessed for validation. It follows the order listed in <a href="#matching-rule-list">Matching Rule List.</a></p><p></p><p>Users have the flexibility to modify the order of the rules or remove the rules as per their choice.</p><p></p><p></p><p></p><p></p><p></p><p> </p></td></tr></tbody></table>

#### **Input presentations:**

A business ID can comprise of Business Number or Company Number.

&#x20;Company Name can comprise of company or business name.&#x20;

**Example combinations of a Business Inputs are:**

* Business/Company number and Company Name
* Company number only
* Company Name only&#x20;
* Company number and Business Trading Name
* Trust name including trustee and beneficiaries.

See [matching rule list](#matching-rule-list): the priority order for processing the rules would be as follows considering both ID and Company Name as inputs:

#### **Matching Rule List**

**rules** are a list that defines the sequence in which input businesses are assessed for validation. It follows the order below.&#x20;

Rule order can be rearranged, some rules can be removed based on user preference.

**Default matching rules:**&#x20;

1. ID
2. OriginalInput
3. BeneficiaryName
4. MainName
5. TradingName

Please note that the validation stops once a successful match or ambiguous matches are found with any of the rules in the order without proceeding to subsequent rules. If no match with the current rule, then the validation proceeds further with the next subsequent rule.

1. **ID Rule:**
   * ID takes precedence for validation.
   * ID must exactly match for successful validation.
   * If an exact match is found on ID, the validation process terminates without going through subsequent rules.
   * If no match on ID, the validation proceeds with Company Name,following the priority of company names with multiple entities as outlined from Rule 2.
2. **OriginalInput Rule:**
   * Occasionally, parsing failures may occur, resulting in splitting of a single company name input into two entities.
   * If such splits create valid business entities independently, the "OriginalInput" rule is employed to mitigate ambiguity.
3. **BeneficiaryName Rule:**
   * Beneficiary name is taken precedence over main name and trading name.
4. **MainName Rule:**
   * If no successful match is found with the beneficiary's name, the validation process continues with the main name.
5. **TradingName Rule:**
   * If neither the beneficiary's name nor the main name results in a successful match, the validation process proceeds to the trading name.

Refer Example 1 and 2 for better understanding the structure of a complex company with multiple entities, this example will follow rule 3,4 and 5 for validation.

**Example 1**&#x20;

**Input Business ID:** 43 154 618 498

**Input Company Name:** Xyz pty ltd as trustee for James Jones trading as Eternal Graphix&#x20;

**ID:** 43 154 618 498

**Main name:** Xyz pty ltd

**Trading name:** Eternal Graphix

**Beneficiary name:** James jones

**Example 2**&#x20;

**Input Company Name:** Eternal Graphix trading as Xyz pty ltd as trustee for James Jones

**Main name:** Eternal Graphix

**Trading name:** Xyz pty ltd

**Beneficiary name:** James jones

Once the [Business Validation PDP Setup](#business-validation-pdp-setup) and [Business Validation Configuration File Setup](#business-validation-configuration-file-setup) is done, the user can then invoke the[ ](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/business-lookup-and-validation/business-validation/business-validation-using-harmony-batch-system)[Business Validation using Harmony Batch System](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/business-lookup-and-validation/business-validation/business-validation-using-harmony-batch-system) or [Business Validation using Harmony WS ](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/business-lookup-and-validation/business-validation/business-validation-using-harmony-ws)with the respective Client Role to validate Business names.
