Baanboard.com

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

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

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 19th March 2018, 17:53
mvanta mvanta is offline
Member
 
Join Date: May 2004
Location: Athens HELLAS
Posts: 39
mvanta is on a distinguished road
Baan: LN 10.5 - DB: SQL 2014 - OS: Windows 2012
Need to find Session code
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)
C/S: Client

Hello all.
I am in session tdpur4100m00 and I copy an order using tdpur4201s000.
I am writing an extension and I need to have the session code of tdpur4201s000.
I am using

string sessname(15)
import("prog.name$", sessname)

but this is giving me the parent session tdpur4100m00 although I am doing a copy order using session tdpur4201s000.

Please help me.
Maria
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2018, 10:28
JaapJD's Avatar
JaapJD JaapJD is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 755
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
Use get.var(pid, "prog.name$", sessname). The import macro retrieves values from the parent process. pid is the current process.
Reply With Quote
  #3  
Old 20th March 2018, 12:06
mvanta mvanta is offline
Member
 
Join Date: May 2004
Location: Athens HELLAS
Posts: 39
mvanta is on a distinguished road
Baan: LN 10.5 - DB: SQL 2014 - OS: Windows 2012
Worked!!

Thank you very much!!
You are great!!
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
hide session code priyanka pawar Tools Development 8 13th May 2013 06:57
form code not allowed when copying a session alexpreyer Tools Administration & Installation 3 1st March 2007 10:25
Need to find PC file from Baan session sconway Tools Development 3 9th June 2005 16:01
Payment of blocked supplier pmahto Finance, Invoicing and Integration 1 11th September 2003 20:36
tfacp9450m000 FIBU Brush Up Kai's Forum Users Deutsches Forum 1 16th November 1999 00:00


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


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