Since yesterday, our Invantive Cloud App Online modules are failing on Exact Online Belgium with error code itgenefd012.
The error message is:
itgenefd012
A maximum length can only be specified for text and byte array columns.
The column ‘AccountContact’ has data type ‘guid’ and maximum length 60.
I tried to isolate this with two small App Online tests.
Test 1, without Exact Online tables:
begin
cloud_http.set_use_template(true);
cloud_http.set_template_step_name('Smoke test');
cloud_http.append_line_to_response_body_text('<form>');
cloud_http.append_line_to_response_body_text('<ul>');
cloud_http.append_line_to_response_body_text('<li>OK - module code is executed correctly.</li>');
cloud_http.append_line_to_response_body_text('</ul>');
cloud_http.append_line_to_response_body_text('</form>');
end;
This test works correctly.
Test 2, with only one simple Exact Online query:
begin
cloud_http.set_use_template(true);
cloud_http.set_template_step_name('Exact endpoint test');
cloud_http.append_line_to_response_body_text('<form>');
cloud_http.append_line_to_response_body_text('<ul>');
for r
in
( select count(\*) as aantal
from ExactOnlineREST.Logistics.Items@eol
where Division = 153543
)
loop
cloud_http.append_line_to_response_body_text('<li>Items@eol OK - count: ' || to_char(r.aantal) || '</li>');
end loop;
cloud_http.append_line_to_response_body_text('</ul>');
cloud_http.append_line_to_response_body_text('</form>');
end;
This second test fails immediately with the same AccountContact message.
Noteworthy:
- the query does not use
AccountContact; - the query does not use
SalesOrders; - the query does not use
PurchaseOrders; - the query does not use
Accounts; - the query only uses
Items@eol; - an App Online test without
@eolworks fine.
It seems to go wrong as soon as the Exact Online REST metadata is loaded, even before the actual query is executed.
Environment:
- Invantive Cloud
- Exact Online Belgium
- App Online module
Question:
Could this indicate incorrect metadata/cache/data container information for the Exact Online connector? It seems as if AccountContact is registered somewhere as a guid with a maximum length of 60, whereas a guid column should not have a maximum length.