We found sometimes, some AX parameters tables have many records in them. But normally, it should only have one record.
In the case of above, sometimes, system can't be configured correctly as the parameters table. That's meaning we can't a current record which we need from parameter table to setup modules.
So we need to do as below:
1, change the access mode of parameter table to delete mode
2, in parameter table, in delete method, rewrite it using super();
3, execute the code to delete the records which you don't want.
In the case of above, sometimes, system can't be configured correctly as the parameters table. That's meaning we can't a current record which we need from parameter table to setup modules.
So we need to do as below:
1, change the access mode of parameter table to delete mode
2, in parameter table, in delete method, rewrite it using super();
3, execute the code to delete the records which you don't want.