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 4th April 2017, 17:12
sikima's Avatar
sikima sikima is offline
Junior Member
 
Join Date: Oct 2002
Location: Toronto
Posts: 26
sikima is on a distinguished road
Baan: 1.0 - LN - DB: Oracle, SQL Server - OS: Unix, Windows
add field to external BOD
Baan: Other/Unknown
C/S: None/Unknown

Hello All,

I have added successfully some fields related to PO header fields in external BOD but I am not sure how to do it for PO line
Trying to use function 'getTableIdentifiers.PurchaseOrderBOD(header.xml)

and retrieve value with
pono = getIdentifierValuefromIdentifierStructure(header.xml, "tdpur401", "pono)

If I try with field 'orno' it is working but if I try with 'pono' I get error.

Is any quick help/sample for it ?

A.
Reply With Quote
  #2  
Old 5th April 2017, 09:06
ARijke ARijke is offline
Guru
 
Join Date: Sep 2005
Posts: 455
ARijke is on a distinguished road
Baan: Baan IV upto LN - DB: -- - OS: --
Hi, Can you give some more background? you say external BOD, do you mean a BOD that is send to LN?
Which script are you modifying? Are you using the 'cc' script or even the extension modeler?
Adriaan
Reply With Quote
  #3  
Old 7th April 2017, 11:24
JaapJD's Avatar
JaapJD JaapJD is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 729
JaapJD will become famous soon enoughJaapJD will become famous soon enough
Baan: BaanIV, BaanERP, ERP LN 6.1 - DB: Oracle, SQL Server - OS: Unix, Windows
Code should be like this (and on purchase order line level):
Code:
        long          ret, line.xml
        string        pono$(10)

        ret = getTableIdentifiers.PurchaseOrderLine(line.xml)
        pono$ = getIdentifierValueFromIdentifierStructure(line.xml, "tdpur401", "pono")
        addValue("LINE", pono$, "Integer")
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
Add field to multioccurence session ConradMollink Tools Development 0 31st August 2009 16:43
How to add new Field in Customized Grid..?? nishant Tools Administration & Installation 1 25th November 2008 17:08
I have problem to add a new field to a standard baan form and maintain prog script Nad2006 Tools Development 7 29th October 2007 06:23
Add a new field jaybuffer88 Tools Development 5 4th April 2007 08:18
How to add up several field inside one report ROLAND Tools Development 2 23rd November 2004 06:10


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


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