Professional Documents
Culture Documents
Mylabs - Closing Automatically Prod. Order Fully Completed - DDF - V1.0
Mylabs - Closing Automatically Prod. Order Fully Completed - DDF - V1.0
Mylabs - Closing Automatically Prod. Order Fully Completed - DDF - V1.0
Order fully
completed
myLabs – Closing automatically Prod. Order fully completed – DDF 1.0 Página 2 de 5
Changes to be done
The goal of this development is close all the production order fully completed automatically.
Fully completed means:
Finished Qty = Quantity
All the items to be consumed are consumed
Functional Change 1
Create a report or codeunit to be triggered via NAS and trigger by the user if needed.
This is to be done automatically on a daily basis.
This report should look to each production order and check the following:
1. On the Prod. Order Line check per line if the Qty = Finished Quantity
a. IF no: Skip
b. IF Yes: Do Step 2
2. Check the Prod. Order Component, to all the component, Remaining Qty. = 0
a. IF no: Skip
b. IF Yes: Do step 3.
Remark: If the production Order have more than one item, all the lines must accomplish the above
criteria
3. Change the production Order Status:
Use the standard function: Actions > Functions > Change Status
myLabs – Closing automatically Prod. Order fully completed – DDF 1.0 Página 3 de 5
The options must be as follow:
This should not pop’s up, when trigger trough this functionality.
Warning: In order to sort out who is closing the production order, is highly advice to setup table
5405 (Production Order) on Change log, field status.
After this functionality is finished, Update Unit Cost functionality should be triggered.
myLabs – Closing automatically Prod. Order fully completed – DDF 1.0 Página 4 de 5
Test to be done
myLabs – Closing automatically Prod. Order fully completed – DDF 1.0 Página 5 de 5