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 29th April 2004, 00:43
garias's Avatar
garias garias is offline
Member
 
Join Date: Feb 2002
Location: Ecuador
Posts: 44
garias is on a distinguished road
Baan: Baan IV b2, c2, c2 mcurr, Baan V ERP, Infor LN - DB: Oracle, Informix, SQL - OS: AIX, Solaris, Windows NT
problem with AFS (tfgld1101m000)

Today one a AFS that was working fine, have two problem:

First:

******************
stpapi.put.field( "tfgld1101m000", "tedt.f", str$(que.fecha)
stpapi.put.field( "tfgld1101m000", "bref.f", "batch")

ret.code = stpapi.change.view("tfgld1101m000", err)

if ret.code <> 1 then
if isspace(strip$(err)) then
err = "There´s a problem"
endif | NOVAGAC09.n
err = err & tuint210.hocr
write.err.record()
endif
******************

Today the stpapi.change.view is returning 2, it´s the first problem (It have to return 1) . Nevertheless the process continue, and It can create the record.

Second:

stpapi.handle.subproc( "tfgld1101m000", "tfacr1110s000", "add")
stpapi.form.command( "tfgld1101m000", 5, "exec.cont.process", err )
stpapi.put.field( "tfacr1110s000", "tfacr200.ninv", sri )
stpapi.put.field( "tfacr1110s000", "tfacr200.itbp", tuint210.itbp)
stpapi.put.field( "tfacr1110s000", "tfacr200.docd", str$(que.fecha))
stpapi.put.field( "tfacr1110s000", "screen.amnt", str$(tuint210.amnt) )
stpapi.put.field( "tfacr1110s000", "tfacr200.lvat", "2" ) | Impuestos a nivel de linea
stpapi.put.field( "tfacr1110s000", "tfacr200.cpay", tuint200.cpay )
stpapi.put.field( "tfacr1110s000", "tfacr200.refr", tuint210.hocr )
ret.code = stpapi.insert("tfacr1110s000", true, err)

and ret.code is 0 an the err is = "partner is invalid" because the partner field (tfacr200.itbp) is empty.

It was working, also I reviewed anothers AFS That I have with tfgld1101m000 and tfacr1110m000 and also have the same problem.

May you help me

Gerard.
Reply With Quote
Sponsored Links
  #2  
Old 29th April 2004, 03:48
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
Installed..

Sounds like a tools patch was installed, porting set or maybe even a session object was installed. Do you know if anything was installed? Or did anything change on these sessions?

Mark
Reply With Quote
  #3  
Old 2nd May 2004, 18:35
garias's Avatar
garias garias is offline
Member
 
Join Date: Feb 2002
Location: Ecuador
Posts: 44
garias is on a distinguished road
Baan: Baan IV b2, c2, c2 mcurr, Baan V ERP, Infor LN - DB: Oracle, Informix, SQL - OS: AIX, Solaris, Windows NT
Hello Mark

Sorry
I was out of line because I was sick.

No, they dont installed new solutions or new porting set in this week (26-28 april), some tools objetcs was installed previous week, but the problem was present 28-april.

I fix the second problem adding a stpapi.find function after stpapi.form.command (It was testing and error,and so on):

stpapi.handle.subproc( "tfgld1101m000", "tfacr1110s000", "add")
stpapi.form.command( "tfgld1101m000", 5, "exec.cont.process", err )
stpapi.find("tfacr1110s000", err) | ITS NEW
stpapi.put.field( "tfacr1110s000", "tfacr200.ninv", sri )
stpapi.put.field( "tfacr1110s000", "tfacr200.itbp", tuint210.itbp)
stpapi.put.field( "tfacr1110s000", "tfacr200.docd", str$(que.fecha))


Why it run, why this problem I don´t know, but I am worry, why sometimes with new solutions or new portingset we have this problems. I thing that it´s a fix.

By the way, is there a new version of the Developer Guide for AFS .

Thank´s for your help
Reply With Quote
  #4  
Old 3rd May 2004, 02:57
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
Maybe..

I am sure Baan could provide the most current guide. I have not seen a new one in a while.

Mark
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
Problem with subsessions in tfgld1101m000 zamarlab AFS/DDC/OLE: Function servers 3 23rd January 2004 17:39
AFS and tfgld1101m000, tfacp1110s000 saso.its AFS/DDC/OLE: Function servers 3 23rd January 2004 14:08
AFS (tfgld1101m000) don´t run fine since a user with a Dynamic menu (DEM) garias AFS/DDC/OLE: Function servers 4 20th January 2004 15:24
Requir help in AFS - tfgld1101m000 learner AFS/DDC/OLE: Function servers 4 3rd January 2004 09:36
India Localization problem while making afs of Purchase Order crdeshpande AFS/DDC/OLE: Function servers 6 26th November 2003 11:25


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


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