• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

A/P program P04570 processing options

Diana_Apple

Well Known Member
I am somewhat confused with the processing option for the USER EXIT OPTION for P04570. According to the Processing Option Setup, this is option #27, but when I try to find it in the P04570 program, it says it is # 17. I need to create a user exit program and need to be sure it will be executed before the payment record is created. I plan to use X0457E as the name of my program (which is the default), but I need to know how and when the processing option is used in the program.

Thanks in advance.

Diana
 

John_Dickey

Reputable Poster
Diana,
You have to remember that the internal option number can (and usually
is) different from the number that you see when you run a dreamwriter. You
need to go to the processing options set-up screen, inquire on your form,
and then you will see the internal number that JDE uses in their programs.
Menu G81, option 3 is one way to do this. Keying in "PO" (fastpath) is
another way to get to this screen. This screen shows you both the number as
seen when execute the dreamwriter and the internal number, so you can
cross-reference between the two values. Hope this helps.

John Dickey
White-Rodgers IS
(314) 577-1466
 

dkahn

Active Member
Diana,

I'm not sure where you are getting "17" from. At A7.3 cum 10 at least, PO #17 is to do with printing tape information on the edit report.

When you look at the options in the DWV the exit program appears as #22 (are you at a different release and is it #17 in your version?). According to the processing options setup this is actually as you say option #27, and indeed within the program source we have the following lines.

> C*
> C* Load User Exit Program Name.
> C*
> CSR MOVEL@OP,27 £#EXIT 10 P

Dave Kahn (World A7.3 cum 10)
=========

Dave Kahn (World A7.3 cum 10)
=========
 

TGreene

Active Member
Diana,

We are on A7.3 cum 8 and the User Exit Program is processing option #27
for us, too. In the PO screen AND in the program. We have the same line
as David - it's line number 2894 in the source for us. What release are
you on?

Teri Greene
JDE World A7.3 cum 8

Diana,

I'm not sure where you are getting "17" from. At A7.3 cum 10 at least,
PO #17 is to do with printing tape information on the edit report.

When you look at the options in the DWV the exit program appears as #22
(are you at a different release and is it #17 in your version?).
According to the processing options setup this is actually as you say
option #27, and indeed within the program source we have the following
lines.

> C*
> C* Load User Exit Program Name.
> C*
> CSR MOVEL@OP,27 #EXIT 10 P

Dave Kahn (World A7.3 cum 10)
=========

Dave Kahn (World A7.3 cum 10)
=========
--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=W&Number=10384
 
Diana,

Our A73 Cum11 version has the following:

3057.00 C* Load User Exit Program Name. 940131
3058.00 C* 940131
3059.00 CSR MOVEL@OP,27 $#EXIT 10 P 970501

This is in the S999 subroutine.

Mike Manes
Genuine Parts Co.
A73 Cum11.






Diana_Apple <d_l_apple@yahoo.com>@jdelist.com on 05/08/2001 11:19:57 AM



Mike Manes
 

Diana_Apple

Well Known Member
We are on A7.3 CUM 6

Here is the source code I am seeing:

2889.00 C*-------------------------------------------------
2890.00 C*
2891.00 C* Load User Exit Program Name.
2892.00 C*
2893.00 CSR MOVEL@OP,17 $#EXIT 10 P
2894.00 C*
2895.00 C*-------------------------------------------------

This program has has not been customized. And it does not reference @op,27 at all.
 

TGreene

Active Member
I just checked the Knowledge Garden - SAR # 1537627 has a code change to
P04570 - all it is doing is changing the @OP,17 to @OP,27. Apply it and
you should be good to go.

Hope this helps,
Teri Greene


We are on A7.3 CUM 6

Here is the source code I am seeing:

2889.00 C*-------------------------------------------------
2890.00 C*
2891.00 C* Load User Exit Program Name.
2892.00 C*
2893.00 CSR MOVEL@OP,17 $#EXIT 10 P
2894.00 C*
2895.00 C*-------------------------------------------------

This program has has not been customized. And it does not reference
@op,27 at all.


--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=W&Number=10405
 

John_Dickey

Reputable Poster
Hmm, looks like a program error to me. 7.3.12 has the right source.
7.3.5 has the wrong source as well as 7.3.6

John Dickey
 
Top