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
Working with Messages
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
15
Members:
0
Total:
15
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
Working with Messages
Please
login
to post a reply.
3 Replies
0
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Brian Mischley
New Member
Posts: 0
1/20/2014 3:48 PM
I have created a clone of PA340 and pretty much gutted out what I didn't need. When I go into pgmdef and go into the message definition for this program I got rid of the messages I didn't need. My question is this . . . . the messages that are left are all the messages that were with the original PA340. Can I just modify the messages OR do I need to leave the existing messages as they are, then create a new message number and make my changes there? I don't want to cause any problems with any other programs for example that use message #118. Thanks in advance for your help!
Woozy
Veteran Member
Posts: 709
New Poster
Congrats on posting!
1/20/2014 4:27 PM
Split
Hi Brian,
If I'm not mistaken, when you clone a program it also clones all the messages into a new recordset under the clone's name. To confirm this, go into pgmdef for your clone and select Messages. The "Category" field at the top should show with the name of your clone rather than PA340. Also, within the code, any references to PA340 (such as calls to msgmnt) should be changed to your new clone name.
As a suggestion, you should search through the code in your clone and make sure that any value passed in to CRT-ERROR-NBR has a matching record in the messages. If it doesn't, it will throw an error.
Good Luck.
Kelly
jaherb
Veteran Member
Posts: 164
New Poster
Congrats on posting!
1/20/2014 6:26 PM
Split
Brian... if you stay in the "Category" of your new program code, you will be fine with removing/replacing unwanted error messages... however you need to make sure you stay within that category. Many times, programs are connected to other categories via pdlib members being called. Those are the ones you want to avoid modifying. When in doubt however and you are worried about this, Lawson always recommends that you start with HIGH order numbers, such as "999" as not to interfere with Lawson delivered messages.
Brian Mischley
New Member
Posts: 0
1/20/2014 7:53 PM
Split
Thanks for your help!
Please
login
to post a reply.