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
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 18th February 2009, 04:42
baanspider baanspider is offline
Member
 
Join Date: Jul 2007
Posts: 69
baanspider is on a distinguished road
Baan: Baan LN - DB: Oracle - OS: HP UNIX
DAL 2 for purchase order line

Hi experts

The following is my program to create PO line with DAL2, but I am getting this error "The Item field has an invalid value in Purchase Order Lines"

Can anyone advise what is wrong with my program. The item.v is a valid purchase item. eg. " QDOS-PUR01"

Is there any compulsory fields which i missed out

thanks nregards

dal.new.object("tdpur401")
dal.set.field("tdpur401.orno", orno.v)
dal.set.field("tdpur401.item", item.v)
dal.set.field("tdpur401.qoor", qoor.v)
dal.set.field("tdpur401.cuqp", "pcs")
dal.set.field("tdpur401.cwar", "011")
dal.set.field("tdpur401.otbp", "SUP000023")
dal.set.field("tdpur401.odat", str$(ddat.v))
dal.set.field("tdpur401.pric", 90.50)
dal.set.field("tdpur401.oamt", round(qoor.v * 90.50,4,1))
dal.set.field("tdpur401.porg",tdgen.porg.manual)
Reply With Quote
Sponsored Links
  #2  
Old 26th February 2009, 07:15
NirajKakodkar's Avatar
NirajKakodkar NirajKakodkar is offline
Guru
 
Join Date: May 2006
Location: Finland
Posts: 339
NirajKakodkar is on a distinguished road
Baan: BAAN4C4 , BAAN 5c , LN - DB: MS SQL SERVER, ORACLE, Informix, HP Unix, AIX - OS: Windows, UNIX
Is the domain for item.v is tcitem or is string , I guess its segment issue .
__________________

Niraj N. S. Kakodkar |Linkedin
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
Programming Question mr_suleyman Tools Development 37 11th November 2016 08:14
Sales Order Line Deletion learner Distribution, Transportation & Warehousing 2 1st May 2007 21:42
Report with output with more than 255 char. Jaap Roos Tools Development 5 9th February 2007 21:37
Pricing methods en@frrom Tools Development 7 20th November 2003 12:33
Adding a line to a Sales Order. wricks Tools Development 8 7th February 2003 03:44


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


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