A new variable type, the Part-Search Variable (PSV), is being used to track and manage the information associated with the Part Search. The PSV permits access to the information within a Part-Search Grid from within CFL. It also provides the mechanism for the persistent storage of settings, and for CFL manipulation of the values.

The Part-Search Variable (PSV) is a central object that encapsulates the part-search functionality. It derives from a variable, but consists of additional properties and sub-objects that perform the search functioning.

In the product setup, a unique PSV must be added for each type of search that is to be performed. A single product may have several PSVs, each providing filtering and search on different criteria (e.g, one for shirts, one for hats, one for hoodies, etc.).

The Smart Part Grid, Smart Part Search, and Smart Part Summary pull their underlying data from the PSV. Unlike other variables, the PSV data is not saved. It is reloaded and recomputed any time the order or estimate is edited, cloned, or converted.

Fixed Search Criteria

  • Blank fields are ignored when filtering results
  • The field names must be valid properties

User Search Criteria

  • Caption - controls the label next to the input in the Smart Part Builder component (! The Caption field must be filled in. !)
  • Default - is the default search value
  • Watermark - controls the light grey text that appears in inputs when there is no value. Also known as Placeholder text.
  • Help - controls the text that appears when a user hovers above the input

Grid Columns

  • The Caption input controls the label on the column in the Smart Part Search Grid
  • The Width input controls the width of the column in the Smart Part Search Grid
  • If Group Heading is checked, parts with the same value will be grouped together
  • If SubGroup Heading is checked, parts with the same value will be grouped together after the top-level Groups are created
  • If Sort This Column is checked, parts will be sorted by this value in the Smart Part Search Grid

The Part Search Grid is an intelligent grid for displaying a subset of the parts in the system on a pricing form and allowing the user to quickly select the parts and add them to the order.

Each PSGrid relies on two search criteria to filter the parts that are displayed.

  • The fixed search criteria is the overall filter for what parts are accessible from the grid. This is [normally] fixed for a particular grid on the pricing form. It limits the total choices possible for a grid, such as only T-Shirts, only hats, only a certain type of printers, etc.
  • The user search criteria are user-input filters that limit the search results to the particular parts that the user is currently searching for. This is used to speed up order entry so the user does not have to scan all possible parts that match the primary search criteria. Typical examples might be based on SKU, Color, Style, or other searchable UDF fields.

The key uses of the PSGrid are:

  • Display Columns provide the user with additional information about the part. Display columns are read-only. Display columns include:
    • UDF columns
    • Part Properties (name, SKU, etc.)
    • Inventory Properties (QuantityOnHand, QuantityAvailable, etc.) for the estimating warehouse.
  • Input Columns show quantities that may (or may not) be adjustable by the user. Input Columns include:
    • Quantity used for the order.
    • Unit Cost and Extended Cost of the part.
    • Unit Price and Extended Price of the part. These fields are only valid if parts-based-pricing is used for the product.
  • Add To Order button allows the user to create multiple part types with differing quantities on the order with one click.
You could leave a comment if you were logged in.