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

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 45

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 28th July 2004, 07: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

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$, the field values are calculated properly.

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

Reply With Quote
Sponsored Links
Old 28th July 2004, 14:36
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,069
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!

Reply With Quote

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 14:51
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
AFS: How to Handle a session which gives two reports? Satish Nandeti AFS/DDC/OLE: Function servers 1 14th August 2002 14:44
tfacp9450m000 FIBU Brush Up Kai's Forum Users Deutsches Forum 1 16th November 1999 00:00

All times are GMT +2. The time now is 18:24.

©2001-2017 - -