BAQ Error in SQL 8.03.410


CurrentCompany is a Special BAQ Variable. I don't know much about your version but

if you change where the CurrentCompany field is being used - does the BAQ work?

You could hard code the company id - just for the test



BAQ Error in SQL 8.03.410

Have anyone seen this error before?

When I test the BAQ I get this:

Error Detail


4GL STOP condition: The Server application has returned an error. (7243)  (7241)

Stack Trace


   at Epicor.Mfg.UI.App.BusinessActivityQuery.BAQTransaction.Execute()

   at Epicor.Mfg.UI.App.BusinessActivityQuery.BAQ.btnTest_Click(Object sender, EventArgs e)

Then this is in the Appserver Logs.

(Procedure: 'runSQLQuery bo/DynamicQuery.p' Line:44878) S0002: [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'dbo.CurrentCompany'.

There is no dbo.currentcompany in the database anywhere that I can see, any suggestions?