Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, May 18, 2024 
 
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: 8.2 Web Entity setup and HQL queries
David Nunnally
Posts: 206
 
8.2 Web Entity setup and HQL queriesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Aug 15 1:56 PM

I need a little help understanding how to setup the entities and access via HQL.


First lets start with a simple scenario. I have 2 tables associated with Account lets call them AccountOne which is a 1:1 and AccountMany that is 1:M. First I assume I need to set AccountOne as an extension to Account so it is one to one. I assume this because setting relation only gives me 1:M or M:1. Am I correct so far? Next I should go to Account and set a child relation of 1:M to AccountMany - Correct?


Next I am having issue creating a HQL to mimic this SQL query to see if 1 or more records exist to validate a requirement.


select a1.AccountID from AccountOne a1 Inner Join AccountMany a2 on a1.accountid = a2.accountid where a2.somefield <> 'someval'


I tried a simple query to test but get an error (No data type for node: IdentNode Accountid [select Accountid from Accountinginfo where Accountid <> 'A9ESFA0000T1' ].) so I must be missing something here.


I need to understand how to correctly setup the entities and use HQL to query this if someone could be so kind as to give me the nickle tour.

[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 © 2024 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): 5/18/2024 7:36:11 PM