The Locations table is used to store information on locations for Companies.
Use Case for Locations
Location records may Location records, which are used to store specific information about where the companies in Company records are found geographically. Some companies have multiple Location records because they have multiple physical company locations, such as one Location record for their headquarters and another Location record for a subsidiary. To view some examples of companies with multiple Location records, sort the records in the Location table alphabetically by clicking Company Name.
Location records can be created by members of the Admin, Admin Import, Business Admin, Contract Creator, Contract Manager, Contract Requester, Sales, and Sales Vendor groups.
Each location Location record can be linked to a parent company Company record from the Companies table. Each These Location holds records contain a single address and , but can have multiple Location Types.
Location records are created by conversion at certain points:
directly from the Locations table, but can also be created by conversion. Location records can be created by conversion when:
- A new Company record is created from within a contract, a location is created in the background.
- When a lead is converted to an opportunity record, a location is created.
People may be associated with locations.
- Contract record
- A Lead record is converted to an Opportunity record
When you name a Location record, that name should reflect the actual name of the building, or a similar distinguishing factor; there are other, built-in fields that are used to hold more granular information. While you can add city or town names to Location records by simply typing the name into the City field, you must select a value for the Country field from the Country table with the magnifying glass icon.
In the Standard System Demo, the Location table contains five rules. These rules are accessed by expanding the Locations table in the left pane, selecting Setup Locations, and then selecting the Rules tab:
- Create: Contract Source Actions (web, API): This rule runs whenever a new Location record is created by a user or by another rule in the system. It consists of two Linked Field actions: L: Set Location ID in source contract and L: Set Main Location ID in company. L: Set Location ID in source contract is a Linked Field action that links the ID field in a Location record to the Location ID field in a related Contract record, and L: Set Main Location ID in company is a Linked Field action that links the ID field in a Location record to the Main Location ID field in a related Company record.
- Edit: Update State/Province (web, API): This rule uses a saved search to run whenever the State / Province field of a Location record is edited. It uses an If-Then-Else action called "I: Set State province" to ensure that there is always a value in the State / Province field.
- Create: On Creation Actions: This rule runs whenever a new Location record is created by a user or by another rule in the system. It consists of an If-Then-Else action that ensures the Address fields have values.
- Create: Copy state/province to new fields: This rule runs whenever a new Location record is created by a user or by another rule in the system. This rule uses the same action as Edit: Update State/Province (web, API), but runs when a record is created instead of edited.
- Edit: handle address update if it changes: This rule uses a saved search to run whenever the address fields of a Location record are edited. It uses an If-Then-Else action called "I: Set Address fields" to ensure that there are always values in the Address fields.
Location records are owned by the user who creates them. Specifically, a record is owned by the user whose Login matches the Creator Login field.