库位例子
在本节中,我们将用一个更详细的例子,你将看到其中包含在前面的章节中的不同的概念.
下面的例子将展示如何使用 库位类型(Stock Location types)、 推拉式物流(Logistic Flows) 和 BOM原材料清单(Bill Of Materials)。
我们有两个公司: OpenERP SA 和 OpenERP US.
我们有三个产品: Product A, Product B 和 Product C. 每个产品, 我们将定义库位,以确定从那个地方来取这些产品.
一个 Product A, 我们需要 Product B 和 Product C. 因此我们需要定义一个产品A的 物料清单.
字段 | 默认值 |
---|---|
产品 | Product A |
Product Qty | 1 |
名称 | Product A |
BoM Type | Normal |
按 所选公司 产生默认 | OpenERP US |
The different components to produce one unit of Product A are one unit of Product B and one unit of Product C.
按 所选公司 产生默认 | What |
---|---|
OpenERP SA | Sell the Product A |
OpenERP SA | Store the Product C |
OpenERP US | Produce the Product A |
OpenERP US | Store the Product B |
名称 | 类型 | 产品 | Goal of the flow |
---|---|---|---|
Ask for Production | Pull | Product A | OpenERP SA asks OpenERP US to produce the Product A |
Launch Production | Pull | Product A | OpenERP US launches the production of the Product A |
Send Product to Transit | Pull | Product C | OpenERP US asks for the Product C to OpenERP SA |
Get Product from Transit | Pull | Product C | OpenERP US receives the Product C |
下面是不同生产排程方式的差别:
Ask for Production
Launch Production
Send Product to Transit
Get Product from Transit
With this configuration, when a Sales Order for 3 units of Product A is confirmed and the scheduler has been launched, you will have the following procurements:
Procurements View
And the following stock moves have been generated:
Stock Moves
Because we are working in two different companies, different stock moves have been generated. The products have to move from OpenERP SA to OpenERP US for the products C. After the manufacturing process, the products A have to move from OpenERP US to OpenERP SA to be sold to the customer.
Once you have confirmed the different moves for the products B and C, the Manufacturing Order is in ready to produce status. So you can run the production of the three units of Product A.
Launch the Production
Once again due to the use of two companies, you have to confirm different deliveries. One to deliver the product from OpenERP US to OpenERP SA and another to deliver the product from OpenERP SA to the customer. Now you have to confirm the delivery of the three units from OpenERP US to OpenERP SA, then to confirm the reception of the products in OpenERP SA and finally, deliver the products to you final customer.