Dynamics 365 for Operations have a nice feature for generating demo data.
Here is my 1000 $ tip!
DON’T USE IT IN ANY IMPLEMENTATION PROJECTS!
This class is only meant for generating demodata in the Contoso dataset, and will corrupt and delete any real data you may have created. If you take a look at the class LedgerPeriodCloseWorkspaceDataCreation that will generate month end financial closing data you see that it only works towards specific contoso companies and personas defined in the contoso company.
There is also a method executed in the beginning, that just deletes data, and makes sure any data you may have generated is just gone.
Why Microsoft have decided to include this “Demo-data” package in the implementation deployment I don’t understand……
…and if you wonder; Yes, I did this mistake.