Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Smart Notification
Syntax for combining Data Fields
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
TomV
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5186
People Online:
Visitors:
181
Members:
0
Total:
181
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Smart Notification
Syntax for combining Data Fields
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
thummel1
Veteran Member
Posts: 121
3/9/2015 5:48 PM
Hi,
I'm looking for the right syntax to combine 2 data fields with a semi-colon as the separator. It's 2 email address fields.
I would expect the data field to look like this:
bjones@company.org; speterson@company.org
I was going to see if I could burst my smart note to these two email addresses from one data field. Before I can try it, I built my SQL in SQL Developer for Oracle and it looks like this:
EMPLOYEE_1.EMAIL_ADDRESS ||';'|| EMPLOYEE.EMAIL_ADDRESS as EmailAddresses,
This executes just fine in SQL Developer for Oracle, but when I paste the entire SQL into my Smart Note, it fails with tis error message:
Error: ORA-01756: quoted string not properly terminated
I've isolated the issue to just this line of code. My first question is, will this idea even work and second, if it will, how do I fix the code to work in my Smart Note? Thanks.
The.Sam.Groves
Veteran Member
Posts: 89
3/9/2015 6:23 PM
Are you married to the idea of using a ;?
The problem isn't with your SQL, it's with the fact that Smart Notes is doing some stupid parsing business in the background and not passing over the SQL correctly. Try replacing the ; with a | and it should work without issue.
If you really need a ; in there, then replace it with & # 59 (without spaces) which is the HTML code for ;
The.Sam.Groves
Veteran Member
Posts: 89
3/9/2015 6:39 PM
And to cover the first question, I tried it and while the system sent the email, I've received neither a bounce back indicating the email address was 'bad' or the actual email in either of the addresses I used.
Dave Curtis
Veteran Member
Posts: 136
3/9/2015 11:03 PM
I've never been able to get multiple email addresses to work. I've tried multiple times and multiple ways and never successfully.
I now just use a union and basically build the multiple addresses that way.
depending on the type of query, I also utilize employee groups to manage multiple deliveries of one note to many individuals.
You are not authorized to post a reply.