Hi,
I need to remove this Inserted cach while keeping the Updated cach as it is.
Is there any way to achive this?
Thanks.

Hi,
I need to remove this Inserted cach while keeping the Updated cach as it is.
Is there any way to achive this?
Thanks.

Best answer by Dmitrii Naumov
I think you can do something like
foreach(var record in cache.Inserted)
{
cache.SetStatus(record, PXEntryStatus.NotChanged);
}
But I’d rather recommend you to change the logic that actually inserts the record, as this looks more like a hack/crutch rather than proper code (at lest without having all the contexts it looks this way).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.