kruyoupatel
16th June 2015, 19:54
HI Guys,

I am Stuck with AFS.

AFS is not entering the on.choice code of print.data.

Can anyone help to know why that happens.

AFS is written for Finance Payment Audit Session and no error no is occurring while skipping on.choice....weird.

Code is attached.

Please help.

mark_h
16th June 2015, 20:35
The first thing I notice is it runs two reports - that seems to always cause problems. Can you post your code that you use to call it with? Maybe we will see something wrong with that.

lcescobedo
9th January 2016, 02:16
did you fixed the problem ?

mark_h
10th January 2016, 02:19
I do not think baan has ever resolved the issue of multiple reports using AFS. In 4c4 the best I can do is if I want to reports I usually end up running to different sessions. For example like generate outbound - I will use generate outbound and print only the shortages and then run print outbound to print the outbound I just generated.

OmeLuuk
12th January 2016, 14:47
I chose to run reports started in AFS sessions over standard software (with their own report handling and put.var spool.report etc...) from within a DLL called by the AFS session. Since the DLL runs as a different object I think there is no problem sending to different reports. But there is still something buggy when printing to different output devices...