Operation Details
Description: Retrieves a list of Information Provider Summary details
Sterotype: nsmulti
SQL
SELECT
  InformationProvider.primaryAlternateID,
  InformationProvider.concernRoleID,
  InformationProvider.name,
  ConcernRole.sensitivity,
  city.elementValue,
  addressLine1.elementValue
INTO
  :primaryAlternateID,
  :concernRoleID,
  :name,
  :sensitivity,
  :city,
  :addressLine1 
FROM
  ConcernRole,
  InformationProvider,
  AddressElement city,
  AddressElement addressLine1 
WHERE 
  (
    :searchByName = '0' 
    OR InformationProvider.upperName like :name 
  ) 
  AND ConcernRole.concernRoleID = InformationProvider.concernRoleID 
  AND addressLine1.addressID = ConcernRole.primaryAddressID 
  AND addressLine1.elementType = :addressLine1Type 
  AND city.addressID = ConcernRole.primaryAddressID 
  AND city.elementType = :cityType 
  AND 
  (
    :searchByAddressLine1 = '0' 
    OR addressLine1.upperElementValue like :addressLine1 
  ) 
  AND 
  (
    :searchByCity = '0' 
    OR city.upperElementValue like :city 
  )