Table

PersonSearchCriteriaAddress

Holds address search criteria for a person search. Each line links to a person search by report name and can hold a location, street, street number, city, ZIP/postal code, county, state and country/region.

Table name
PersonSearchCriteriaAddress
Module
Global address book
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Directory

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CityThe city name used as search criteria.String (60)
LogisticsAddressCityName
NoNone
CountryRegionIdThe country/region used as search criteria, pointing to LogisticsAddressCountryRegion.String
LogisticsAddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdNone
CountyThe county used as search criteria, pointing to LogisticsAddressCounty.String (30)
LogisticsAddressCountyId
NoLogisticsAddressCounty.CountyIdNone
LegalEntityThe company (legal entity) of the record.String
DataAreaId
YesNone
LineNumThe number of the criteria line.Real
LineNum
YesNone
LocationRecord ID of the location (LogisticsLocation) used as criteria.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StateThe state used as search criteria, pointing to a state or county record.String
LogisticsAddressStateId
NoLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdNone
StreetThe street name used as search criteria.String (250)
PersonSearchAddressStreet
NoNone
StreetNumberThe street number used as search criteria.String (20)
LogisticsAddressStreetNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaskIdThe name of the person search report, pointing to PersonSearch.String (100)
PersonSearchTaskId
YesPersonSearch.TaskIdNone
ZipCodeThe ZIP/postal code used as search criteria.String
LogisticsAddressZipCodeId
NoNone

Indexes (1)

Relations (7)

Each relation joins PersonSearchCriteriaAddress to another table on the fields shown.

  • PersonSearch → PersonSearch

    Join on TaskId = PersonSearch.TaskId

    Zero or one PersonSearchCriteriaAddress record → exactly one PersonSearch record

  • CityName → LogisticsAddressCity

    Join on City = LogisticsAddressCity.Name

    Cardinality not set in the metadata.

  • CountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many PersonSearchCriteriaAddress records → exactly one LogisticsAddressCountryRegion record

  • County → LogisticsAddressCounty

    Join on CountryRegionId = LogisticsAddressCounty.CountryRegionId, State = LogisticsAddressCounty.StateId, County = LogisticsAddressCounty.CountyId

    Many PersonSearchCriteriaAddress records → zero or one LogisticsAddressCounty record

  • Location → LogisticsLocation

    Join on Location = LogisticsLocation.RecId

    Many PersonSearchCriteriaAddress records → exactly one LogisticsLocation record

  • State → LogisticsAddressState

    Join on CountryRegionId = LogisticsAddressState.CountryRegionId, State = LogisticsAddressState.StateId

    Many PersonSearchCriteriaAddress records → zero or one LogisticsAddressState record

  • ZipCodeId → LogisticsAddressZipCode

    Join on ZipCode = LogisticsAddressZipCode.ZipCode

    Cardinality not set in the metadata.

Get this data out

No public entity reads from PersonSearchCriteriaAddress. Its data is only reachable through the application, a custom entity or a database export.

Need help with PersonSearchCriteriaAddress in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk