JDEList,
Print Immediate Update
Please keep the following in mind if using the attachment to my post (new site 110060) (old site 121267) in this thread
For those who have used the attachments I have provided in this thread and in (new site) thread 26192 (old site thread 102171) - BF B986162B mult print copies of UBE (new site post 92300; link
http://www.jdelist.com/vb4/showthre...2B-mult-print-copies-of-UBE?p=92300#post92300) (old site post 102978) (in one way or another) I have a couple of updates, both related to F986110.
Firstly I changed the the JDE triggers on the table to fetch the row from the F986110 as not all fields are necessarily populated. This made the whole process work better.
Secondly, after upgrading to E9.1 and TR9.1 (which included new machines) we were receiving the following error in our logs and one UBE was printing twice, this error also seemed to be preventing some debug log detail to be recorded:
KNT0000106 - JDENET_ReceiveMsg failed. Error = 11
This has been investigated over a number of months, including with Oracle Support (and Development). Oracle Development replied with a comment to the effect that system tables (which includes F986110) should not be modified, which includes adding JDE triggers.
Using a custom debugging NER and Table, I found out that the F986110 JDE trigger was running twice before before the UDC was updated (this will make sense if you have followed the detail in the attachment to my post 21267 in this thread) and thus the UBE was printed twice. This situation, I believe, also caused the error above.
I believe that the increased speed of the new hardware and not the modification (added JDE Triggers) to the system table caused this problem. However, to avoid both the problem itself and any other issues that may cause Oracle to baulk at providing assistance in the future, the method of printing of UBEs on completion has had to be changed. The method of skipping the printer selection screen remains the same.
The new method is in test at the moment and looks like it will go into production soon. It uses the standard (new) JDE default printer functionality. The enterprise server JDE.ini and web server JAS.ini files are updated to print immedediately. This is an all or nothing option, so all UBEs will print on completion. However, using the default printer functionality, only this UBEs that are needed to be printed on completion have a real and valid printer. The default printer allocated to *ALL environments, *PUBLIC and *ALL UBEs does not actually exist and so will not print.
The only problem is that called/child UBEs inherit the default printer from the calling/parent UBE and so any default printer set up for the called/child UBE is ignored. This is a problem if the calling/parent UBE is not to be printed but the called/child UBE is to be printed. As all our printing is channeled through Create!form this problem is remedied using Create!form.
The default printer search is done in the following order (I did not test the order including the environment):
1) UBE, Version, User
2) UBE, *ALL (all versions), User,
3) *ALL (all UBEs), *ALL (all versions), User
4) UBE, Version, *PUBLIC (all users)
5) UBE, *ALL (all versions), *PUBLIC (all users)