Symptom
The following error occurs while opening the query manager window in SAP Business One if the intercompany solution addon is connected:
General error; 260 invalid column name: U_CTX_UDFQ: line 1 Col23 (at pos 22)
Reproducing the issue
Prerequisites:
You are using one of the Intercompany Solution versions: 41.5, 42.5, 43.5, 44.5, or 45.5.
Scenario:
The following error occurs while opening the query manager window in SAP Business One:
General error; 260 invalid column name: U_CTX_UDFQ: line 1 Col23 (at pos 22)
Expected result:
The query manager window opens successfully without any errors.
Actual result:
The error "invalid column name: U_CTX_UDFQ" while opening the Query Manager in SAP Business One.
Workaround:
Create a UDF at the Users master in all the databases in the landscape. Below are the details for the UDF:
Title - CTX_UDFQ
Description - Replicate User Defined Queries
Length - 1 (Alphanumeric)
Valid Values - i. Y - Yes
ii. N - No
Set Default Value for Field - N
The screenshot is given below for your reference:
Solution:
The issue described above has been fixed in the Intercompany Integration Solutions version 46.5 and higher versions.
Product
Product or Product Version
INTERCOMPANY SOLUTION
SAP B1 10.0 FOR SAP HANA
SAP BUSINESS ONE 10.0
SAP B1 9.3 FOR SAP HANA
SAP BUSINESS ONE 9.3