Join a Table with a BuisnessObject


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Wondering if there is a simple way of joining a Business Object with a table, and create a new business object. Scenarion is as follows:

1. I Fill a BusinessObject
2. I process the BusinessObject and do various calculations on the Business Object
3. When Processing is finished I want to 'Join' the BusinessObject with another few Tables, to get some additional fields
   (Dont particulalrly want to do the joins at 1 above as I dont want all the baggage when I am processing the BO

Replies
Michel Levy
Michel Levy
Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Hi Ger,

not sure it is the best solution, but what you ask may be done with QueryAdataset (http://www.queryadataset.com/). a very powerfull tool, which allows you to join the data of a BO with an external datatable, the result will be a datatable that you may import in a BO, or use for whatever you need.

Powerfull and cheap (200$, royalty free).
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Hi Michel. Thanks for replying.

Had a quick look at this product and it seems to allow you to use Sql select type syntax for querying a Dataset. I could not determine if this product will allow you to Select from a Dataset table and JOIN a Database Table (that doies not exist in the dataset). I have left a question on their site. If it does this (i.e. can join say a Dataset Table to a Databse Table) it would be a grat help
Michel Levy
Michel Levy
Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)Advanced StrataFrame User (607 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Hi Ger,

I don't understand how you could join anything to a database table, if the code is not in a database object.

if you code where you have the dataset table, then you are out of the database, and the database tables are reachable only through a dataset. If you code where you have the table, then you are inside the database, and you need to have received the dataset as a table parameter, or a temp table to have be filled with the rows of the dataset.
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)Advanced StrataFrame User (866 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Hi Michel.

After considering the very informative replies in this thread, I am definitiely going to look into Stored Procedures and User Functions as part of a solution to Heavy processing requirements.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ger Cannoll - 14 Years Ago
Ivan George Borges - 14 Years Ago
Ger Cannoll - 14 Years Ago
Trent L. Taylor - 14 Years Ago
Ger Cannoll - 14 Years Ago
                         Hi Ger, SF Business Object are very powerful and flexible at the same...
Edhy Rijo - 14 Years Ago
                             Hi Edhy, Thanks for replying. I'll give an example of what I am...
Ger Cannoll - 14 Years Ago
                                 Hi Ger, not sure it is the best solution, but what you ask may be...
Michel Levy - 14 Years Ago
                                     Hi Michel. Thanks for replying. Had a quick look at this product and...
Ger Cannoll - 14 Years Ago
                                         Hi Ger, I don't understand how you could join anything to a database...
Michel Levy - 14 Years Ago
                                             Hi Michel. After considering the very informative replies in this...
Ger Cannoll - 14 Years Ago
                                 Hi Ger, [quote][b]Ger Cannoll (12/22/2011)[/b][hr]I think there are...
Edhy Rijo - 14 Years Ago
                                     Hi Edhy. Many thanks for very informative reply. After reading it and...
Ger Cannoll - 14 Years Ago
                                         [quote][b]Ger Cannoll (12/25/2011)[/b][hr]Hi Edhy. Many thanks for...
Edhy Rijo - 14 Years Ago
                             Hi Edhy, << the BO will have access to FirstName and LastName...
Andrew Harper - 14 Years Ago
                                 Hi Andy, You are welcome and happy holidays to you too!
Edhy Rijo - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search