Skip to content

How to use Correct Restows to merge a restow list into a pre-plan BAPLIE

Use this guide to merge a list of restows into a pre-plan BAPLIE in the 2D Bay View. A restow is a container that is unloaded and loaded again, or shifted, to a different slot of the same vessel during the port call.

A terminal plans a port call with a pre-plan BAPLIE. It holds only the loads and the discharges. The restows come from another tool as a CSV file (a list of values separated by commas or semicolons). The mode Correct Restows checks each line of the list against the Inbound BAPLIE, shows every problem it finds, and then writes the restows into the pre-plan.

Correct Restows does not find restows. It reads them from your CSV file. To find restows by looking at the bay plan, see How to identify restows?. To record a restow by hand, use Re-Stow in the Move mode. See How to use the Move containers feature in 2D Bay View. To fix wrong positions, see How to use the Correct Positions Feature.

Before you start:

  • Upload two BAPLIE files for the same vessel name. One is the Inbound BAPLIE (the vessel as it arrives, with the containers on board). The other is the prePlan BAPLIE (the loads and discharges for your port call). The lists in the mode show your own files for this vessel. They do not show MOVINS files.
  • Make the CSV file with the restows (see the next section).
  • Know the code of your port of load (the port of your port call).
  • Open one of the two files in the 2D Bay View. See How to navigate the 2D Bay View.

The CSV file needs a header row and these three columns. The names can be in capital or small letters.

Column What it holds
Position The new slot of the container (the restow position).
ID The container number.
PrePosition Where the container is now in the Inbound BAPLIE.

This is an example:

Position;ID;PrePosition
0010280;AAAA1111111;0030280
0010080;BBBB2222222;0030080
0010180;CCCC3333333;0030180
  • You can separate the columns with a comma, a semicolon or a tab. The application removes quotation marks.
  • A position that is shorter than 7 characters gets zeros at the front.
  • The application skips a line that has no ID, no position or no pre-position. It shows no message.
  • If a header is missing, the application shows Error: Invalid CSV format. Missing headers: position, id, preposition.
  1. In the Mode list at the top, choose Correct Restows. The page says Please click the Process Restows button above to begin.
  2. In the Correct Restows bar, click Process Restows. The window Correct Restows opens.
  3. Fill in the fields:
    1. Port of Load: type the port code. It can have up to 5 characters. The application changes the letters to capitals. If this field is empty, the message is Please inform the Port of Load.
    2. Tick or clear Remove containers from prePlan BAPLIE with POL. At first it is ticked. See the table below.
    3. Tick or clear Remove remain Onboard’s with the same POL. At first it is ticked. See the table below.
    4. Inbound BAPLIE: choose the Inbound file. The file that you opened is chosen if it is in the list.
    5. prePlan BAPLIE: choose the pre-plan file. It must not be the same file as the Inbound BAPLIE. If it is, the message is The Inbound BAPLIE cannot be the same as the prePlan BAPLIE.
    6. Restow List CSV file: choose your CSV file. The window shows Upload a CSV file in the format below to restow the containers. and the format of the file.
  4. Click Process Restows at the bottom of the window. The button is grey until all fields are correct. The window closes. The application reads the three files and runs the checks. It writes nothing yet.
  5. Read the page. It has three parts:
    • Parameters: the choices that you made.
    • Fix Restow Inconsistencies (optional): the number of lines for each problem. See The checks below.
    • Omitted containers: the pre-plan containers that the application leaves out. This part shows only if you ticked one of the two boxes.
  6. For each problem with a number above 0, click Show Containers. A table opens. For each line, choose Add to prePlan or Do Not Add to PrePlan. To choose for the whole table, click Add All to prePlan or Do not add any to prePlan. To close the table, click Hide Containers.
  7. When you are ready, click → Execute Restows in the Correct Restows bar. The button is grey until the checks have run. The window shows Sending request, please wait….
  8. The page shows Data processed successfully and File is ready for download. It shows the Old container count and the new container count. Click Download to download the file.

To change your choices: before step 7, click Process Restows in the bar again and fill in the window again. The application writes nothing until you click → Execute Restows.

Check box What it does
Remove containers from prePlan BAPLIE with POL Removes the pre-plan containers whose port of load is not the port that you typed. The result page says: “Remove containers from the prePlan BAPLIE with a Port of Load value different from” and your port.
Remove remain Onboard’s with the same POL Removes the pre-plan containers that stay on board. These are the containers that are also in the Inbound BAPLIE with the same position, the same container ID and a port of load equal to your port.

The application removes these containers from the pre-plan before it runs the checks. They are in Omitted containers. Click Show Containers there to see each list (position, container ID, line operator, ISO code, length, port of load and port of discharge).

The application checks every line of the CSV file, in this order. It puts the line in the first group that fits.

Group What it means Your choice At first
1. Inbound BAPLIE does not have a container in the location specified by the “prePosition” column of the CSV There is no container at the pre-position in the Inbound BAPLIE. The table shows the restow position. In brackets, it shows the bay numbers where a container sits in the next bay or the bay before, at the same row and tier. None. The application never sends these lines. Not sent
2. Inbound BAPLIE has a different container in the location specified by the “prePosition” column of the CSV At the pre-position, the Inbound BAPLIE has a container with another ID. The table shows Inbound Position, Restow Container ID, Restow Position and Inbound BAPLIE Container ID. Add to prePlan or Do Not Add to PrePlan. Warning: “If you ‘continue’, this will result in a different container being restowed.” Add to prePlan
3. prePlan BAPLIE already has the container that was found in the Inbound BAPLIE using the “prePosition” column of the CSV The pre-plan already has the container. Same positions: it is already at the restow position. Different positions: it is at another position. The table shows Position of existing Container. Add to prePlan or Do Not Add to PrePlan. For Different positions, the warning is: “If you ‘continue’, this will result in a duplicate container.” Same positions: Do Not Add to PrePlan. Different positions: Add to prePlan
4. prePlan BAPLIE already has a container IN the restow location specified by the “position” column of the CSV Another container is at the restow position in the pre-plan. The table shows Container in Restow location. Add to prePlan or Do Not Add to PrePlan. Warning: “If you ‘continue’, this will result in multiple containers in the same cell.” Add to prePlan. If the container there has the same ID, Do Not Add to PrePlan
5. No problem The line is clean. None. Sent
  • Nothing is written until you click → Execute Restows. The lines that you send to the pre-plan are the lines of group 5 and the lines of groups 2, 3 and 4 where you chose Add to prePlan.
  • The checks compare the position text exactly. They do not check the container length. A 20-foot container and a 40-foot container are not compared.
  • The application pauses the automatic refresh of the page in this mode.
  • If the request fails, the window shows Failed to process the data, and the page returns to the first instruction. If the files have no containers, the window shows No data to process.
  • If the list of files does not load, the window shows The system can’t load your files. Please try again re-loading the page.