Item Classes Tutorial
💡These tutorials explain how to create and edit Item Classes with their input fields, stored procedures and checklists.
How to Create a Class
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Click New (button) to open an edit form.
- Name = Enter in a name for the new Class.
- Data Type = Select an option from the dropdown list (Standard, Assets, Flexo-Machine, Fasteners).
- Click the checkbox next to Auto Description / Specification to have those fields automatically created. Alternatively, enter a description in the block beneath Description (Tag) and Specification (Tag).
- Description (SQL): This field is unavailable if Auto Description / Specification is selected.
- Customise the Description as follows:
- Click Edit (button) next to Description (SQL) to open a form with the available SQL Tables and Fields.
- Click Template (button) to add a shell to work from.
- Click the field you want to edit.
- Select a Table and double-click one of the available fields to replace the field you previously selected.
- Click Save (button).
- Customise the Description as follows:
- Specification (SQL): This field is unavailable if Auto Description / Specification is selected.
- Customise the Specification as follows:
- Click Edit (button) next to Specification (SQL) to open a form with the available SQL Tables and Fields.
- Click Template (button) to add a shell to work from.
- Click the field you want to edit.
- Select a Table and double-click one of the available fields to replace the field you previously selected.
- Click Save (button).
- Customise the Specification as follows:
- Warning (SQL) =
- Create a warning (e.g. field is not filled in or a status not set) as follows:
- Click Edit (button) next to Warning (SQL) to open a form with the available SQL Tables and Fields.
- Click Template (button) to add a shell to work from.
- Click the field you want to edit.
- Select a Table and double-click one of the available fields to replace the field you previously selected.
- Click Save (button).
- Create a warning (e.g. field is not filled in or a status not set) as follows:
How to Edit a Class
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Right-click a class and select Edit.
How to Create or Edit Class Input Fields
Info
Input Fields let you create more fields or checkboxes for the Class.
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Double-click a class to open it.
- Click Edit Input Fields (button).
- Click New (button) to create a field.
- Fill in the details as required:
- ID: Auto-generated.
- Name: Auto-generated but you can overtype it to give it a more descriptive name (recommended).
- Caption = Enter a caption.
- Editor = Select an option from the dropdown list. The options are:
Field Description Checkbox A yes/no checkbox is created. ComboBox (Fixed list) A lookup list is created. You must select one of the entries. ComboBox (Editable) A lookup list is created. You can select an entry or enter something else. Customer You must select a customer from a dropdown list of customers. Date A date must be selected. Date (Read-only) A date is prefilled and cannot be edited. Filename The name of a file is entered. Group Header The applicable Group Header is filled in. Image The field requires an image. Item You must select an item from a dropdown list of items. Memo You can type a memo. Number A number must be entered. Number (Read-only) Shows a specific number. Supplier You must select a supplier from a dropdown list of suppliers. Text You can input text. Text (Read-only) Shows specific text. Time You can select a time from a time field. Timestamp You can select a date and time from the calendar and time fields. Caption Shows the caption. Lookup (SQL) SQL creates a lookup list. - Layout = Select an option from the dropdown list of where the field appears.
- Caption = Select an option from the dropdown list of where the caption appears.
- Width = Enter in the width of the field (only applies to certain fields, e.g. text fields).
- Decimal = Enter how many decimal places to use (if applicable).
- Arrows: Move the line up or down the hierarchy (only applies if there are multiple input fields).
- Menu: Change the hierarchy or delete the line item.
How to Create a Selectable Stored Procedure
- Create Input Fields as explained (above).
- Click Menu (button) > Create selectable Stored Procedure.
- A popup confirms that the procedure was created.
- The code is copied to your clipboard.
- Navigate to an SQL Input Field and paste the code.
How to Create Class Checklists
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Click Edit Checklist (button).
- Click Add (button).
- Description = Type a description.
- Code = Type a code.
- Type = Select a type from the dropdown list:
- Manual: Users must manually approve the checklist.
- Auto: SQL code approves the checklist.
- Override: SQL code approves the checklist but you can override it.
- Click Save (button).
How Add or Edit SQL for Auto Checklists
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Click Edit Checklist (button).
- Click Edit (button).
- Right-click a checklist and select Edit SQL (Auto and Override types only).
- Click Template (button) to prefill the form in the right format or enter your own SQL.
- Change any of the fields as needed.
- Click Save (button) on the Template and Save (button) on the popup.
- Close the popup using the X in the corner.
How Edit Class Descriptions (SQL)
Info
The same procedure can be followed to Edit a Specification, Warning or other SQL fields.
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Double-click a class to edit it.
- Click Edit (button) next to Description (SQL).
- Click Template (button) to prefill the form in the right format or enter your own SQL.
- Change any of the fields as needed.
- Click Save (button) on the Template and Save (button) on the popup.
- Close the popup using the X in the corner.
How to Copy a Class
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Right-click a class and select Copy.
- Confirm that you want to copy the class from the popup.
- Edit any of the fields (as described under How to Create a Class).
How to Delete a Class
Note
Before you can delete a Class you must delete any of the SQL fields linked to the class.
- Navigate to Main Menu > Items > Items.
- Click Menu (button) > Edit Classes.
- Right-click a class and select Delete.
- Confirm the deletion on the popup.