Add Resource to Container#
Container.AddResource
Overview#
This operation associates a Resource to a Container at a given Container position. It is used when organizing or grouping multiple Resources for easier tracking or processing.
Setup#
A Container must be available with at least 1 unused position, and the Position Unit Type must be set to Resource.
Preconditions#
For the Container:
- The Universal State is Active, not a template or on hold.
- The System State is Available.
- Has at least 1 free position.
For the Resource and Container location:
- Both the Resource and Container are in the same facility.
- The Resource is not already associated with a Container (if it is, see Transfer Resource Between Containers).
A valid position must be available:
- If the Container is set to Auto Generate Position (
IsAutoGeneratePositionEnabled = True), the system will assign the next available position starting from 1. - If Auto Generate is disabled, you must supply a free position manually.
A valid relationship between the Container Type and the Resource Type must exist in the ContainerResourceRelation generic table.
Warning
If the Container has Allow Mixed Types set to False, all of the Resources inside the Container must be of the same type. Meaning that, if the Container already holds a Resource, the new one must match its type.
Sequence of Steps#
- Navigate to the Resource that will be associated with the Container, and check that it meets all the preconditions
- On the top ribbon, select Add Container.
- Select the Container to add the Resource to.
- If the Container does not have the property Is Auto Generate Position Enabled set to
True, you must supply an unused Container position for the Resource. - Optionally, enter a Comment.
- Select Add to complete the operation.
Note
For bulk operations, all of the Resources must go into the same Container.
Troubleshooting#
If you can't find the Container you wish to use in the wizard, consider that:
- The Container might not be active.
- The Container might not be in the same area as the Resource.
- The Container may be on hold because of maintenance.
- The Container may not have the Position Unit Type set to
Resource.
Note
Other configurations or system conditions may also affect Container visibility.
