How to create a copy of a DAC (i.e. cloning it) in Acumatica Framework. I can of course create a new instance and set all the value individually but is there a method which does this for you?
I found the following method
PXCache<...>.CreateCopy(sourceRule);
However, this seems to copy everything, including the ID, CreatedBy etc. I would need a new DAC, with all relevant fields copied. How to do this please?