Production Run tests
Material Issuance Tests
These tests require that the QOH of MAT_A_COST is 0 and the QOH of MAT_B_COST is greater than 100.
- Click on Warehouse > Manufacturing > Create A Production Run
- Enter a ProductID of "PROD_COST"
- Enter a Quantity of "2"
- Click [Create]
- On the next page "Edit Production Run" click the [Confirm] button near the top of the page
- When the page refreshes click the [Start] button in the "Tasks" section.
The list of Materials has a new button [Issue Additional Materials]. Each product for the task is listed:
- MAT_A_COST with Qty Issued 0 and an input box in the Needed column containing the default qty to issue of 4.
- MAT_B_COST with Qty Issued 0 and an input box with default qty to issue of 6
Press the [Issue] button to submit the default quantities for MAT_A_COST (4) and MAT_B_COST (6).
The page reloads with a warning in red at the top of the page: Warning: This will cause QOH of product MAT_A_COST to become negative No warning about MAT_B_COST. [Issue] button has changed to [Force Issue]. The qty needed is still the same as before (4 and 6).
Pres [Force Issue]. A popup confirm dialog comes up. Confirm the action.
Page reloads with the following differences:
- Task now has a [Complete] button next to it.
- Qty Issued for MAT_A_COST is 4
- Qty Issued for MAT_B_COST is 6
- No [Issue] button and no input boxes for Needed qty. This column should be gone.
Create and [Confirm] another production run for 2 of PROD_COST. [Start] the task. Enter 0 for quantity needed for MAT_A_COST. Enter 1 for MAT_B_COST. Press [Issue].
The issuance should be successful and there should be no warnings and no [Force Complete]. Qty Issued for MAT_A_COST is still 0. The qty needed for MAT_A_COST is still 4. Qty issued for MAT_B_COST has increased to 1. Qty needed for MAT_B_COST is down to 5.
Issue 1 of MAT_A_COST and 1 of MAT_B_COST.
The page reloads with a warning that MAT_A_COST will have negative QOH. The [Force Complete] button comes up. The quantities in the input boxes for Needed are: 1 for MAT_A_COST and 1 for MAT_B_COST.
[Force Issue] the issuance and confirm.
Page reloads with successful action message. Quantity issued for MAT_A_COST is now 1, while quantity Needed in input box is 3. Quantity issued for MAT_B_COST is now 2 and the needed quantity is now 4.
Issue the remaining 3 MAT_A_COST. Enter 6 for MAT_B_COST needed (to simulate spending 2 extra material due to losses). Force the issuance through.
Issuance is successful and the Needed column with the [Issue] button is no longer there. Qty issued for MAT_A_COST is 4. Qty issued for MAT_B_COST is 8.
Issuing more Materials to a Task
Ensure that the QOH for GZ-1000 is 0 and GZ-1001 is greater than 100.
Press [Issue Additional Materials]. A form to issue extra products to the task comes up. Issue 2 of GZ-1000 (should be QOH 0).
The input form reloads with warning that GZ-1000 QOH would become negative. [Force Issue Additional Materials] button comes up.
Force the issuance through.
Production run screen should reload showing that 2 GZ-1000 was issued in the list of Materials.
[Issue Additional Materials] for 5 GZ-1001 (which should have QOH > 100).
No Force issuance required. Production run screen loads immediately showing 5 GZ-1001 issued.
[Issue Additional Materials] for 2 MAT_B_COST.
No force issuance required. Production run screen loads immediately showing 10 total MAT_B_COST issued.