I'm getting a native SQL error when trying to insert into a custom table called "MyTable". The custom table contains the following fields:
RecId parentRecId;
Guid entryKey;
MyEntryType entryType; // custom enum
Str500 summary;
Str4000 detail;
Other than the above my custom table has "CreatedDateType" system field turned on.
I got the table synchronized + the the entire DataDictionary AOT node synchronized.
I'm using a job with the following code to insert one record in to the table:
MyTable table;
table.initValue();
table.parentRecId = 5637144583;
table.entryKey = str2guid("{FFB111CB-AF74-4857-8E97-B45440E48336}");
table.entryType = MyEntryType::Type1;
table.summary = "this is a short summary";
table.validateWrite();
table.insert(); // this is where the error strikes
The error I get is this:
SQL error description: [Microsoft][SQL Server Native Client 11.0]Invalid precision value
Any idea what else could be wrong?
*This post is locked for comments
I have the same question (0)