When creating new item segmentation types, you are allowed the option of splitting the item by either delimiters or by length. Types defined using the segment length method allow you to split the item code into different segments by using a predefined length for each segment.
Example:
If you define the segmentation type with the following:
- There are no delimiters, but segments are defined as lengths: 4, 6, 6 and 1.
- Primary segment is segment 2 and you enter your Item code in the Item file as such: 28inwinter000BBAN, the segments, after segmentation, will contain the following values:
Segment 1 = 28in
Segment 2 = winter
Segment 3 = 000BBA
Segment 4 = N
Segment 5 = Blank
Segment 6 = Blank
Primary Segment = winter
To create a segmentation type using the segmentation by length method, do as follows:
- Select the Item segmentation types menu item.
- You access Work with item segmentation types. Click Add.
- On the detail panel, complete the following fields:
- Segmentation type
- Enter the name of the segment type.
- Description
- Enter text to describe this new item segmentation type.
- Number of segments
- Enter 0 since you are creating a segmentation type based on the Segmentation by length method. In this case the number of segments used are controlled by how many of the Segment lengths fields that hold values.
- Delimiters
- Not applicable for types based on the Segmentation by length method. Leave this field blank.
- Blank as delimiter
- Not applicable for types based on the Segmentation by length method. Leave this field blank.
- Segment lengths
- Enter the number of characters that you wish each segment length to consist of. These can be of a length up to 35 characters. The number of segments is defined by a value entered here (i.e. if a field is left blank and only four fields are given values, there will be four segments).
- Segment desc (1-6)
- In each of the fields listed here, enter a value that will describe each of the segments.
- Primary segment
- When searching for items in the Select item routine, the system will look for whatever value is listed here, if search delimiters have not been entered. A value of 1 – 6 is valid for this field.
- Segment
- Indicate in the six fields if the corresponding segment is to be validated against the records in the Item segment value table. This gives you the possibility to validate whether an item code is being entered according to a pre-defined syntax.
Example:
You want segments 1 and 2 to contain certain values, but segments 3-6 can contain any value. In this case you would set segments 1 and 2 to YES and segments 3 through 6 to NO. (A NO entry signifies that anything entered into the segment is allowed and valid). Within the Item segment value table you would enter, for each segment you want validated, the segment number and the valid value that the segment must contain for this Segmentation type.For more details concerning this, see Assign segment values.
- Compress item code
- Not applicable for types based on segment length.
- Text
- Enter text of your choice to further describe this type of segmentation.
Validations
In the Segment fields below, you can enter specific validations for the segments you defined.
Click OK to save. Exit the routine.