Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, July 5, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Problem inserting into extension table -unknown or internal error has occurred
Ron Buchanan
Posts: 72
 
Problem inserting into extension table -unknown or internal error has occurredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 09 9:24 AM
Has anyone run into this problem? I have a table my_table with an extension table.
I receive the following error regardless if I try to insert the record through the object .save() or through the OLEDB.

An unknown or internal error has occurred. (SQL: "INSERT INTO mytable_ext( mytable_extID,MODIFYDATE,TOT_ACCT_VAL) VALUES (?,?,?)")

I thought there may be an issue with the fields, so I stripped the table down to the base fields (id, modifydate, modifyuser, createdate, createuser,tot_acct_val) and still get the same error. I checked the Admin, it shows the relationship as One-to-One. I should add that the only non-nullable field is mytable_extId.

Using the profiler, it never gets to SQL.

Any ideas? My thanks in advance.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Problem inserting into extension table -unknown or internal error has occurredYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 09 11:00 AM
Question:

If the table has a One to One relationship, shouldn't the ID field be called mytableID?

In other words, my base table is called "MYTABLE", and its ID is called "MYTABLEID". I create a new table with a one to one relationship called MyTable_EXT. The new table doesn't contain its own ID, but rather just the ID of the Parent table: MYTABLEID.

I know that this is how the tables would be created if using the Database Manager, but not sure how the App Architect may build them. When I have had a need to create an Extension entity,it was to associate a previously created One to One table that followed the schema listed above.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/5/2025 11:07:19 AM