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 26th January 2006, 18: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:
>tfgld1115s000 handle.subproc tfgld1107s000 add
>tfgld1115s000 application.option 1 of form:1
>tfgld1107s000 change.view
<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
<tfgld1107s000 Reversal of Transactions not allowed
>tfgld1107s000 end.session
Reply With Quote
Sponsored Links
Old 26th January 2006, 18: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

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

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 15:15
What makes a session AFS compatible vineetu1 AFS/DDC/OLE: Function servers 6 3rd December 2005 10:58
Editable synchronized dialogue not started srinivas AFS/DDC/OLE: Function servers 10 21st July 2005 07:25
Excute a form command of AFS session en@frrom AFS/DDC/OLE: Function servers 4 30th May 2005 14:54
AFS - problem running session in a job aobrien AFS/DDC/OLE: Function servers 15 2nd April 2004 14:51

All times are GMT +2. The time now is 13:59.

©2001-2017 - -