Kill Printer Cancel

DBohner-(db)

Legendary Poster
List,

OK, I realize that the title doesn't clearly explain what I am looking for -
it's OK, I just want to be able to track the issue by a unique
title/subject.

We have all seen it. You click on a row exit... that calls a UBE... and the
printer select screen appears. When the printer select screen appears, the
user has the opportunity to cancel - thus killing the process. I don't want
the user to be able to kill/cancel the process.

Example:...

P04571 - Work with Payment Groups. Let's say a grid column is selected, and
the user hits "Update" on the Row Exit... and the printer selection screen
appears. Once at this screen, the user can press Cancel - and return back
to the P04571.

The gotcha is... specific logic has been added to the UPDATE within the Row
Exit - If the user cancels the UBE at the Printer Selection screen, things
get really hozed... I need to force the UBE to run - sometimes the UBE is
one that only updates and doesn't even go to a printer (but the Printer
Selection screen appears, anyway).

Help when you can....

OW-XE
AS/400

Daniel
[email protected]
www.existinglight.net

or my day job...

Daniel Bohner
Simplot Corporate Information Systems
Pioneer Building
Boise, ID 83702
(208)250-1917 personal cell
[email protected]
 
What do you mean when you say "Things get really hozed"? Do you mean some
of the data gets changed anyway (related to the record you selected)? I can
see where that might be a problem. The user should still be able to close
out the form anyway with the close button in the top right.

Just curious.

Kevin
 
Kevin,

Our consultant has built specific logic into the Update button(MOD). In
turn, a UBE is subsequently supposed to launch (after the logic). If the
UBE - which updates additional mods - doesn't launch (or is cancelled during
Printer Selection) - the completion of the process is hozed.

Ideas?

Jde - XE
AS/400\

Daniel
[email protected]
www.existinglight.net

or my day job...

Daniel Bohner
Simplot Corporate Information Systems
Pioneer Building
Boise, ID 83702
(208)250-1917 personal cell
[email protected]
 
Re: RE: Kill Printer Cancel

Daniel,

how about launching the UBE via a BSFN instead of an inter-connect. You can do that and bypass all the screens that way.

BSFN B3700490 works pretty well - just pass the UBE name and version name. Other BSFNs do other variations on the theme.

Regards,

Larry Jones
[email protected]
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15.1
 
Daniel,
I have a UBE that calls another UBE(non-async). That way I check it the
expected actions were successfully completed. If they weren't, I reset the
tables to their original condition.
Maybe something like this could work for you?

Bill Feeney
JDE Technical Developer
B733.2, SP 13.1, Unix, Oracle 8.1.6




Bill Feeney
B7332 SP 13.1 Sun Unix Oracle 8.1.6
 
Re: RE: Kill Printer Cancel

Hi Larry,

I am a lil foxed here, i cant seem to find the BSFN B3700490, i have
B7332/WinNT installed. Can you help Pls.

Best Rgds..sid


----Original Message Follows----
From: Larry_Jones <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: RE: Kill Printer Cancel
Date: Thu, 14 Jun 2001 09:35:35 -0700 (PDT)

Daniel,

how about launching the UBE via a BSFN instead of an inter-connect. You can
do that and bypass all the screens that way.

BSFN B3700490 works pretty well - just pass the UBE name and version name.
Other BSFNs do other variations on the theme.

Regards,

Larry Jones
[email protected]
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15.1
--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=OWDEV&Number=13165
 
Re: RE: Kill Printer Cancel

Sid,

B3700490 appears to be a new animal with XE. At least its not in my B733.1 source. So this helps Daniel - but not you :(


Larry Jones
[email protected]
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15.1
 
Re: RE: Kill Printer Cancel

Hi Larry,

Thanks for that info. Seems i gotta move out of grandfather times.

Best Rgds..sid


----Original Message Follows----
From: Larry_Jones <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: RE: Kill Printer Cancel
Date: Fri, 15 Jun 2001 08:38:02 -0700 (PDT)

Sid,

B3700490 appears to be a new animal with XE. At least its not in my B733.1
source. So this helps Daniel - but not you :(


Larry Jones
[email protected]
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15.1
--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=OWDEV&Number=13256
 
RE: RE: Kill Printer Cancel

You can use this Business Function only if the UBE does not accept data
structure members. This cant be used if you need to pass any parameters to
the UBE.

Larry, got any other ideas? - Again, thanks for your help!

Daniel Bohner
Simplot Corporate Information Systems
Pioneer Building
Boise, ID 83702
(208)250-1917 personal cell
[email protected]
 
Re: RE: RE: Kill Printer Cancel

Daniel,

try looking at function DWLaunchUBE in B98000010.c for an example of rolling your own BSFN to run a UBE - passing values through a data structure. It doesn't look to hard to do given this routine as an example.

Cheers,

Larry Jones
[email protected]
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15.1
 
Back
Top