Open Packing Container#
Overview#
After creating a Material to be packed, assign it to a Packing Container Material. The MES should be able to create a material of type Packing Container in which other materials will be packed into.
Concept#
In order to open a Container, the user should go to the Resource page and open the Resource View.
The user should see the section "Scan Materials".
In the Scan Materials wizard the user can access the materials ready to be packed into a new or existing Packing Container Material.
Packing container material creation
When a Material is selected for packing we check the assigned Container Products and select one of them as the base for the Container Material to be created.
When selecting multiple materials, all must have the same following parameters, to be able to pack: - Product - Form - Primary Unit - Production Order or None - Flow Path - Material Type
The selected Packing Container Product must be of type Packing Container (Attribute IsPackingContainer=TRUE).
- A Packing Container Material is then created with the following constraints:
- Form = PackingContainer
- Product = Container Product (Selected from Container Products)
- Primary Quantity = 0
- Flow and Step = Flow and Step from Material selected for packing
- Packing State Attribute set to Open
If the Step is a Packing Step (Step Attribute IsPacking=TRUE), we Track In the created Packing Container Material in the Resource provided to the API.
We then resolve the table Material Printable Document Context using the operation type (OpenPackingContainer) and the Packing Container Product. If any labels are returned we issue a printing operation. If there is no entry on the table for this operation, no label printing will occur.
Finally the AddItemsToPackingContainer API is called to handle the actual packing process by adding the Material selected for packing into the Packing Container Material.
After opening a Packing Container Material, the user should be able to associate new Materials to a container.
- For that, the operator must scan one material (that is a container) and then select the option to
Add items. - Then, a wizard should open with the current material associated with the Container, and in order to add, the user can select Materials manually or by using the scan.
- As soon as the MES captures the selected/scanned Material it will automatically add it to the Container and generate the Label for that Material.
- Lastly, the user has the following options:
Close the containerif desired.Close the Container and TrackOutwhich also performs the TrackOut operation after closing the container.- The
Cancelbutton.
Preconditions
- The Packing Container Product must have the attribute
IsPackingContainerset - The Material selected for packing must have the
FlowPathset - The Step must have the
IsPackingattribute set - The necessary SMTMaterialPackingContext and SMTMaterialPrintableDocumentContext smart tables should be set
- The name generator
MaterialNameGeneratorshould also be set
Setting up#
Set the SMTMaterialPackingContext with the Product of the Material to be packed and the Product of the Container to be associated:
Set the SMTMaterialNameGenerationContext with the Step where the Packing operation will occur, the PackingContainer material Form and the Name Generator desired:
Set the SMTMaterialPrintableDocumentContext for the Open Container operation, the PackingContainer material Form, the packing Step and the desired Label (This is an optional step, skip this if you don't want labels to be printed):
Check that the Container Product has the IsPackingContainer attribute set to true, you can also set the MinimumPackingQuantity and MaximumPackingQuantity attributes here:
Check that the Packing Step has the IsPacking attribute set to true:
Executing#
Create one or multiple materials to pack:
Open the Resource View of the Resource where the packing operation will occur and search for the Material to pack and click in Open Container:
The Open Container Wizard shall appear, simply click Open to open the container.
Administration#
The user will need the Smt.OpenContainer feature in order to access the wizard.







