Differences

This shows you the differences between two versions of the page.

Link to this comparison view

control_-_smart_part_filter_variable_and_grid [2019/01/30 09:22]
127.0.0.1 external edit
control_-_smart_part_filter_variable_and_grid [2019/02/07 10:31] (current)
kcifreo
Line 1: Line 1:
-Part Filter Variable  +==== Part Filter Variable ====
- +
  
 A new variable type, the Part-Filter Variable (PFV), is being used to track a filtered group of Transparts on the order. The PFV provides the data store for the parts in a Part Filter Grid (PFGrid) and access to those parts with CFL. A new variable type, the Part-Filter Variable (PFV), is being used to track a filtered group of Transparts on the order. The PFV provides the data store for the parts in a Part Filter Grid (PFGrid) and access to those parts with CFL.
  
- +==== How it Works ====
- +
-How it Works  +
- +
  
 The Part-Filter Variable (PFV) is a central object that encapsulates the transpart-filtering functionality. It derives from a variable, but consists of additional properties and sub-objects that manage the transpart collection. The Part-Filter Variable (PFV) is a central object that encapsulates the transpart-filtering functionality. It derives from a variable, but consists of additional properties and sub-objects that manage the transpart collection.
- 
- 
  
 In the product setup, a unique PFV must be added for each collection of Transparts on a line item. A single product may have several PFVs, each providing filtering on different criteria (e.g, one for shirts, one for hats, one for hoodies, etc.). In the product setup, a unique PFV must be added for each collection of Transparts on a line item. A single product may have several PFVs, each providing filtering on different criteria (e.g, one for shirts, one for hats, one for hoodies, etc.).
- 
- 
  
 The Part Filter Grid pulls its underlying data from the PFV. The Part Filter Grid pulls its underlying data from the PFV.
- 
- 
  
 Unlike other variables, the __PFV data is not saved__. It is reloaded and recomputed any time the order or estimate is edited, cloned, or converted. Unlike other variables, the __PFV data is not saved__. It is reloaded and recomputed any time the order or estimate is edited, cloned, or converted.
Line 27: Line 15:
 **Smart Part Filter Variable Setup** **Smart Part Filter Variable Setup**
  
- +{{:pfv_setup.png?nolink&}}
- +
-{{::pfv_setup.png?nolink&|}} +
- +
  
 The Filter Type can be set to one of two modes: The Filter Type can be set to one of two modes:
-  * **Batch Name Filtering****.** The Batch Name filter limits the PFGrid to only show only parts with a specific batch name. 
-  * **Part Search Filtering.** The Part Search filter limits the PFGrid to only show parts that match all filters. 
  
 +  * **Batch Name Filtering****.**  The Batch Name filter limits the PFGrid to only show only parts with a specific batch name.
 +  * **Part Search Filtering.**  The Part Search filter limits the PFGrid to only show parts that match all filters.
 +The Grid Columns function identically to the [[:smart_part_search_variable_and_grid|Smart Part Search Variable's grid column setup]].
  
 +When Search Filtering is active, the values are set just like the [[:smart_part_search_variable_and_grid|Smart Part Search Variable's Fixed Search setup]].
  
-The Grid Columns function identically to the [[-_smart_part_search_variable_and_grid|Smart Part Search Variable's grid column setup]]. +{{:pfv_search_filter.png?nolink&}}
- +
- +
- +
-When Search Filtering is active, the values are set just like the [[-_smart_part_search_variable_and_grid|Smart Part Search Variable's Fixed Search setup]]. +
- +
- +
- +
-{{::pfv_search_filter.png?nolink&|}} +
- +
- +
- +
-Part Filter Grid  +
  
 +==== Part Filter Grid ====
  
 The Part Filter Grid component (PFGrid) is an intelligent grid for displaying parts that are already on an order (TransParts) on a pricing form. The Part Filter Grid component (PFGrid) is an intelligent grid for displaying parts that are already on an order (TransParts) on a pricing form.
- 
- 
  
 The Part Filter Grid displays the parts on an order as filtered by either the Batch Name or the Search Filtering as set by the Part Filter Variable. The Part Filter Grid displays the parts on an order as filtered by either the Batch Name or the Search Filtering as set by the Part Filter Variable.
  
 +{{:pfg.png?nolink&}}
  
 +Input Columns show values that may be adjustable by the user. Input Columns include:
  
-{{::pfg.png?nolink&|}} 
- 
- 
- 
-Input Columns show values that may be adjustable by the user. Input Columns include: 
   * Quantity used for the order.   * Quantity used for the order.
   * Batch Name of the part.   * Batch Name of the part.
   * Unit Cost and ExtendedCost of the part.   * Unit Cost and ExtendedCost 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.   * Unit Price and Extended Price of the part. These fields are only valid if parts-based-pricing is used for the product.
- 
-