I am trying to modify the Potential Conflicts (Inventory and G/L) report to make the Main Account ID parameter multi-valued. I've been following along with a couple of online articles, but I'm currently getting the error: "Contract class List should have a public constructor with no arguments."
Does anybody know what this error is or how to solve my issue?
I have changed the Multi-Value property of the parameter in the Visual Studio tree structure under the Parameters node. The RDP Class doesn't do a lot of work except call methods in the corresponding Contract class. In that Contract class, I've modified the Account ID variable to be a 'List' instead of 'MainAccountNum' type. I've also made the appropriate type changes in the parmMainAccountId method.
One thing to note: the articles I've been reading make use of the InventLedgerConflictUIBuilder class and have added some code to a few methods in there. I have not made any changes to the existing UIBuilder code because the existing code seemed quite similar to the required changes.
Thanks in advance.
Keane D'Cunha