Putting order lines into a container
The container is filled from the lines of your sales orders. Every line carries the container it travels in, and the first line of an empty container gives the container its customer.
Before you start: the container must exist and must not be shipped or completed.
Give an order line a container
- Open the sales order whose goods travel in the container.
- On the line, open the Container Code column and choose the container. If the container does not exist yet, choose New in the lookup, type a description and a customer, and the new container is put on the line when you return.
- Repeat for every line that belongs in the container, or use Add Container Code To All Lines in the functions of the order to put one container on all lines at once.
- Close the order. The lines are in the container.

Example
A planner assigns a line of a sales order for Adatum Corporation to container ARF002. The container already belongs to Adatum Corporation, so nothing about the customer changes, and the line appears in the container's open lines with its outstanding quantity. Container ARF003 of the same day is planned for Fabrikam; a line of Adatum Corporation put into it would clear ARF003's customer, because a container that mixes customers belongs to none of them.
What happens
The line carries the container from now on. The first line of an empty container gives the container its customer; a line of another customer clears the customer again. A transfer order line clears the customer as well, because a transfer order has no customer. The container's figures change when you calculate them.
If something goes wrong
| What you see | Why | What to do |
|---|---|---|
| Container … has been shipped; lines can no longer be added. | The container has already sailed. | Put the line into a container that is still open, or create a new one. |
| Container … is completed and cannot be changed. | The container is closed. | Reopen the container first, or use another container. |
| The action is only available for sales orders. | Add Container Code To All Lines was used on another document type. | Use the action on a sales order. |
Important: A line can only be in one container. Clearing the container code takes the line out of the container, but the container keeps its stored figures until you calculate them again.
