Hi everybody,
I'm modelling a retail supply chain, which background I explained some of the background in this previous question.
I would like some help with the following problem: In the initial settings, I set the time unit in days. More than that, while running the model, I need the definition/count of "1 day", in order to take some decisions when the day is over. I have a table called "Pedidos" and its 6th column represents the total amount of sales I have of each SKU. But I need to have the sales per day (of each SKU), what means that this quantity needs to be reset at the end of the day. Moreover, before being reset, this table needs to be able to fill the second column of the table called "Chamada" with the quantity that was sold in that day. This table "Chamada" is used to set the Source of new products and, in this way, in the day "D" there must be created only the products that were sold in the day "D-1".
How can I do that?
If it wasn't clear, just let me know and I can explain.
Thank you very much! Best regards,