Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
Inventory Search Experience Setup for Manufacturers (Example)

Inventory Search Experience Setup for Manufacturers (Example)

Build a search experience to help inventory managers and service managers at manufacturing companies get visibility into their inventory stock. You can control how users can search inventory units, how results appear, and how users can act upon search results. Set up the search by configuring Product Inventory Searchable Field as the searchable object that consolidates searchable inventory data. Configure the search query criteria and define actions that can be taken on the search results.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions

Prepare Your Org

Turn on the required features in Setup, assign users the required permission sets, and customize page layouts for inventory objects. See Workflow for Inventory Search and Transfer.

Create a Searchable Object Configuration

Create a searchable object configuration called Product and Part Inventory Search that defines Product Inventory Searchable Field as the searchable object for the inventory search. A searchable object consolidates inventory data that’s spread across multiple objects and is the basis of the search experience. Select an activated copy of the Update Product Inventory Searchable Field Values data processing engine (DPE) template as the data synchronization job that populates and updates data in the searchable object.

Criteria Field Mappings: Define criteria field mappings in the searchable object configuration to let users select a search criteria value from a picklist rather than typing it out. For example, to use inventory location type as a search criteria that appear as a picklist in the search pane, create a criteria field mapping between the Inventory Location Type field in the Product Inventory Searchable Field object and its source object field, which is the Inventory Location Type in the Location object.

You can create these criteria field mappings.

Criteria Field Mapping
Searchable Object Field Source Object Source Object Field
InventoryLocationType Location LocationType
ParentInventoryLocationType Location LocationType
TotalQuantityUnitOfMeasure ProductItem QuantityUnitOfMeasure

Result Field Mapping: Define result field mappings to let users click the hyperlink of a search result to navigate to its record. For example, to show account names as a hyperlinks in the search results, create a result field mapping between the Account Name field in the Product Inventory Searchable Field object and its source field, the Account ID field in the Product Inventory Searchable Field object.

You can create these result field mappings.

Result Field Mapping
Searchable Object Field Source Object Source Object Field
AccountName ProductInvSearchableField AccountId
BusinessBrandName ProductInvSearchableField BusinessBrandId
InventoryLocationName ProductInvSearchableField InventoryLocationId
Name ProductInvSearchableField ProductItemId
ParentInventoryLocationName ProductInvSearchableField ParentInventoryLocationId
ProductName ProductInvSearchableField ProductId

Create a Search Action Configuration

To help users can use a product transfer action to transfer the products that appear in search results, create a search action configuration. Create a search action configuration with these values.

  • Name: Product Transfer
  • API Name: Product_Trasnfer
  • Action Type: LightningWebComponent
  • Action Reference: Product Transfer

Create a Search Criteria Configuration

Create a search criteria configuration called Product and Parts Inventory Search and Transfer to build the inventory search experience for users. A search criteria configuration determines how users can use the search criteria, how results are shown, and what actions can be taken on the search results.

Select Product Inventory Searchable Field as the searchable object. Select Product and Part Inventory Search as the searchable object configuration for the search criteria configuration.

Review the ways in which you can configure the search criteria and what you can configure for inventory search.

Criteria Field: Select these fields in the searchable object to use the as the search criteria.

  • Product Family
  • Product ID
  • Location ID
  • Inventory Location Type
  • Model Name
  • Make Name
  • Model Year
  • Product Manufacturer Name
  • Product Version Name
  • Product Item ID

Result Display Fields: Select List as the display type. Select these fields from the searchable object that will be displayed as columns for search results.

  • Product Name
  • Inventory Location Name
  • Total Quantity At Location
  • Total Quantity Unit Of Measure

Result Aggregation Fields: Select these fields from the searchable object as search result grouping and aggregating criteria.

  • Inventory Location Name
  • Inventory Location Type
  • Model Name
  • Make Name
  • Business Brand

If a user selects Inventory Location Type as the Grouping and Aggregation Criteria when performing a search, they can see results grouped by the inventory location type of the inventory units, such as Distributor Standard Inventory and Vendor Standard Inventory. They can also see the number of records for each inventory location type. They can click an inventory location type to focus on records with that inventory location type.

Result Sorting Fields: Select these fields from the searchable object as search result sorting criteria.

  • Product Name
  • Product Manufacturer Name
  • Inventory Location Name
  • Inventory Location Type
  • Total Quantity At Location

Search Result Actions: Select the Product Transfer action configuration to use the product transfer action with this search criteria configuration.

Add the Search Component to a Page

To help inventory managers and service managers search inventory data easily, in the Home page in the Manufacturing app, add the Criteria-Based Search and Filter component. Select Product and Parts Inventory Search and Transfer as the search configuration.

 
Loading
Salesforce Help | Article