|
Please send a copy of your code. TY Skip ----- Original Message ----- From: "Eric A. Wolf" <eric_a_wolf@xxxxxxxxxxx> To: "mapics" <mapics-l@xxxxxxxxxxxx> Sent: Monday, March 17, 2003 4:59 PM Subject: Re: Deleting a COM order > To the list, > > FYI, if anyone wants to sample code of how easy it was to (modify) COM Order > delete to be secured let me know. I only had to add 10 lines of code after > the User Exit UMBMSC6R. The user exit verify if the User was authorized to > a new Data Security Group that is now described as Class: CO, Group 8888, > Description COM Order Delete. > > User exit passes back the error message AMB4202 that states "User not > authorized to" and I append "Delete Orders" to that message. How easy is > that? > > Thanks for your help Nato? > > Eric > ----- Original Message ----- > From: <nathan.quinones@xxxxxxxxxx> > To: "Eric A. Wolf" <eric_a_wolf@xxxxxxxxxxx> > Sent: Monday, March 17, 2003 11:22 AM > Subject: Re: Deleting a COM order > > > > > > I think the program you want modify is AMBB4XFR. > > > > This is from the source of program UMBMSC6R: > > *================================================================ > > * Program notes: > > *================================================================ > > * This user exit will be called from an external program AMBB4XFR > > * which deletes an order and all of its supporting file. > > * Within AMBB4XFR the user exit will be executed prior to any delet > > * taking place, all order records will still be available to the us > > * AMBB4XFR is called from the following programs: > > * AMBDDPVR PMT:Confirm Delete Order > > * AMBD1XFR EXT:Invoice driver > > * AMBE0DFR DSP:Quote review 1 cust > > * AMBFADFR DSP:Quote review all cust > > * AMBFMDFR DSP:Order copy:all cust > > * AMBFTDFR DSP:Order copy:one cust > > * AMBI6XFR EXT:Copy offline>Live > > *================================================================ > > > > Nathan Quinones > > Custom Systems Corp > > 973-726-0202 x213 > > http://www.cussys.com > > > > > > |---------+----------------------------> > > | | "Eric A. Wolf" | > > | | <eric_a_wolf@xxxx| > > | | ail.com> | > > | | | > > | | 03/17/2003 02:08 | > > | | PM | > > | | | > > |---------+----------------------------> > > > >--------------------------------------------------------------------------- > ---------------------------------------------------| > > | > | > > | To: <nathan.quinones@xxxxxxxxxx> > | > > | cc: > | > > | Subject: Re: Deleting a COM order > | > > > >--------------------------------------------------------------------------- > ---------------------------------------------------| > > > > > > > > > > Which program calls that user Exit? That's the one I want to modify. > > > > Eric > > ----- Original Message ----- > > From: <nathan.quinones@xxxxxxxxxx> > > To: "Eric A. Wolf" <eric_a_wolf@xxxxxxxxxxx> > > Sent: Monday, March 17, 2003 10:14 AM > > Subject: Re: Deleting a COM order > > > > > > > > > > User exit UMBMSC6R is the one called before the delete happens. In that > > > program, there is a 7 position return code (std COM). I tried to load a > > > message number into the return code to see if it would prevent the > update > > > but it didn't. > > > > > > Nathan Quinones > > > Custom Systems Corp > > > 973-726-0202 x213 > > > http://www.cussys.com > > > > > > > > > |---------+----------------------------> > > > | | "Eric A. Wolf" | > > > | | <eric_a_wolf@xxxx| > > > | | ail.com> | > > > | | | > > > | | 03/17/2003 01:08 | > > > | | PM | > > > | | | > > > |---------+----------------------------> > > > > > > > > -------------------------------------------------------------------------- > - > > ---------------------------------------------------| > > > | > > | > > > | To: <nathan.quinones@xxxxxxxxxx> > > | > > > | cc: > > | > > > | Subject: Deleting a COM order > > | > > > > > > > > -------------------------------------------------------------------------- > - > > ---------------------------------------------------| > > > > > > > > > > > > > > > Nathan, > > > Which program were you looking at when you were testing the ability of > > > using the return field to control the delete? > > > > > > Eric > > > > > > _______________________________________________ > 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, > visit: http://lists.midrange.com/mailman/listinfo/mapics-l > or email: MAPICS-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/mapics-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.