infor.com
concierge
infor u
developer portal
Home
Groups
Process Automation (IPA) Community
Insert into SQL nonLawson table from CSV file
unknown
New to IPA. Simple process to read an CSV file and insert the records into a non Lawson SQL table. Tried different scenario's in IPD and so far unsuccessful. Can this even be done? Any examples would be appreciated.
Find more posts tagged with
Process Automation (IPA) - General Discussions
Comments
unknown
Hi SteveJ,
There isn't any "magic" to doing a SQL insert in IPA. It is just a SQL transaction call to the server. However, there are many pieces that could be problematic:
Here are some things to check:
- Do you have the correct SQL drivers loaded on the designer (if running locally) and server (if running on the server)?
- Do you have a valid connection configured for the target server?
- Does the SQL user have the appropriate rights to perform an insert against that database/table?
- Are you are using the SQL Transaction node type rather than a SQL Query node type?
- Does your Landmark server have access to the remote server or is it blocked (firewall rules, etc)?
If all the above is OK, here are a couple of things to try:
- Are you able to perform a static INSERT into the target table using IPA with your configured connection and user?
- Are you able to do a static insert as that user within a "regular" SQL client as that user?
- You may also want to try creating a stored procedure on the SQL server to perform the insert and calling that instead. I've heard some folks have had better success with that approach.
Please provide more details about what you have set up and what result you are getting. Is it an error? No response? Something else?
Kelly
unknown
Kelly, I believe I have the things you mentioned to check and I will look into the items in 'couple of things to try'. Thanks!
0911060553270289.pdf
unknown
Having a similar problem with creation and maintenance of an ISAM work file in the work folder. I was curious about your progress and if there was a resolution?
unknown
Which server is the non Lawson SQL table? Mine is at the same server as my data lawapp, logan and gen. I use the same SQL Transaction connection name and in my SQL Update, fully qualify the table to include the database name.owner.tablename. Can be use to read the logan database logan.dbo.LOBMARK.
VID045_Text Format Option for Upper-Lower-Capitalize.zip
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Popular Tags
Infor Lawson Human Resources Group - Discussion
Infor Lawson Technology Group - Discussion
General Discussions
VISUAL - Enterprise General Discussions
Infor Lawson Supply Chain Management - Discussion
Process Automation (IPA) - General Discussions
Pegasus - Partner General Discussions
Infor Lawson Supply Chain Group - Discussion
Infor Lawson Financials Group - Discussion
Infor EPM Discussions