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
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 28th July 2004, 08:28
SriksAdi SriksAdi is offline
Senior Member
 
Join Date: Dec 2003
Posts: 145
SriksAdi is on a distinguished road
Baan: Baan 4 - DB: Oracle - OS: Windows NT
Handle sub session in AFS

Hi,
In the session Change Prices/Discounts after 'Maintain Receipts' (tdpur4122m000), a localization session tdind0277s000 is called in before.input of tdpur045.pric.

I am setting the value for tdpur045.pric using stpapi.put.field, still the session tdind0277s000 is not getting activated.

Script is as follows:
stpapi.put.field( "tdpur4122m000", "tdpur045.orno", str$(tdpfl201.orno) )
stpapi.put.field( "tdpur4122m000", "tdpur045.pono", str$(tdpfl201.pono) )
stpapi.put.field( "tdpur4122m000", "tdpur045.srnb", str$(tdpfl201.srnb) )
ret = stpapi.find("tdpur4122m000", err.mess)
stpapi.get.field( "tdpur4122m000", "tdpur045.pric", value)
stpapi.handle.subproc("tdpur4122m000" ,"tdind0277s000", "send")
stpapi.put.field( "tdpur4122m000", "tdpur045.pric", value)

I cannot call the session tdind0277s000 directly since, tdind0277s000 contains only form fields which are being calculated in before.program, based on values imported from tdpur4122m000.

When I open the session tdind0277s000 using zoom.to$, the field values are calculated properly.

Is there any way I open the session tdind0277s000 properly and also access the field values in it?


Regards
Sriks
Reply With Quote
  #2  
Old 28th July 2004, 15:36
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,935
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Other thread

Here is another thread on this session. You might want to send ahulikavi a PM or email to see if they will provide some code or input into your problem. I do not see anything in your code to activate the sub-session - a continue, update, insert, etc.

Good Luck!

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
AFS - problem running session in a job aobrien AFS/DDC/OLE: Function servers 15 2nd April 2004 15:51
Session to handle both files arunalv Tools Development 4 29th January 2003 13:34
Try to create AFS for session ttadv6420m000 gous99 AFS/DDC/OLE: Function servers 6 9th January 2003 19:27
AFS: How to Handle a session which gives two reports? Satish Nandeti AFS/DDC/OLE: Function servers 1 14th August 2002 15:44
tfacp9450m000 FIBU Brush Up Kai's Forum Users Deutsches Forum 1 16th November 1999 01:00


All times are GMT +2. The time now is 03:02.


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