Document toolboxDocument toolbox

sp047_postcodes

This table provides a list of (full or partial) postcodes (or, more generally, any 8 character location code) known to the system. (It is needed to allow the user to be presented with a list of postcodes which have not been assigned to a region.)


 

Table Definition

Field
Type
Default
Nullable
postcodevarchar2(30) (error)
region_nonumber(9) (tick)
latnumber(18,9) (tick)
lonnumber(18,9) (tick)
obsoleteinteger (tick)
visiblenumber(1) (tick)
lat_long_option number(2) (tick)

Keys

primary key (postcode) 

foreign key (region_no) references sp057_regions (region_no)

Column Descriptions

FieldDescription
postcodeA full or partial postcode, or other (customer defined) location code. 
region_no

region to which this postcode is mapped

latlat/lon co-ordinates of postcode (coordinate system WGS84)
lon 
obsoleteMarker used to indicate postcode no longer used
visibleMarker used to denote whether the point should be drawn on the map in Planner.
lat_long_option*reserved* for future enhancements

 

Â