Update Production Calendar by BPM

Hello,
I try to update an Production Calendar Hours in a BPM in the action of “GetList” in a BAQ. I took the average of 2 month to set it per day.
When I regenerate the Shop Load to see the change I do with my BPM nothing happen in this table.
If I go in the production Calendar my update is there.

So my question is : How I can update it ?
I can do it manually but I just want to be sure that no Business Object can do it.
Thanks for your time.

If you are updating in Post Processing, then you are changing the database after you get the records.

I know this, but something wrong with my explanation. The table ShopCap don’t take the change fof the Production Calendar

Are you performing all the correct Methods to update the ShopCap?

I dont use BO for updating the Production Calendar i only use the Data with
Db.ProdCal.Where(…)
and update the object, but it’s seems like he doesnt update the ShopCap.
I know a dirty way to do it:
Update the ressource Calendar to nothing and update. After that push the older Calendar to the resource and update it again.
It’s seems to work with the interface of the group ressource.

If you don’t use the BO, it will likely not update every table associated with the logic. That is likely why it isn’t recalculating for you.

I will figure out how to do this, because in the adapter of ProdCal we don’t have the method Update(in object explorer).
I will probably just update the other table.
Thanks for the answer

I finaly add Db.Validate();
And everythings seems to update.