You can set up a warehouse system at a site by associating one or more warehouses with the site. A particular warehouse can only be associated with one site—once the warehouse has been assigned to a site, you cannot assign it to a different site.
Note |
---|
The preconditions for this task are: |
-
The configuration key is enabled.
-
A site is created.
-
One or more warehouses are created.
Assign a warehouse to a site
-
Click > > > .
-
On the tab, select a warehouse. In the column, select the site to assign the warehouse to. You can also select the site on the tab.
-
On the tab, you can specify a quarantine warehouse for the site. The quarantine warehouse cannot be a warehouse that is already associated with a different site.
-
To view the site and warehouse hierarchy, go to the tab. You can see the tree node that represents the selected warehouse and the associated site. The tree node is expanded and displays all of the warehouses that are associated with the site. If there are production units associated with the site, these are also displayed.
Once the site and warehouse hierarchy is created, you can change it by:
-
Adding new warehouses
-
Moving inventory from a warehouse on one site to a warehouse on another site
-
Deleting old warehouses
Invalid warehouse and site combinations
If a warehouse was associated with a site, and transactions were generated for this site/warehouse combination (there is an existing site/warehouse inventory dimension combination), the warehouse cannot be associated with another site.
Likewise, if a warehouse is deleted and then re-created, you cannot assign the new warehouse to a site that is different from that of the deleted warehouse.
The following table illustrates additional rules to observe when you enter site and warehouse field combinations on the form. If you attempt to enter a site and warehouse combination that is not allowed, the program displays an error message, and you cannot carry out the action.
Current ID |
Current |
Current |
New ID |
---|---|---|---|
Blank |
Blank |
Blank |
Any site |
Blank |
Warehouse (site A) |
Blank |
Any site |
Blank |
Blank |
Warehouse (site A) |
Site A (must be on the same site as the quarantine warehouse) |
Blank |
Warehouse (site A) |
Warehouse (site A) |
Site A (must be on the same site as the quarantine warehouse) |
Blank |
Warehouse (site A) |
Warehouse (site B) |
Site B (must be on the same site as the quarantine warehouse) |
Site A |
Blank |
Blank |
Any site (as long as no transactions have been generated for this site/warehouse combination) |
Site A |
Warehouse (site A) |
Blank |
Any site (as long as no transactions have been generated for this site/warehouse combination) |
Site A |
Blank |
Warehouse (site A) |
Site A (the site cannot be changed) |
Site A |
Warehouse (site A) |
Warehouse (site A) |
Site A (the site cannot be changed) |
Blank |
Any |
Warehouse is assigned as quarantine warehouse for one or more warehouses on site A |
Site A (must be on the same site as the warehouses it is quarantine warehouse for) |
Site A |
Any |
Warehouse is assigned as quarantine warehouse for one or more warehouses on site A |
Site A (the site cannot be changed) |
Site and warehouse default and validation rules
When you set up a site and warehouse hierarchy and activate the multisite functionality, the program observes the following rules when you work with journals and order transactions:
-
When you select a site from a site lookup form, the warehouse lookup form lists only those warehouses that are associated with the site that you enter. If you attempt to select a warehouse that is not associated with the selected site, the program displays an error message, and you cannot carry out the action.
Note You can set a warehouse that is not associated with the selected site using X++ (instead of using the form). The site field is then updated to match the site that is associated with the new warehouse.
-
When you select a warehouse from a warehouse lookup form, the program automatically enters the site that is associated with the particular warehouse in the field.
-
When you enter or select a site that is not associated with the selected warehouse, the program keeps the site that you enter and clears the warehouse field.
-
You cannot specify a site on a transfer order line. Also, the site dimension cannot be enabled from the form that you access from a transfer order.