Understanding Blend IDs

A blend ID is a user-defined identifier for a specific grouping of blend lots. The blend ID is a concatenation of abbreviated blend lot attributes. The system generates blend IDs for blend lots based on the rules that you specify in this program.

You can set up multiple sets of the same parameter type within a single blend ID. For example, a blend ID could contain two summary lot attributes, one for appellation and one for variety.

A blend ID consists of:

  • Segment number

  • Description

  • Parameter type

  • Parameter value

  • Segment length

If you choose sequence number (SEQ) as a parameter type, the system retrieves the sequence number level for the blend ID from the blend constants. The blend constants provide three sequence number levels:

  • Implementation

  • Variety-winery

  • Winery

If the sequence number level for the Blend ID is Implementation, the system retrieves the next number for the blend ID segment for the combination of blank variety code and blank winery from the Blend ID Sequence Numbers table (F31B501).

If the sequence number level for the blend ID is Variety-Winery, the system uses the parameter value from the blend ID definition and retrieves the corresponding summary attribute value. For example, if the parameter value is 18, the system retrieves the value of summary attribute 18. The system then passes this value as the variety short code to the Variety Master table (F31B38) and retrieves the corresponding variety ID value. Based on this combination of variety code and winery, the system retrieves the next number for the blend ID segment from the Blend ID Sequence Numbers table. If the combination of variety and winery does not exist, the blend ID numbering starts at 1.

If the sequence number level for the blend ID is Winery, the system retrieves the next number for the blend ID segment for the combination of blank variety code and valid winery from the Blend ID Sequence Numbers table.

After you set up blend IDs, you can copy the blend IDs for use among blend facilities.