Predefined Calculation: Get Ward From CMS LLPG Data

Summary

This formula can be used to get the ward the property resides in from the local LLPG data.

Setup

The formula requires the import of local LLPG address data into your system. Please speak to Jadu Support if you are unsure if you have this data imported.

Inputs

This formula has two settings, the URPN or Postcode value to use to search for the ward and the search method (UPRN or Postcode) that should match the type of data passed into to the first setting.

Return values

Value Description
string Ward of the property
not-found if no ward is found for the property

Note: return values are case sensitive

Formula Logic

  1. If the search method is UPRN the formula wil call getLPIForUPRN and if the ward is set on the returned object it is returned.

  2. If the search method is Postcode the formula wil call getAllLPIsForPostCode and if the ward is set on the returned object it is returned.

  3. If the ward is not returned in step 1 or 2, not-found is returned.

results matching ""

    No results matching ""