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 26th January 2006, 19:07
jhargett jhargett is offline
Junior Member
 
Join Date: Nov 2002
Posts: 22
jhargett is on a distinguished road
Baan: Baan IVc4 - DB: Oracle - OS: Unix
AFS and session tfgld1107s000

I am trying to automate a GL transaction using AFS.
I have successfully created the batch in session tfgld1101m000 and I have successfully created the document in session tfgld1115s000. However, when I create a document of type Recurring/Reversing, I need to fill out session tfgld1107s000. So, in the AFS I handle this subsession and fill out the data and insert it. But when called from AFS, the insert fails with the message "Reversal of Transactions not allowed". This data works fine when inserted manually in Baan.
Here is the AFS Log for this series of updates:
Code:
>tfgld1115s000 handle.subproc tfgld1107s000 add
>tfgld1115s000 application.option 1 of form:1
5->application.option^A1^A49
5<-application.option^A0
<tfgld1115s000
>tfgld1107s000 change.view
6->get.fields
6<-get.fields^A0^Atfgld103.year^A1^Atfgld006.ydsc^A0^Atfgld103.btno^A1^Atfgld103.ttyp^A1^Atfgld011.desc^A0^Atfgld103.trdt^A1^A
tfgld103.nyer^A1^Atfgld103.fprd^A1^Atfgld103.rprd^A1^Atfgld103.tyer^A1^Atfgld103.vprd^A1^Atfgld103.revt^A1
6->start.set
6<-start.set^A0^A1
<tfgld1107s000 1 view found
>tfgld1107s000 put.field:tfgld103.trdt 732283
>tfgld1107s000 put.field:tfgld102.nyer 2005
>tfgld1107s000 put.field:tfgld102.fper 12
>tfgld1107s000 put.field:tfgld102.tyer 2005
>tfgld1107s000 put.field:tfgld102.vprd 12
>tfgld1107s000 put.field:tfgld102.revt 2
>tfgld1107s000 insert
6->add.set+save
6<-add.set+save^A1
<tfgld1107s000 Reversal of Transactions not allowed
>tfgld1107s000 end.session
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2006, 19:36
jhargett jhargett is offline
Junior Member
 
Join Date: Nov 2002
Posts: 22
jhargett is on a distinguished road
Baan: Baan IVc4 - DB: Oracle - OS: Unix
Answer

Don't you love it when you find the answer after you post?
You may notice that in the put statements, the first line is:tfgld103.trdt. The lines after that use tfgld102. They should all be tfgld103.
Reply With Quote
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 for session tdsls4240m000 doesn't work litrax AFS/DDC/OLE: Function servers 6 12th April 2006 16:15
What makes a session AFS compatible vineetu1 AFS/DDC/OLE: Function servers 6 3rd December 2005 11:58
Editable synchronized dialogue not started srinivas AFS/DDC/OLE: Function servers 10 21st July 2005 08:25
Excute a form command of AFS session en@frrom AFS/DDC/OLE: Function servers 4 30th May 2005 15:54
AFS - problem running session in a job aobrien AFS/DDC/OLE: Function servers 15 2nd April 2004 15:51


All times are GMT +2. The time now is 00:58.


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