Transfer Warehouse Movement
This tool changes the warehouse recorded in the bills of a period, from one warehouse to another. Use it when bills were recorded on the wrong warehouse, or when you merge two warehouses. The operation is permanent and changes the bills themselves. It does not create new bills or entries.
For the practical steps see Transfer warehouse movement to another warehouse. It is the sibling of Transfer Material Movement, which changes the material instead of the warehouse.
This operation cannot be undone, and the program does not ask you to review the bills first. Back up the file, start with a short period or one type, and do not run it again with the warehouses swapped to go back (see What the tool changes).
Opening the window
- From the ribbon: Invoices > Tools > Invoices Tools > Transfer Warehouse Movement. Open the menu of the Invoices Tools button and click the command.
- The command appears if your licence includes warehouses and the extended reports, and the file does not work in the multiple files mode.
- The user needs the permission to run the report Transfer Warehouse Movement in Users Management, on the Reports page.
Fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| From Warehouse | The warehouse whose movement is moved. | Yes | A lookup box with the rules of lookup boxes. It must differ from To Warehouse. The tool matches this warehouse itself, not its sub-warehouses. |
| To Warehouse | The warehouse the movement becomes. | Yes | As From Warehouse. |
| From and To | The period whose bills are moved, both dates included. | Yes | Default: from the start of the period if the program option "default start date is the start of the period" is on, otherwise from the first day of the current month, to today (or the end of the period if today is after it). |
| Report Sources | The bill types whose movement is moved. | Yes | A list of the bill types you may browse. All are ticked when the window opens, so untick the types you do not want to move. Under the list the Forms group box ticks the types of a group and unticks the others. It has no effect on manufacturing operations. |
| Display Options | The options of the operation, see the next table. |
Display options
| Option | What it does | Default |
|---|---|---|
| Show Posted Bills | Moves the movement of posted bills. | On |
| Show Unposted Bills | Moves the movement of unposted bills. With both options on, all bills are moved. | Off |
| Check Materials Balances and Prices | After the move the program reposts all posted bills of the file, not only those of the period, so it recalculates the quantities and average prices of the materials. It may take long. Without it the program recalculates no balance. | Off |
One of Show Posted Bills and Show Unposted Bills stays on: if you clear both, the program turns on the one you clicked.
Buttons
| Button | What it does |
|---|---|
| Ok | Runs the move after your confirmation, then opens the Transfer Warehouse Movement report with the bills that were affected. The window stays open. |
| Cancel | Closes the window without moving anything. |
What the tool changes
- The program asks "Are you sure to transfer warehouse movement?". Choose Yes to continue or No to stop.
- If you did not choose From Warehouse and To Warehouse, or they are the same, "Must select warehouses in "From Warehouse" and "To Warehouse", and you must not use the same warehouse for both fields" appears.
- The program selects the bills dated inside the period, of the chosen types, with the posting state set by Display Options, whose header warehouse or one of whose lines is From Warehouse.
- In these bills it changes:
- the warehouse of every line that is From Warehouse, to To Warehouse. Lines in other warehouses stay.
- the warehouse of the bill header if it is From Warehouse.
- In manufacturing operations dated inside the period it changes, from From Warehouse to To Warehouse, the warehouse of each material produced or consumed and the input and output warehouses of the operation header. This part ignores the report sources and the posting state, and it happens even when the program finds no bills.
- If you turned on Check Materials Balances and Prices it reposts all posted bills of the file.
- If operation logging is on in the program options, it writes for each affected bill a modify record with the note "Transfer Warehouse Movement".
- It shows the report.
What the tool does not do:
- It does not change the card of either warehouse or the warehouse account in the bills. Entries stay as they are.
- It recalculates the balances of the two warehouses only with Check Materials Balances and Prices. Without it the quantities recorded for each warehouse stay as they were until the bills are posted again.
- It does not apply the usual save checks, such as the operations lock date or auditing, because it changes the tables directly with their triggers switched off.
- It does not move lines of sub-warehouses, or documents other than bills and manufacturing operations.
The move cannot be undone. Running the tool again with the warehouses swapped moves all the movement of the destination warehouse in the period, including the movement that was there before the first move.
Example
We move the movement of 01-12-2026 to 31-12-2026 from "Main Warehouse" to "Jeddah Warehouse", for posted bills. This example is calculated from the program's rules.
| Before | After | |
|---|---|---|
Sales bill 12 dated 05-12-2026, header: Main | Main | Jeddah |
Its line 1 (rice) | Main | Jeddah |
Its line 2 (sugar) | North Branch | North Branch |
Sales bill 7 dated 28-11-2026 | Main | Main (outside the period) |
The report shows bill 12 only. Bill 12 stays posted, but the program did not recalculate the quantity of "Main" and "Jeddah" unless you turned on Check Materials Balances and Prices.
The report
After Ok the viewer shows the Transfer Warehouse Movement report. Its header has From (the name of the source warehouse), To (the name of the destination warehouse) and the period. The grid has a row for each bill that was reposted or whose warehouse was changed.
| Column | Meaning |
|---|---|
| Bill | The name of the bill type and its number. |
| Bill Date | Its date. |
| Transfer Material Movement | The state of the move. It shows Transfer Completed in every row. |
Right-click a row and use Display Bill... to open the bill. The viewer tools are in How the viewer works.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Are you sure to transfer warehouse movement? | You clicked Ok. | Yes runs the move and No cancels it. |
| Must select warehouses in "From Warehouse" and "To Warehouse", and you must not use the same warehouse for both fields | A warehouse is missing or both are the same. | Choose two different warehouses. |
| No results found in this period | The program found no bills for the conditions. Manufacturing operations may have been moved all the same. | Change the period, the types or the posting state. |
| Error in execute Stored procedure | The move failed in the database. The message is in English in every language. | Review the bills before you repeat the operation. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.