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

User login

Frontpage Sponsor


Google search

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

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 4th April 2017, 16: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 ?

Reply With Quote
Old 5th April 2017, 08:06
ARijke ARijke is offline
Join Date: Sep 2005
Posts: 469
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?
Reply With Quote
Old 7th April 2017, 10:24
JaapJD's Avatar
JaapJD JaapJD is offline
Join Date: Sep 2002
Location: Netherlands
Posts: 788
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):
        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

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 15:43
How to add new Field in Customized Grid..?? nishant Tools Administration & Installation 1 25th November 2008 16: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 05:23
Add a new field jaybuffer88 Tools Development 5 4th April 2007 07:18
How to add up several field inside one report ROLAND Tools Development 2 23rd November 2004 05:10

All times are GMT +2. The time now is 12:41.

©2001-2018 - -