On the question of debugging user-exits here are some notes I made when I did it. The user-exit was completely different but with luck something similar should work for you:
Debugging UXTAVQ0R; This is the Inventory Maintenance user exit which updates the GRN for RP transactions.
? Find the iSeries job of the power-link session.
○ In the Help-Diagnostics-Proc Connection object scroll to the top and you'll see a message such as:
§ Job 493376/QUSER/QZRCSRVS started on 04/09/14 at 10:30:29 in subsystem QUSRWRK in QSYS. Job entered system on 04/09/14 at 10:30:29.
? On green-screen
○ STRSRVJOB JOB(493376/QUSER/QZRCSRVS)
○ STRDBG PGM(TEST9/UXTAVQ0R) UPDPROD(*YES) OPMSRC(*YES)
From: MAPICS-L [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan McKenzie
Sent: 14 December 2015 09:35
To: 'MAPICS-L Discussion' <MAPICS-L@xxxxxxxxxxxx>
Subject: [MAPICS-L] Modifying Integrator User Exit Programs
I would like to include an edit on a Create transaction in the "Bill of Material Component" business object.
I have added an entry on the "Edits" card of the BOMCMP business object, and generated the program (UMDCUN0R) successfully. Under certain conditions, I need to prevent an Item from being include/added to a BOM.
I have tried to follow "KB1520968 Attachment Code File Delete Edit" as the basis for modifying the program with no success. I added the code, but didn't get the desired error displayed.
If anyone can send me an overview of the various Edit Scopes, and when they should be used, it would be of great assistance. If there is a general overview of how to modify the Integrator User Exits, it would also be a great help.
Furthermore, I know that the modified program is being accessed during the edit of a Component Create, as I have checked the last date used on the object, but I would like to be able to de-bug the program once it is compiled and ready for testing.
Any assistance will be readily and gratefully received.
Registration Number: 1967/005978/07
Office: +27 12 381 1405 | Switchboard: +27 12 381 1400
Mobile: +27 (0) 82 453 7990
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post a message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/mapics-l
This email message and its content are confidential and may contain proprietary or privileged information. If you are not the intended recipient, please notify the sender immediately, and do not read, copy, disclose, distribute or use the information in any way. Any views expressed in this message are those of the individual sender, except where the message states otherwise. The company does not accept responsibility for such views and opinions and this message should not be read as representing the views and opinions of the company. No liability shall attach to the company, except where the message states otherwise and the sender is authorised to make such a statement.
This e-mail has been swept for the presence of computer viruses, but no warranty is given that this e-mail and any attachments are virus free. You should undertake your own virus checking. The right to monitor e-mail communications through our networks is reserved by us.
Registered office: Parsons Lane, Hope, Hope Valley, S33 6RB. Registered in England & Wales no. 1371507
As an Amazon Associate we earn from qualifying purchases.