HowTo:Display Customer Data in an Order as a Read-Only Field
From AgileApps Support Wiki
Revision as of 22:39, 19 January 2012 by imported>Aeric (Created page with "The following example describes how to display read-only fields from the Customer object in an Orders record. To do this, a Lookup Field is added to the Orders object, that is ba…")
The following example describes how to display read-only fields from the Customer object in an Orders record. To do this, a Lookup Field is added to the Orders object, that is based on Customers. Next, Customer fields are selected to be available for lookup. Finally, the Lookup-Derived Fields are placed in a Form in the Orders object.
- To add a Customer-based Lookup Field to the Orders object:
- Click Designer > Data > Objects > Orders
- Click the Fields tab and add a Lookup Field (see instructions at Create a Lookup Field). Use the following parameters, and click the [Save] button to save your changes.
- Label
- Customer
- Display Type
- Lookup
- Object Name
- Customer
- Field Name
- The field for the lookup
- To select the Customer fields to be available for lookup:
- Click the Fields tab to open the fields list
- Select the Customer field
- In the Update Custom Field window, select the desired fields
- Click [Save]
- To add Lookup-Derived Fields to the Section
- From the Elements Sidebar, click the Pick Existing tab to see the list of Customer fields available
- Click and Drag the fields from the list into the desired section
- Arrange the fields as desired
- Click [Save]
- From the Customer object, add an order, which adds a new record to the Order information section
- In the Related Information section of the Customer Object, see the orders listed:
- Open an order to see the Lookup-Derived Fields
Learn more: Lookup-Derived Fields