How To: Setup Stock UDAs
User defined Attributes allow stock to be reported, or filtered by, text other than that used in their short description, for example finding all the very strong coffee amongst the varieties of coffee held in stock, see How To: Filter Stock User Defined Attributes (UDAs). If you have a large number of UDAs then you can group them by Level 2 Stock Type reducing the number of UDAs available for filtering on depending on the Stock Type being filtered on, see How To: Setup Stock UDAs with Groups.
- In the
[ Stock ]
screen, load a stock item (it doesn't matter which one). - Display the drop-down 'Other Actions' menu either by pressing F9 or clicking the down arrow immediately to the right of the green circle with a white cross icon at the top of the button bar.
- Select 'User Defined Attributes' to open the User Defined Attributes (UDA) dialog.
- Press Alt+E or click to enter edit mode.
- Click or press F3 to add a new item.
- Enter the name of the UDA in the Field Name column.
- Click in the Type column and press the F4 key. The options are:
- Choice (max 2000 characters) : allows the user to select ONE item from a list.
- In Edit mode double click on the Choices field, this loads the Configure Field popup.
- Click on the to add a new item to the list of choices.
- Enter the item name.
- Click on OK.
- Once all the items have been added, click on OK to close the Configure Field popup.
- Press Ctrl+S or click to save the record before closing the UDA popup.
- Date: allows the user to enter a date by using the calendar.
- Integer: allows the user to enter an integer.
- List: allows the user to select MORE than one item from the list.
- In Edit mode double click on the Choices field, this loads the "Configure Field" popup.
- Click on the to add a new item to the list of choices.
- Enter the item name.
- Click on OK.
- Once all the items have been added, click on OK to close the Configure Field popup.
- Press Ctrl+S or click to save the record before closing the UDA popup.
- Number: allows the user to enter a number.
- Text: allows the user to enter text.
- Yes/No: allows the user to enter either Yes or No.
- Choice (max 2000 characters) : allows the user to select ONE item from a list.
- Export: if ticked the UDA will be exported in the XML file.
- Prompt checkbox: if ticked, the user will be prompted to enter the Stock UDA each time a new stock item is created.
- Shipping Criteria checkbox: if ticked against a YES/NO type UDA, the UDA can be used as a criteria for courier selection in the Courier bandings table in System Data.
- Repeat to add additional UDAs.
- Press Ctrl+S or click to save. (do not click 'OK').
- Focus on the UDA and then enter the values on the right hand side of the pop-up.
- Click 'OK' once all the UDA information has been entered.
Note: groups of stock items can be updated with a UDA, see How To: Block Update Stock User Defined Attributes (Stock UDA).