You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that everytime I open company/supervise page, the company data is updated. The problem with this approach is that if I do the following steps, wrong data gets saved about my company:
Wait for a new company day to rollout and open yata supervise page;
Change something on the company (such as adv. budget).
Open yata supervise page;
What happens after following these steps is that the new adv. budget is considered for the profit calculation of yesterday, instead of the old one that was in place during the new company day.
My suggestion: Store the last time the data for this page was updated, and do not update the Stock Records nor Company Records panels if the last update was after 18:00TCT
Also, unrelated question: is there a crontab for updating the company data daily or do I need to open this page everyday to keep the records?
The text was updated successfully, but these errors were encountered:
It seems that everytime I open
company/supervise
page, the company data is updated. The problem with this approach is that if I do the following steps, wrong data gets saved about my company:supervise
page;supervise
page;What happens after following these steps is that the new adv. budget is considered for the profit calculation of yesterday, instead of the old one that was in place during the new company day.
My suggestion: Store the last time the data for this page was updated, and do not update the Stock Records nor Company Records panels if the last update was after 18:00TCT
Also, unrelated question: is there a crontab for updating the company data daily or do I need to open this page everyday to keep the records?
The text was updated successfully, but these errors were encountered: