Making a Product with One outsourced, one internal, and one more outsourced task

From Opentaps Wiki
Jump to navigationJump to search

This test verifies that a production run with the sequence of outsourcing a task, followed by an internal task, followed by an outsourced task, could be run successfully. It is very similar to Making a Product with One Internal Task and Two Outsourced Tasks. Please read that task and the related ones before attempting this one.

Action

Create a production run of productId=PROD_COST, routingId=ROUTING_OUT_IN_OUT, quantity=1

Result

Production run created with tasks in the following sequence:

  1. Sample Outsourced Production Task
  2. Demo Routing Task for Costing
  3. Second Sample Outsourced Production Task

Action

Click on [Confirm]

Result

First and third task are in status "PO Pending". The second task is in "Created" state. First task has a button to [Issue Components]

Action

Click on [Issue Components]

Result

Inventory is used and accounting transactions are created as in Making a Product with One Outsourced Step.

Action

Create a PO for OUTSOURCE0001 task following the steps in Making a Product with One Outsourced Step. Do not create a PO for OUTSOURCE0002 yet.

Approve and Receive the PO.

Result

The first task should be completed with a quantity of 1 in the "Produced" column. There should now be a vendor invoice from DemoSupplier for OUTSOURCE0001 in Pending state with quantity=1 and amount=10. The second task could now be started.

Action

Start and complete the second production task, which is an internal task, following directions from Making a Product with One Internal Manufacturing Step

Result

Production and transaction steps should be the same as those in Making a Product with One Internal Manufacturing Step.

Note that there should be no ability to [Issue Components] on this production run task, as the required parts have already been issued earlier.

Action

Create and receive purchase order for the third and final production run task, OUTSOURCE0002, with steps similar to Making a Product with One Outsourced Step.

Result

All tasks should now be completed. The production run is now completed. You should be able to stock in inventory. There should now be a second vendor invoice created from DemoSupplier for OUTSOURCE0002, quantity=10 and amount=5.85.

Action

Stock in item produced.

Result

ATP/QOH Inventory of finished item should be increased by 1. Accounting transactions created should be similar to those for Making a Product with One Internal Task and Two Outsourced Tasks, except that there would be two vendor invoice transactions instead of one.