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
37%
Installation Wizard into new VRC
37%
Manual into existing VRC
5%
Manual into new VRC
21%
Total votes: 43

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 25th April 2018, 15:26
VishalMistry's Avatar
VishalMistry VishalMistry is offline
Guru
 
Join Date: Dec 2004
Location: India, Gujarat
Posts: 590
VishalMistry has a little shameless behaviour in the past
Baan: Baan IV, ERPLn - DB: SQL Server 2000 / 2008 - OS: Windows Server 2003 / 2008
Wink Message in status bar
Baan: Baan IVc4
C/S: Both

Hello Everyone,

NOTE: This is regarding Baan IV.

Is there any way to display message in the status bar? I came across a function status.mess that displays message in the status bar, but, it displays the message in the second short section of status bar (second portion blue marked).

Screen shot is attached for reference.

Is there any way to display the message in status bar (red marked).

Vishal
Attached Images
File Type: jpg status bar message.jpg (56.6 KB, 16 views)
Reply With Quote
  #2  
Old 25th April 2018, 16:21
vahdani's Avatar
vahdani vahdani is offline
Guru
 
Join Date: Aug 2002
Location: Cologne, Germany
Posts: 436
vahdani is on a distinguished road
Baan: all - DB: all - OS: Unix / Win2K
Hi Vishal,

the function mess() with second Parameter "separate window" set to 0 is I think the function you are looking for!
__________________
May the force be with you!
Reply With Quote
Sponsored Links
  #3  
Old 25th April 2018, 16:46
VishalMistry's Avatar
VishalMistry VishalMistry is offline
Guru
 
Join Date: Dec 2004
Location: India, Gujarat
Posts: 590
VishalMistry has a little shameless behaviour in the past
Baan: Baan IV, ERPLn - DB: SQL Server 2000 / 2008 - OS: Windows Server 2003 / 2008
Wink

Thanks Vahdani,

I got the function, but the issue is, when I simulate clicking on Report Complete button by calling stpapi.continue.process, I display the message in the status bar "Completion in progress".

But, when I execute stpapi.update("tisfc0202m000",1,msg) and display another message indicating "Order completed", the message appears momentarily, and it disappears, making the status bar empty.

Is there any clue why this is happening? Following is the given code snippet:

long retval
if order.found then
check.all.input()
post.to.inventory = ask.enum("tisfc02029",tcyesno.yes)
stpapi.enum.answer("tisfc0202m000", "tisfc02029", post.to.inventory) |Ask user if he wants to post to inventory the delivered quantity

mess("tisfc01021",0)
stpapi.put.field("tisfc0202m000", "qdlv.frm", str$(qdlv.frm))
stpapi.put.field( "tisfc0202m000", "comp.frm", str$(comp.frm))
stpapi.continue.process("tisfc0202m000",msg)
if not isspace(msg) then
message(msg)
stpapi.recover("tisfc0202m0000",msg)
else
retval = stpapi.update("tisfc0202m000",1,msg)

endif

mess("tisfcs0027",0)
stpapi.end.session("tisfc0202m000")
endif

Vishal
Reply With Quote
  #4  
Old 14th May 2018, 15:28
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,352
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
Because, from what I see, you are ending that particular instance of the session and hence the message disappears with that.
__________________
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
Programming Question mr_suleyman Tools Development 37 11th November 2016 08:14
Display Name In Status Bar vinay sharma Blogs and Web links 0 12th November 2010 12:22
Shortcut in status bar justone Tools Development 4 22nd September 2003 14:45
Running a Baan script from UNIX command line; ba6.1 runtime options chadwickh Tools Development 18 25th September 2002 22:48
Finalizing Batch and error message "Document Status record not found" kamran Finance, Invoicing and Integration 1 4th February 2002 11:58


All times are GMT +2. The time now is 01:34.


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