Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > Code & Utilities

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
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #16  
Old 25th February 2002, 09:35
klixy23's Avatar
klixy23 klixy23 is offline
Senior Member
 
Join Date: Feb 2002
Location: Germany
Posts: 116
klixy23 is on a distinguished road
Baan: BaaN IVc4 - DB: Informix - OS: Windows Sever 2003
Hi ~Vamsi, toolswizard

Thanks for reply.

We work with BaaN IV c4. I attach the output file of program "rush".
It is the original output without any changes.
I insert following lines:


extern domain tcmcs.str80 txt_str(1)
...
field.txt_str:
before.display:
text.to.buf("tisfc001.txta", "3", 1, txt_str)


I copy the form to the current VRC and add the field txt_str as the last field.

klixy
Reply With Quote
  #17  
Old 25th February 2002, 09:38
klixy23's Avatar
klixy23 klixy23 is offline
Senior Member
 
Join Date: Feb 2002
Location: Germany
Posts: 116
klixy23 is on a distinguished road
Baan: BaaN IVc4 - DB: Informix - OS: Windows Sever 2003
Oooops, here is the file:

klixy
Attached Files
File Type: cln sfc0202.cln (13.5 KB, 319 views)
Reply With Quote
  #18  
Old 27th February 2002, 21:15
toolswizard toolswizard is offline
Senior Member
 
Join Date: Aug 2001
Location: USA
Posts: 292
toolswizard is on a distinguished road
Baan: 4c4, 50b, 50c, ERP ln - DB: Informix, Oracle, Sql - OS: Unix, NT, AIX
I have not tested this out myself, but I do have an idea. The field you are talking about is a form field and not part of the table. In the original code it is declared as external, form fields have to be declared as external to be used in the code. It may not be getting passed through the new program from the form to the old program. Declare the form field in the new program as external and see if that helps. Please give us feed back to it is part of this post.
Reply With Quote
  #19  
Old 4th March 2002, 11:25
klixy23's Avatar
klixy23 klixy23 is offline
Senior Member
 
Join Date: Feb 2002
Location: Germany
Posts: 116
klixy23 is on a distinguished road
Baan: BaaN IVc4 - DB: Informix - OS: Windows Sever 2003
Toolswizard, thanks for your idea.
I tested the following:
extern domain tcdate cmdt.frm
extern domain tcyesno comp.frm
I think, these are the original form variables and get part with my problem. But the result is the same.
Is it possible that the functions check.input.cmdt.frm() or check.input.comp.frm() are the reason for fail?
Reply With Quote
  #20  
Old 4th March 2002, 20:42
toolswizard toolswizard is offline
Senior Member
 
Join Date: Aug 2001
Location: USA
Posts: 292
toolswizard is on a distinguished road
Baan: 4c4, 50b, 50c, ERP ln - DB: Informix, Oracle, Sql - OS: Unix, NT, AIX
I looked at several versions of the source and found that if comp.frm is tcyesno.yes then cmdt.ftm is set to todays date. If comp.frm is tcyesno.no then the cmdt.ftm is set to 0. I would try the test again maing sure that the comp.frm is set the same for both tests.
Reply With Quote
  #21  
Old 6th March 2002, 20:24
EDIguru EDIguru is offline
Newbie
 
Join Date: Jan 2002
Posts: 2
EDIguru is on a distinguished road
Question Has anyone tried tools sessions ??

Hi,

This is great !! I find this extremely useful. Works perfectly. The only question i have is - has anyone tried this and extended the functionality for any tools sessions ?? I have a requirement where i need to do this but i am having difficulties copying the forms and sessions form the actual tools VRCs to the development packages and VRCs. Any suggestions / comments will be greatly appreciated !!

Regards

EDIguru.

|*********************|
|* Been There, Done That *|
|*********************|
Reply With Quote
  #22  
Old 9th March 2002, 21:14
KlayVessel KlayVessel is offline
Member
 
Join Date: Aug 2001
Location: Atlanta, Georgia
Posts: 30
KlayVessel is on a distinguished road
Baan: 3b2, 4(b-c4), 5c - DB: Oracle 7, Oracle 8, MS-SQL, Informix - OS: HP-UX, AIX, Tru64, Sun, NT, Linux
Re: Has anyone tried tools sessions ??

Quote:
Originally posted by EDIguru
The only question i have is - has anyone tried this and extended the functionality for any tools sessions ?? I have a requirement where i need to do this but i am having difficulties copying the forms and sessions form the actual tools VRCs to the development packages and VRCs.
You won't be able to copy the components for development because Baan does not authorize access to the standard VRC and, even more rarely, the tt package. In addition, this package is not part of your package combination so when your development pacc was created, there was no dev VRC created for the tt package (if you used "one step")....manually you cannot create a tools VRC either (no security rights). You can manually compile and install your code (I've experimented with the idea myself), but I would not recommend this as Baan may say that you have voided your support with them. They do not, in any way, support a customer (or consultant) changing anything in the tt package.
__________________
Kevin Brock, OCP, MCSE / Senior Technical Consultant
Fullscope (formerly RedKlay, formerly QCI)
(Web & Baan Consultants)
Reply With Quote
  #23  
Old 10th March 2002, 08:18
EDIguru EDIguru is offline
Newbie
 
Join Date: Jan 2002
Posts: 2
EDIguru is on a distinguished road
Re: Has anyone tried tools sessions ??

Thanks for your reply Kevin.

I am fully aware of the facts you have outlined in your response. What i was referring to was, has anyone tried copying the tools forms, reports, sessions, scripts to any other package in any other VRC or maybe even at the file level / UNIX level and played around with them and tried to mimic the functionality. I was trying some stuff the other day, but was runnign into issues and did not want to invest too much time / reinvent the wheel in case someone has already done it successfully.

Regards

EDIGuru

|*************************************************|
|Engineering is fun, but Reverse Engineering is even more fun |
|*************************************************|
Reply With Quote
  #24  
Old 20th March 2003, 15:47
vladimir vladimir is offline
Junior Member
 
Join Date: Feb 2002
Posts: 5
vladimir is on a distinguished road
Baan: 4c4 - DB: Oracle - OS: Sun Solaris
Yet another wrapper generator

Hello.

Thanks MohanaVamsi Potluru for idea.
Thanks Mark Holland for Sample Qkey script.
Code:
#!/usr/local/bin/perl
use strict;

my $OBJ = shift @ARGV;

my $BIC_INFO = "bic_info6.1 -e ";

#==============================================================================
print q{
|******************************************************************************

declaration:

    long    _p_dll_id
    long    _p_func_id
    long    _p_err

    #define _p_exe0(a)   _p_err = exec_function(_p_dll_id, a)
    #define _p_exe1(a)
^       _p_func_id = get_function(_p_dll_id, a)
^       _p_err     = exec_function(_p_dll_id, _p_func_id)
    #define _p_exe2(a)
^       _p_func_id = get_function(_p_dll_id, a)
^       _p_err     = exec_function(_p_dll_id, _p_func_id, ret_val)


|****************************** PROGRAM     SECTION ***************************

before.program:
    _p_dll_id = load_dll("} . $OBJ . q{",0)
    if (_p_dll_id <= 0) then
        message("Unable to load parent object dll!")
        stop()
    endif
    _p_exe1("before.program")
|******************************************************************************


} ;

#==============================================================================

my @IGNORE_FUNCTIONS = (
    'long\s+g_check_input_funcs',
    'long\s+library_has_maintable',
    'before.program'
    );

sub get_object_functions {
    local *BI;
    my @f;
1. Run
perl gen_wrap.pl baan_object >new_object.bc
2. Create new empty baan script (ttadv2131m000) then paste code from new_object.bc
3. Change Program Script for original session to new_object
Attached Files
File Type: zip gen_wrap.zip (2.9 KB, 202 views)
Reply With Quote
  #25  
Old 9th April 2003, 15:12
baanfan baanfan is offline
Member
 
Join Date: Mar 2002
Posts: 37
baanfan is on a distinguished road
Baan: B4c4 - DB: oracle8.05 - OS: Win NT
Is it Safe

Hello All,
Can we say that we can use this script for almost all the
types of sessions.Is it possible that sum sections of the baan
session wont get executed by using this method.cuz i have
a reqt of putting sum field level checks on standard sessions like
Mntn. production orders and wud like to know if it is safe to
implement it.
Thank You
Reply With Quote
  #26  
Old 10th April 2003, 03:43
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 593
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Baanfan,

I do not know how many people are using this solution. I do not. It was a fun project to code.

If you need assurance then should look to www.redklay.com or www.rmcis.com as they both have similar products with support.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Sponsored Links
  #27  
Old 10th April 2003, 08:17
klixy23's Avatar
klixy23 klixy23 is offline
Senior Member
 
Join Date: Feb 2002
Location: Germany
Posts: 116
klixy23 is on a distinguished road
Baan: BaaN IVc4 - DB: Informix - OS: Windows Sever 2003
Re: Is it Safe

We use the solution with "rushdll" in session tisfc0202m000. I had some trouble with the form field "cmdt.frm". See my earlier posts in this thread.

Have a nice day.
Reply With Quote
  #28  
Old 10th April 2003, 10:03
vladimir vladimir is offline
Junior Member
 
Join Date: Feb 2002
Posts: 5
vladimir is on a distinguished road
Baan: 4c4 - DB: Oracle - OS: Sun Solaris
Klixy,

The problem may be in function g_check_input_funcs which is generated by std_gen for all subsections of check.input.
Try to run attached script generated by gen_wrap.pl

Regards.
Reply With Quote
  #29  
Old 10th April 2003, 11:01
vladimir vladimir is offline
Junior Member
 
Join Date: Feb 2002
Posts: 5
vladimir is on a distinguished road
Baan: 4c4 - DB: Oracle - OS: Sun Solaris
Script
Attached Files
File Type: cln sfc0202.cln (5.0 KB, 199 views)
Reply With Quote
  #30  
Old 10th April 2003, 18:07
~Vamsi's Avatar
~Vamsi ~Vamsi is offline
Guru
 
Join Date: Aug 2001
Location: San Diego CA, USA
Posts: 593
~Vamsi will become famous soon enough
Baan: ~*~ - DB: ~*~ - OS: ~*~
Vladimir,

All I can say is 'duh'. People have consistently reported problems of check.input not firing and I had not a clue. Thanks for running with the idea and fixing the problems.

Thanks for rewriting the code in Perl. Sigh! So many languages to learn and so little time.

This is the kind of improvements that we envisaged when we started the Code and Utilities forum. It was to have been a forum for people to share ideas and collaboratively develop solutions that the populace would be interested in. So far it has been a forum for one person writes and everyone downloads :). Glad things are changing for the better.
__________________
~Vamsi
Vamsi Potluru
Baan XL Yet another tool to format Baan output in Excel from Baan Board
This one just happens to be free :)

Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help text code (Baan 5) spartacus Tools Development 0 1st April 2003 11:27
NEW: vbcode CODE extensions patvdv About Baanboard.com 3 13th March 2003 11:19
Baan World Users conference in Orlando chadwickh General Discussion & Chat 7 3rd November 2001 21:55
Availability of Web-Based DEM (Baan Press Release) Pierre B. General Discussion & Chat 0 5th September 2001 05:59
BSP-US (LLC) added as a Baan Education Alliance svandenh General Discussion & Chat 1 20th August 2001 19:44


All times are GMT +2. The time now is 21:31.


©2001-2018 - Baanboard.com - Baanforums.com