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 Customization/Development
user exit compile
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
244
Members:
0
Total:
244
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 Customization/Development
user exit compile
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Chesca
Veteran Member
Posts: 490
3/21/2012 1:10 PM
I created a user exit XXXXXPD and have working storage XXXXWS source files for a batch program that will invoke a user online screen that calls my user exits. I know I am supposed to compile with option -u but what needs to be compiled, the user-exit or the base program? Do I need a perform statement to call my user exit?
John Henley
Senior Member
Posts: 3348
3/21/2012 1:22 PM
Moving to S3 development/customization forum...
John Henley
Senior Member
Posts: 3348
3/21/2012 3:22 PM
You compile the user exit with the -u, e.g.
qcompile –u PROD BR BR40B
User exits are only available for on-line forms, not batch programs. It sounds like you are modifying the batch program to invoke an online form. Assuming you have the user exit set up correctly, the online form will invoke the user exit--you don't need to add a perform statement.
Chesca
Veteran Member
Posts: 490
3/23/2012 8:12 PM
Hi John, yes you are correct. I couldn't get the user exit to compile LPVACATION so I ended up adding my code to the LPCUSTOMPD library. Thank you so much for your response.
Ragu Raghavan
Veteran Member
Posts: 468
3/26/2012 5:02 PM
As John mentioned, the user exits (Begin, Middle and End) only apply to on-line programs.
The execeptions are some library files (also called User exits) like LPCUSTOMPD, PRUEDED, BNUX70PD etc. that allow you to insert custom logic to calculate accruals, deductions etc. These libs are called by LP140, PR140, BN102 etc.
if whatever you are doing cannot be accomodated in one of these, you probably need to insert custom code in LP140PD or wherever appropriate.
Chesca
Veteran Member
Posts: 490
4/10/2012 1:38 PM
Ragu and John,
Yes, I ended up adding my custom logic to LPCUSTOMPD 3000-USER-EXIT routine like suggested. Your help is greatly appreciated!
You are not authorized to post a reply.