Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
Querrying External Datasource
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Rich Cowie
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5255
People Online:
Visitors:
105
Members:
0
Total:
105
Online Now:
New Topics
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Integration / Customization
IPA/ProcessFlow
Querrying External Datasource
Please
login
to post a reply.
9 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Sanford Barton
Basic Member
Posts: 10
4/4/2007 3:20 PM
I know that ProcessFlow Integrator would be the best option to do this, but we don't have it, and aren't likely to get it anytime soon.
What I would like to do is to be able to querry a table in an Oracle database in a flow which manages adding new users to our system.
The table would reside in Lawson database, but I would prefer that use a seperate tablespace for obvious reasons.
Is it possible to set this up so that I can querry it via the querry node in pflow?
If no, any other ideas to get around this like using a javascript routine to get the data or some other form of executible process??
Thanks,
Bart
John Henley
Posts: 3351
4/4/2007 6:34 PM
Split
As long as you have it defined in the Lawson database (i.e. via dbdef, perhaps as a 'view') you can use DME query calls from ProcessFlow against the data.
Sanford Barton
Basic Member
Posts: 10
4/4/2007 9:26 PM
Split
Hi - thats never worked for me. I've tried defining a "database space"(as view) and then a "data area", then blddbdict and a dbreorg, but all I ever see in the dme wizard is product lines and system codes....Do you see anything that I potentially missed? Thanks!
John Henley
Posts: 3351
4/11/2007 2:24 PM
Split
I have tested this and it does work, returning data from database views defined in dbdef--from direct DME calls via the browser, Excel query wizard, and ProcessFlow DME query builder.
Sanford Barton
Basic Member
Posts: 10
4/17/2007 3:03 PM
Split
Can you do updates to the tables as well with this method?
John Henley
Posts: 3351
4/17/2007 8:15 PM
Split
Using ProcessFlow, you would be limited to making AGS calls. AGS calls are made against forms not tables. Therefore you would need to create a form that updated your table. One of advantages of ProcessFlow Integrator is that you can do SQL updates directly to Non-LAWSON tables.
Sanford Barton
Basic Member
Posts: 10
4/19/2007 2:30 PM
Split
The Querry Builder in Processflow has a selector for "Database Tables" and "Application". Wouldn't that imply that one could build either DME (database) and AGS (Application) querries....not just AGS?...Or are you saying that only AGS can be used to make updates where DME is querry only?
John Henley
Posts: 3351
4/19/2007 2:46 PM
Split
I should have said "Using ProcessFlow, you would be limited to making AGS calls in order to UPDATE.
For Updates, you can only use AGS.
For Queries, you can use either AGS (forms) or DME (tables).
Sanford Barton
Basic Member
Posts: 10
4/19/2007 3:31 PM
Split
Ok thanks - so basically AGS/DME is a dead-end for updates (without backend app development to allow AGS).
I have a plan B...it sort of works, but my initial inquiry was to see if anyone has figured out a better way
Bacially, I've develpled an oratcl (TCL Scriptiong Language that Comes with Oracle) that will do querries and updates by calling it from a webrun node. Any language that can talk to Oracle would work. You can either write your own script for each type of querry/update you want to perfrom, or write a generic one that you can pass an entrire sql command to.
Only limitation that I have is that I can only deal with 1 row of data at a time. Haven't figured out a way to pass and parse multiple rows. Still in a pinch it works.
Anyone done anything similar?
John Henley
Posts: 3351
4/19/2007 3:58 PM
Split
As you're already aware, LSF9/ProcessFlow Integrator is an ideal solution for what you're trying to do. The way it works is that when you do a SQL query it returns a JavaScript array of the results. It's not perfect (in fact, large resultsets tend to, ahem, bring the server to a crawl and eventually crash...), but it does work pretty well for simple tasks.
I did something similar awhile back; I created some .NET applications that exposed SQL table/command wrappers as web services. So, in theory similar to what you did with oratcl. The dillema when calling from ProcessFlow WebRun is that you're pretty limited in what you can do with the results that are returned from the WebRun node. In other words, you have to put it into a parsable format, and parse thru the results in ProcessFlow. At some point, you have to ask yourself if you're really using the right tool...
Please
login
to post a reply.