Receipt of a Supplier Order by Purchase Order

263

20.4.2 Location Types

The location must have one of the following types: • View: shows that the location is only an organizational node for the hierarchical structure, and cannot be involved in stock moves itself. The view type is not usually made into a leaf node in a structure – it usually has children. • Customer: destination for products sent to customers, • Supplier: source of products received from suppliers, • Internal: locations for your own stock, • Inventory: the counterpart for inventory operations used to correct stock levels, • Production: the counterpart for production operations; receipt of raw material and sending finished products, • Procurement: the counterpart for procurement operations when you do not yet know the source supplier or production. Products in this location should be zero after the scheduler run completes, • Transit Location for Inter-Company Transfers, used as an intermediate location in a multicompany environment. You can have several locations of the same type. In that case your product, supplier and warehouse configurations determine the location that is to be used for any given operation. The counterparts for procurement, inventory and production operations are given by the locations shown in the product form. The counterparts of reception and delivery operations are given by the locations shown in the partner form. The choice of stock location is determined by the configuration of the warehouse, linked to a Shop Sales → Configuration → Sales → Shop. Figure 20.15: Defining Stock Locations in the Product Form 264 Figure 20.16: Defining Stock Locations in the Customer Form

20.4.3 Location Addresses

Each location can be given an address. That enables you to create a location for a customer or a supplier, for example. You can then give it the address of that customer or supplier. You should indicate to OpenERP on the partner form that it should use this location rather than the default location given to partner deliveries. Tip: Subcontracting production You will see in the chapter, Manufacturing that it is possible to assign a location to a manufacturing workcenter. If this location is at a supplier’s you must give it an address so that OpenERP can prepare a delivery order for the supplier and a receive operation for the manufactured goods. Creating a location specifically for a partner is also a simple solution for handling consigned stocks in OpenERP. Note: Consigned Stock Consigned stock is stock that is owned by you valued in your accounts but is physically stocked by your supplier. Or, conversely, it could be stock owned by your customer not valued by you but stocked in your company. Make sure that you create consignment locations as part of your internal stock. To enable you to consolidate easily at a higher level, the location definition is hierarchical. This structure is given by the field Parent location. That also enables you to manage complex cases of product localization. For example, you could imagine the following scenario. One Company with Two Warehouses A company has a warehouse in Paris and in Bordeaux. For some orders you must deliver the products from Paris, and for others from Bordeaux. But you should also specify a fictitious warehouse that OpenERP uses to calculate if it should deliver products from Paris or from Bordeaux. To do this in OpenERP, you would create a third warehouse ‘France’ which consolidates the warehouses in Paris and Bordeaux. You create the following physical locations: • Company – Output Warehouses France