Created on 2021-06-08.09:07:02 by sylviegar, last changed 7 days ago by sylviegar.
I did the following actions:
- launching the planner
- launching the early planning
Everything is OK
- Launching the planner
- launching the ealry planning
Empty lines appear
I guess it is because the production order was deleted after the generation of the early planning.
I just checked in the database and all the exits have an origin.
I have an example where the origin is production,835 but the id 835 does not exist in the production table
There can be issues without any origin if there are stock moves planned that are not linked to a shipment or a production.
I generated a new plan after the planner calculation. I had no issues in process or completed, they were all in open status. So I have about 250 empty lines out of more than 1000 open requests. If all open lines had been deleted I should have no empty lines. Do you have any idea about this problem?
I do not really see any problem. Open early planning are deleted when a new plan is generated. So of course you need to generate a new one once the planner is run.
For processing early planning we can not delete them as they are processing so we keep the information.
in the module stock_quantity_early_planning the lines in open status are not deleted at each launch.
The problem is that at each launch of the planner the production requests are deleted but the link is stored in the origin field of the stock_quantity_early_plan table, so I have a large number of empty lines in the stock_quantity_early_planning screen.
The problem also exists on the other statuses from the moment the production has not been validated, the link points to a record that no longer exists
|2021-06-09 10:54:12||sylviegar||set||messages: + msg68164|
|2021-06-09 10:37:59||ced||set||messages: + msg68163|
|2021-06-09 10:23:20||sylviegar||set||messages: + msg68162|
status: need-eg -> testing
|2021-06-09 09:42:38||sylviegar||set||messages: + msg68160|
nosy: + ced
status: unread -> need-eg
title: stock_quantity_early_planning -> Origin delete from early planning
Showing 10 items. Show all history (warning: this could be VERY long)