Re: Modifying Integrator User Exit Programs
Alan McKenzie <[email protected]>
| Newsgroups | gmane.comp.systems.as400.mapics |
|---|---|
| Message-ID | <D06A8EC75BD1DB45B34B6F35FBD1D60B4CAD8DC9@EXCHTMP.atc.telecom.co.za> |
Hi Phil, Thank you for your contribution, I will use this to assist with Debug. Rgrds, Alan XA Consultant Registration Number: 1967/005978/07 Office: +27 12 381 1405 | Switchboard: +27 12 381 1400 Mobile: +27 (0) 82 453 7990 E-mail: [email protected] -----Original Message----- From: MAPICS-L [mailto:[email protected]] On Behalf Of Phil Brewer Sent: 15 December 2015 02:02 PM To: MAPICS ERP System Discussion Subject: Re: [MAPICS-L] Modifying Integrator User Exit Programs Hi Alan, 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) Regards, Phil -----Original Message----- From: MAPICS-L [mailto:[email protected]] On Behalf Of Alan McKenzie Sent: 14 December 2015 09:35 To: 'MAPICS-L Discussion' <[email protected]> Subject: [MAPICS-L] Modifying Integrator User Exit Programs Hi all, 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. Rgrds, Alan XA Consultant [cid:[email protected]] Registration Number: 1967/005978/07 Office: +27 12 381 1405 | Switchboard: +27 12 381 1400 Mobile: +27 (0) 82 453 7990 E-mail: [email protected] -- -- This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mapics-l or email: [email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/mapics-l.