Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

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 27th June 2016, 13:22
IndoTech's Avatar
IndoTech IndoTech is offline
Member
 
Join Date: Jul 2005
Posts: 72
IndoTech is on a distinguished road
Baan: Baan IV, Infor LN 10.4 - DB: SQL-Server2000, Oracle, Informix - OS: Windows NT, Unix
updating CDF fields using dal.set.field
Baan: Infor10 ERP
C/S: Client

Hi

can't we update CDF fields like below?
dal.set.field("tdsls401.cdf_pcd1", vlsls401.pcd1)

am getting error or ret value for ret = dal.save.object("tdsls401")
= -12. what it means?

code :
ret1 = dal.get.object("tdsls401",TRUE,"tdsls401.orno",vlsls401.orno, "tdsls401.pono",vlsls401.pono)

dal.change.object("tdsls401")
dal.set.field("tdsls401.cdf_pcd1", vlsls401.pcd1)
dal.set.field("tdsls401.cdf_pcd2", vlsls401.pcd2)

ret = dal.save.object("tdsls401")

Regards
Keadr
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2016, 17:56
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,320
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Hi,

What error message do you get with -

Code:
string err(1000)
dal.get.error.message(err)

What kind of CDF is it? Is the value according to the data type?
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
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
Updating fields in other tables when save is performed marine Tools Development 2 20th May 2004 07:35
Exchange - Only need to import date for a couple of table fields pjohns Tools Development 7 27th June 2003 10:06
ottstpapihand - not updating all the fields gous99 Tools Development 7 18th April 2002 15:14


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


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