Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Interfaces/Conversion
Writing Rule With Date Function
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Joyce
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5158
People Online:
Visitors:
181
Members:
0
Total:
181
Online Now:
New Topics
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
S3 Interfaces/Conversion
Writing Rule With Date Function
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Dennis Amory
Basic Member
Posts: 10
4/24/2013 3:16 PM
I am writing a security rule that uses the date util functions dateFormat( ) and dateDiff( ). The rule is successful if I enter a hardcoded date in the function (such as '20051130' or '04/24/2013'), but not if I enter the field from a form (such as form.TRD_TR_DATE). Any idea how to fix this?
Georgette
Veteran Member
Posts: 52
4/24/2013 6:43 PM
Hi Dennis,
You don't state what version of Lawson you are using but came across this in the KnowledgeBase for LSA, article 5420594.
This is a known issue with the dateDiff security function. The problem ticket is JT-140225.
The fix for this issue is not yet available. The workaround is to use a hard coded date in the rule.
Dennis Amory
Basic Member
Posts: 10
4/25/2013 12:06 PM
Georgette - I appreciate your providing me with that info. I was also able to find the KB on it. BTW, I'm using version 9.0.2. I guess I will have to figue out a workaround. Thanks again!!
Georgette
Veteran Member
Posts: 52
4/25/2013 12:54 PM
Glad I remembered seeing that in my research. There is nothing worse than beating your head on the wall over simple code that should work.
Perhaps Infor will provide a CTP in the near future to correct the error.
Dennis Amory
Basic Member
Posts: 10
4/30/2013 8:46 PM
Yea, hopefully it would be addressed soon. I imagine it is frustrating to more than a few users. Lol.
You are not authorized to post a reply.