I need to combine two processes in receiving process using warehouse app. Based on a disposition code i need to change the inventory status and as a second step the worker is aked to accept or deny the product quality.
Both together is not working.
I activated the toogle "Display disposition code" in the mobile device menue item for "Purchase order item receiving and putaway".
using the disposition code changes inventory status to 07.
This part of the process works. I can see the products has been registered with inventory status 07.
In the next step the worker is asked to accept the quality. This is controlled in the work template
In case of accepted quality check everything works fine.
If I deny the quality check i get an error
This is because D365 needs an inventory status to create the quality order. This inventory status is taken from the sales order line which is 00.
But Inventory status of the received goods is 07 now.
you can see this if you create a quality order manually
If i change the status in the purchase order line to 07 i can deny the quality and the receiving is posted.
Are there any idea for a workaroud to combine these two steps in one process? And why does D365 takes the inventory status from the purch orderline instead from the registered line?
Thanks for any support.
Matthias