Deleting Transactions in Axapta
For deleting all the transactions in an Axapta company, in a quick way, the following steps to be followed:
1. Duplicate any existing company having data.
Administration--> Company Accounts --> Duplicate
2. Select the duplicated company.
3.Open SysDatabaseTransDelete class from the AOT.

4. Click on 'Yes' button from the 'Delete all transactions' window.

5. Export the company data in .dat and .def format from:
Administration -->Periodic --> Data export/import -->Default data --> Export
Such created .dat & .def files can be used for creating any new companies.
This way, we can have a company data without any transactions. Very helpful for creating new companies with setup data without any transactions.
1. Duplicate any existing company having data.
Administration--> Company Accounts --> Duplicate
2. Select the duplicated company.
3.Open SysDatabaseTransDelete class from the AOT.

4. Click on 'Yes' button from the 'Delete all transactions' window.

5. Export the company data in .dat and .def format from:
Administration -->Periodic --> Data export/import -->Default data --> Export
Such created .dat & .def files can be used for creating any new companies.
This way, we can have a company data without any transactions. Very helpful for creating new companies with setup data without any transactions.
No comments:
Post a Comment