Adding a Processing Option to P4312

kur44

Member
I have added a tab to the Processing Option of P4312(PO Receipts). I copied and pasted the typedef for T4312 to
1)B4300750.h
2)XT4312.h
3)BD3N4301.h
4)B4301470.h

I did busbuild and built all the functions. Yet when I try to run P4312 I get Invalid Version and Invalid Line Type.

I saw a similar post in this forum and consequently changed D4301470 and copied its typedef to B4301470.h, did Busbuild etc. but even that did not work.

Am I missing something?
Any ideas would be appreciated.

Thanks,
Matt
OneWorld XE B7333 SP16, Update 6, AS/400, DB2
 
Where are you running the application from? Are you running it from
Interactive Versions?

Try, in the 'C' debugger, to trace the function call down to the
AllocatePOVersionData call and see what the szVersion parameter
contains.

I have a problem calling the P4210 from Interactive version's RUN row
exit because the version's system level variable (SL Version) is not
populated with the selected version.

Because it is blank, the F4211FSEditLine function then default the PO
Data to version ZJDE0001, which doesn't contain the appropriate setup.
It seems that although the szVersion is not populated, the PO xxxxx
variables in the interactive NER are populated correctly with the PO
data of the selected version.

If you find out it's the problem you are having, you might want to
consider running the interactive program from a custom menu.

I have seen this problem at 2 customer sites. One running update 2
service pack 18 and the other is at update 4, service pack 19.

Bye!
 
Re: RE: Adding a Processing Option to P4312

I am running it from G43A11 (Enter Receipts by PO) and not from Interactive Versions. So I am not sure if that is the problem.
 
I think the problem may be that you have not changed all occurrences of where this data structure is used.

What u need to do is look through the "include" / "source" directory doing a search on the business functions looking for the text T4312, ie the data structure name.

You will need to change all the businesss functions using the T4312 with the new format.
 
Back
Top