Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > AFS/DDC/OLE: Function servers

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 14th August 2002, 06:32
Satish Nandeti Satish Nandeti is offline
Junior Member
 
Join Date: Aug 2002
Location: Hyderabad
Posts: 11
Satish Nandeti is on a distinguished road
Baan: Baan4c4 - OS: Windows NT
Unhappy thru' AFS How to Handle a session which gives 2 reports

Hi Guys,
Thru' AFS is it possible to handle a session which gives 2 reports when we click 'Continue' button. For each report it will ask the device also.

But when I am executing this thru' AFS, how to set those 2 reports (IS IT POSSIBLE??) ? And one more thing is I want to write each report into a different file by specifying the device type 'ASCIF' and will give file name also.

I know how to handle a single report sessions in AFS, sample code is here,

Code:
stpapi.set.report("trdrp0230m000","rtrdrp022001000", "ASCIF", error.mess)
filename = bse.dir$() & "/" & "transferRPLOrders-" & dte$()
stpapi.put.field("trdrp0230m000","spool.fileout", filename)
stpapi.continue.process("trdrp0230m000",error.mess)

BUT, my question is how to set 2 reports & how to specify 2 file names which will have the 2 reports outputs...

Looking forward for your suggestions.

Thanks,
__________________
satish
Reply With Quote
  #2  
Old 14th August 2002, 14:44
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,903
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
I tried once..

The one time I tried it the AFS session kept failing with an error on the device. I have heard they have since fixed the problem. I do not know this for a fact since I solved my problem using another method. The error I was getting was "null pointer on device" or something like that. If you give it a try please let us know what happens and possibly how you solved the problem.

Thanks

Mark
Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Handle sub session in AFS SriksAdi AFS/DDC/OLE: Function servers 1 28th July 2004 14:36
AFS - problem running session in a job aobrien AFS/DDC/OLE: Function servers 15 2nd April 2004 14:51
Multiple reports per session Aaackk Tools Development 2 21st February 2003 23:19
Session to handle both files arunalv Tools Development 4 29th January 2003 12:34
Try to create AFS for session ttadv6420m000 gous99 AFS/DDC/OLE: Function servers 6 9th January 2003 18:27


All times are GMT +2. The time now is 20:33.


©2001-2017 - Baanboard.com - Baanforums.com