Hi Kevin,
don't know which method you have tried already?
but have you tried this
blog ? apparently, it is only possible in a Pre-operation plugin.
good lucky
Xun
------------------------------
Xun Dong
Thomas Miller
------------------------------
Original Message:
Sent: Aug 03, 2020 02:56 PM
From: Kevin Altman
Subject: CreatedBy & ModifiedBy overrides
Hey,
Looking for some help on creating a record with a specified CreatedBy & ModifiedBy value for an Annotation via the C# SDK. I'm OnPrem D365 8.2
I'm performing the create as a user with the System Administrator role. I've tried various things mentioned online but none are working. Anyone have a sample of how to do this? I'm restoring some data that should have been created as various users and every attempt so far just results in my admin user being the CreatedBy/ModifiedBy user.