Hi all,
In FNO, we have a logic to modify the session date, in order to operate on backdate.
Now, I want to create some test data in a past period in unit tests.
For example, table InventDim has a system field CreatedDateTime. I need to create bundle of InventDim records with CreatedDateTime = one year ago.
How can I achieve this?
I tried with DateTimeUtil::setSystemDateTimeWithCascadeOption(transDateTime, true), but it is not helpful.
Thanks.