no, at the top, you should have a bunch of using statements. You’ll have to add one for the dynamic query stuff. The wizard might do that for you, but check.
Also, since you aren’t passing in any BAQ parameters, that might be what’s messing you up.
You don’t need like 68 or 69, and change the call in 70 to remove the second parameter (qeds). This will just run the BAQ wide open.
@nvelamakuri Sometimes the oTrans needs to be this.oTrans. You have to mimic how Epicor started the customization. Look at the wizard added lines below the usings and if they all are using the this. structure then you will likely also need to do it that way.