Baanboard.com

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

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 25th July 2013, 12:35
rahul_mittal23's Avatar
rahul_mittal23 rahul_mittal23 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 16
rahul_mittal23 is on a distinguished road
Baan: BAAN IVc4, Baan Ln FP2 - DB: ORACLE 10G - OS: WINDOWS 2003
AFS for session tfcmg4120m000

Please advise , as my code is not working.... its giving me message "Payment/Receipt not allowed... though i am passing the value for the same.

Code:
date = date.num()	
	bank = "B43"
	paym = "RCH"
	comp = get.compnr()
	stpapi.put.field("tfcmg4120m000", "tfcmg401.btno",str$(69565))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.cuno",str$(tdinc011.cuno))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.comp",str$(tdinc011.comp))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.tadv",str$(3))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.ttyp",str$(tdinc011.ttyp))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.ninv",str$(tdinc011.invn))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.srno",str$(0))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.amnt",str$(tdinc011.chea))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.lapa",str$(0))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.disa",str$(0))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.pdam",str$(0))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.plan",str$(date))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.refr",str$(tdinc011.cheq))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.paym",str$(paym))
	stpapi.put.field("tfcmg4120m000", "tfcmg401.bank",str$(bank))
	stpapi.insert("tfcmg4120m000",true,error.msg)
	if isspace(error.msg) then
		stpapi.end.session("tfcmg4120m000")
	else
		message("%s",error.msg)
		stpapi.recover("tfcmg4120m000",error.msg)
		stpapi.end.session("tfcmg4120m000")
		return
	endif
Reply With Quote
Sponsored Links
  #2  
Old 25th July 2013, 12:39
rahul_mittal23's Avatar
rahul_mittal23 rahul_mittal23 is offline
Junior Member
 
Join Date: Dec 2006
Posts: 16
rahul_mittal23 is on a distinguished road
Baan: BAAN IVc4, Baan Ln FP2 - DB: ORACLE 10G - OS: WINDOWS 2003
Its Baan IVc4..
Reply With Quote
  #3  
Old 7th August 2013, 09:11
Tom de Valk Tom de Valk is offline
Junior Member
 
Join Date: Apr 2008
Posts: 24
Tom de Valk is on a distinguished road
Baan: LN - DB: Oracle - OS: Windows
What is the exact error message? Do you have an (error) message code?

Maybe the Receipt Method 'RCH' does not exist in the financial company you are working in?
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 waiting timed out (frozen) jp.aalders AFS/DDC/OLE: Function servers 4 20th December 2011 20:48
AFS for tfacr4410m000 and Credit Notes Neal Matthews AFS/DDC/OLE: Function servers 7 12th April 2011 20:48
Steps to create AFS indian_sumesh AFS/DDC/OLE: Function servers 1 6th November 2008 17:32
Update field value i.e. not a form field through AFS! Ankita AFS/DDC/OLE: Function servers 12 18th May 2008 03:06
AFS - Print Order Documents BurghMan AFS/DDC/OLE: Function servers 5 29th October 2004 21:07


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


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