Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
Value not in list still allows change
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
281
Members:
0
Total:
281
Online Now:
New Topics
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
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
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
1351
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Design Studio
Value not in list still allows change
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Mark A
Basic Member
Posts: 8
6/3/2010 5:51 PM
I added two listboxes to AP20 and upon add or change update the Invoice Group by concatenating the values in the listboxes.
Normally, if you key in a value that's not in the list and tab out of the field, the system stops you from processing and provides a "Value not in list" message. However, if you simply type in a value and click change on the form without leaving the field, it allows the change and updates the field even though there's a "Value not in list" message.
I'd like to capture that message, alert it on screen and stop all other processing but can't get the message.
Any ideas? It's not an AGS call so getMessage doesn't work.
Ragu Raghavan
Veteran Member
Posts: 469
6/7/2010 12:58 AM
How about coding am edit in the FORM_OnBeforeTransaction function ?
Something like:
vEmpStatus = lawForm.getFormValue("select103",0);
if (vEmpSTatus != "FC" && vEmpStatus != "FN" && vEmpSTatus != "FT" && vEmpStatus != "FP")
{
alert("Invalid Status" + vEmpStatus);
return false
}
The retrun false should prevent any further processing.
You are not authorized to post a reply.