The Group Import / Export window lets you maintain group records in Excel. You can work with one of these group types at a time:
- Material Group
- Material Sub Group
- Part Group
- Part Sub Group
Use it to export the current records, add or update several records from a workbook, or delete an unused group. An import never deletes groups that are missing from the workbook.
Open the window
- Select the Inventory tab on the OPTO ribbon.
- Open Data Set.
- Select Group Import / Export.
- Select the group type you want to work with.
The group type applies to Export, Import and Delete. Check it before each action so that you do not use a workbook or select groups of the wrong type.
Export a group type
- Select Material Group, Material Sub Group, Part Group or Part Sub Group.
- Click Export.
- Choose where to save the Excel workbook (
.xlsx). - When the export finishes, read the record count shown by OPTO.
The workbook contains every record of the selected type. It does not contain the other three group types. For example, a Material Group export contains material groups only, not their material sub groups.
If you run OPTO through a published app, save the workbook to a network drive that your own computer can reach.
What the workbook contains
Every workbook starts with Code and Description. The remaining columns depend on the selected group type.
| Group type | Information included |
|---|---|
| Material Group | Short description, material type, markups, waste, units of measure, accounts, purchasing and inventory settings, currency settings, notes, density and related group settings. |
| Material Sub Group | Parent material group, laser settings, notes, place of origin, active and roll-up settings, waste values and material price. |
| Part Group | Lead time, accounts, notes, place of origin, added part, sell-price lock, file formula, print settings, MYOB Advanced UID and job-label quantity. |
| Part Sub Group | Notes, file formula, parent part group, lead time and arm quantity. |
The export contains the main single-value fields used to maintain each group. It does not export multivalue tables such as cutting lists, supplier lists, warehouse markups or tile details. Importing a workbook preserves those unexported fields on existing records.
Edit the workbook
- Keep the heading row and every column in the same order.
- Do not leave Code or Description blank.
- Keep each code on one row only. A repeated code fails validation.
- To update a group, leave its Code unchanged and edit the other columns.
- To add a group, add a new row with a new Code and its details.
- Do not change a code to rename a group. OPTO treats the changed code as a new group and leaves the original group in place.
- Use
0or1for settings exported as unticked or ticked values. - Save and close the workbook as an Excel workbook (
.xlsx) before importing it.
A Material Sub Group can name only an existing Material Group as its parent. A Part Sub Group can name only an existing Part Group. If the parent does not exist, that row fails and is not written.
Preview an import
Run a preview before applying a large change.
- Select the group type that matches the workbook.
- In the Import area, use the browse button to select the workbook.
- Tick Preview only (write results file, change nothing).
- Click Import.
- Confirm the preview.
- Review the summary and open the results file when prompted.
Preview performs the same workbook and record checks as an import, but changes nothing. The results show which rows would be added or updated.
Import the workbook
- Select the group type that matches the workbook.
- Browse to the workbook in the Import area.
- Clear Preview only.
- Click Import.
- Read the confirmation message and click Yes to continue.
- Review the summary and open the results file when prompted.
For each valid row:
- A code that already exists is updated.
- A new code is added.
- A row that already matches OPTO is left unchanged.
- Groups not listed in the workbook are left unchanged.
Before OPTO updates an existing group, it keeps a copy of the previous record in the upload history. Only the most recent upload copy for that group is retained. Contact Opto support if an import needs to be investigated or reversed.
Read the results file
The results file is saved beside the imported workbook. Its name contains _RESULTS_ followed by the
date and time. It has one row for every imported row.
| Status | Meaning |
|---|---|
| ADDED | A new group was created. |
| UPDATED | An existing group was changed. |
| UNCHANGED | The record already matched the workbook. |
| PREVIEW | Preview only was selected. The message says whether the row would be added or updated. |
| FAILED | The row was not written. Read the Message column, correct the workbook and import it again. |
Common failures include a blank code or description, a repeated code, a missing parent group, a record locked by another user, or a workbook whose headings do not match the selected group type.
Delete unused groups
Deleting a group is permanent and is separate from importing a workbook.
- Select the group type.
- Click Delete.
- In the list, select one or more groups and confirm the selection.
- Review the selected codes in the confirmation message and click Yes to continue.
- Read the completion message. It lists how many groups were deleted and explains why any selected groups were left in place.
OPTO checks every selected group separately. A mixed selection can therefore delete unused groups while leaving groups that are still in use unchanged.
OPTO prevents deletion in these cases:
| Selected type | Deletion is prevented when |
|---|---|
| Material Group | A material uses the group, or a Material Sub Group has it as its parent. |
| Material Sub Group | A material uses the sub group. |
| Part Group | A part uses the group, or a Part Sub Group has it as its parent. |
| Part Sub Group | A part uses the sub group. |
When deletion is prevented, OPTO tells you which table is using the group, how many records refer to it, and shows example material, part or sub-group codes. The other selected groups continue to be processed. Update the referring records before trying to delete the blocked groups again.
Good to know
- Export a fresh workbook for the group type you intend to change. A workbook for another type is rejected because its headings do not match.
- Import does not remove groups. Use the separate Delete area so OPTO can check whether the group is in use.
- Keep the results file with your edited workbook as a record of the bulk change.
- If a group is being edited by another user, ask them to close it before importing or deleting it.
