Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Distribution, Transportation & Warehousing

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
19%
200 - 500 GB
13%
500 - 800 GB
6%
800 - 1200 GB
6%
1200 - 1500 GB
13%
1500 - 2000 GB
19%
> 2000 GB
25%
Total votes: 16

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 16th December 2017, 13:58
BeznaWarrior BeznaWarrior is offline
Junior Member
 
Join Date: Apr 2009
Posts: 7
BeznaWarrior is on a distinguished road
Baan: IV, V, ErpLN - DB: SQL - OS: WINxp
AFS hangs in in UI but for client works
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)

Hello guys,

I know that afs is not supported in UI but I haven't encounter any problems untill now. The problem is that my afs program runs smoothly in client but hangs forever and ever in web browser. The session that I run via APi is standard cisli2405m000 Reprint invoice or something.
The code is
Code:
	stpapi.put.field("cisli2405m000", "f.sls.inv.company", str$(sfcp)) 
	stpapi.put.field("cisli2405m000", "f.reprint.option",  str$(etol(cisli.rprn.by.invoice))) 	
	stpapi.put.field("cisli2405m000", "prnt.lang",  str$(etol(cisli.lang.bpct))) 
	
	
	stpapi.put.field("cisli2405m000", "f.fin.company.f", str$(sfcp)) 
	stpapi.put.field("cisli2405m000", "f.fin.company.t", str$(sfcp)) 
	
	stpapi.put.field("cisli2405m000", "f.trans.type.f", tdsls406.ttyp) 
	stpapi.put.field("cisli2405m000", "f.trans.type.t", tdsls406.ttyp) 
	stpapi.put.field("cisli2405m000", "f.document.f", str$(tdsls406.invn))
	stpapi.put.field("cisli2405m000", "f.document.t", str$(tdsls406.invn))
	stpapi.put.field("cisli2405m000", "date.t", str$(utc.num()))
	stpapi.put.field("cisli2405m000", "f.print.device", device)
	stpapi.put.field("cisli2405m000", "f.excp.device", device)
|	stpapi.set.report("cisli2405m000", "rcisli12002300", "T", error.msg) 

	device = "ASCIT         "
	stpapi.set.report("cisli2405m000", "rcisli12001100", device, error.msg) 
	if isspace(error.msg) then         
		suspend(5000)
		message("Ii dau play")
		stpapi.form.command("cisli2405m000",5, "exec.cont.process", error.msg)   
		message("I-am dat continua")
		suspend(5000)
	endif 
	stpapi.end.session("cisli2405m000")
	
	if tc.is.html.ui()	then										|HTMLUI.sn
		copy_to_local = client.prepare.download()						|20171216.o
		retx = client.add.download.file(copy_to_local, bse.tmp.dir$() & file.name)		|20171216.o	
		retx = client.start.download(copy_to_local)						|20171216.o
	endif
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 hangs on second iteration of update VishalMistry AFS/DDC/OLE: Function servers 3 11th October 2017 17:31
tdpur1508s000 hangs on AFS thieuf AFS/DDC/OLE: Function servers 1 19th January 2012 09:54
Session tfacr3440m000 works fine in one company and hangs in other scpcooin Tools Administration & Installation 2 23rd July 2005 15:25
AFS hangs in stpapi.put.field garias AFS/DDC/OLE: Function servers 1 30th January 2005 22:13
Calling subsession from subsession in AFS hangs fmorais AFS/DDC/OLE: Function servers 2 10th February 2003 22:36


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


©2001-2018 - Baanboard.com - Baanforums.com