PLAT-ADMN-202 practice question 18 of 35

Universal Containers wants to deliver purchased containers to remote construction address. In these cases, the customers will supply UC with the coordinates to the location. What type of field should the app builder use to capture this information?

Full set: 311 questions

Domain Workflow/Process Automation

Answer options
A: Number
B: Geo location Correct answer
C: Text
D: External Lookup
Correct Answer:
B. Geo location
Explanation

The Geolocation custom field is the appropriate choice as it is specifically designed to store location data via latitude and longitude coordinates. This compound field type not only captures the precise location information provided by the customer but also enables location-based functionality. For instance, it can be used with SOQL queries or in formulas with the DISTANCE function to calculate the distance between two geographical points, which is highly relevant for delivery logistics.

Why Incorrect

A. Number: A Number field can only store a single numerical value, requiring two separate fields for latitude and longitude, and lacks built-in location functionality.
C. Text: A Text field would store coordinates as an unstructured string, making it difficult to use for calculations or mapping without custom parsing.
D. External Lookup: This field type creates a relationship to an object in an external system and is not used for storing coordinate values directly.

References

1. Salesforce Help Documentation, "Custom Field Types": This document lists and describes the available custom field types. It specifies, "Geolocation: Allows users to define locations with latitude and longitude. Geolocation fields are compound fields." This confirms it is the purpose-built field for the requirement.

2. Salesforce Help Documentation, "Geolocation Custom Field": This page details the Geolocation field, stating, "A geolocation custom field stores location information. The field is a compound field that counts as three custom fields toward your org’s limits: one for latitude, one for longitude, and one for internal use."

3. Salesforce Help Documentation, "Formula Operators and Functions": The documentation for the DISTANCE function states, "Calculates the distance between two locations in miles or kilometers... This function is available in custom formulas in... fields of type Geolocation." This supports the functional advantage of using the Geolocation field type for logistics.

Scroll to Top