User login
|
|
|
Frontpage Sponsor
|
|
|
Poll
|
Would you like to see a separate forum on Baanboard for the ION product? No 14% Yes 86% Total votes: 80 |
Baanboard at LinkedIn
|

|
|
|
 |
|

7th May 2004, 14:53
|
|
Member
|
|
Join Date: Feb 2002
Location: Dayton, OH, USA
Posts: 32
|
|
|
Baan: Baan IV c4 SP 14 -
DB: Informix, Oracle -
OS: HP-UX
|
|
Yup!
You are right Mark! "pre-select" is the idea...
Punitha
|

7th May 2004, 22:47
|
|
Member
|
|
Join Date: Feb 2002
Location: Dayton, OH, USA
Posts: 32
|
|
|
Baan: Baan IV c4 SP 14 -
DB: Informix, Oracle -
OS: HP-UX
|
|
Pls. see attached file
I have attached here, my modifications to the template generated by "RUSH".
I have highlighted in "YELLOW" on my modifications.
Thanks everybody,
Punitha
|

13th July 2004, 11:16
|
 |
Guru
|
|
Join Date: Apr 2004
Location: Switzerland
Posts: 341
|
|
|
Baan: Baan Vc -
DB: SQL Sever 7.0 -
OS: Windows 2000
|
|
hi all,
All discussion looks great and really worthwile. One thing that is confusing for me. The library (4GL Programm) generated by the RUSH, how I use it? I mean where that library (4GL Program) will be add/use, with the actual session or where ? for example I want to extended the functionaliy of a print session (cisli2405m000). Can I add the generated library (4GL program) to a device script to load the print session in the bakgroud and print the report?
Thanks in advance
Mahmood
|

20th July 2004, 09:29
|
 |
Senior Member
|
|
Join Date: Dec 2001
Location: Madrid - Spain
Posts: 126
|
|
|
Baan: BaanIV -
DB: All -
OS: All
|
|
I never have tested it but this maybe another solution.
bic_cstub6.1 [-s] [-a] -d <library> -o <object>
this function converts a baan dll ( I suppose and program script too ) in a c source. Of this way ( if this works like help says ) let you have the source of all object of baan and changes their funcionality.
Anybody have tested something about?
|

27th July 2004, 13:02
|
|
Member
|
|
Join Date: Mar 2003
Posts: 74
|
|
|
Baan: Baan 4c4 -
DB: Informix -
OS: AIX
|
|
check input
Hi All!
Could you describe all problems and solutions with check.input functions and g_check_input_funcs?
I saw the one (but there are several):
The original script:
Code:
declaration:
extern domain tcdsca one,two
long error
before.program:
error=true
choice.cont.process:
before.choice:
check.all.input()
on.choice:
message("Are you here? How could you manage this?")
after.choice:
error=true
field.two:
check.input:
error=false
field.one:
check.input:
if error then
message("Something wrong")
set.input.error("")
endif
In this case you'll see the questions
The Rush script (only part!)
Code:
before.program:
parent.object.function.id = get_function(parent.object.dll.id,"before.program")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function)
field.one:
check.input:
parent.object.function.id = get_function(parent.object.dll.id,"check.input.one")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function)
field.two:
check.input:
parent.object.function.id = get_function(parent.object.dll.id,"check.input.two")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function)
choice.cont.process:
before.choice:
parent.object.function.id = get_function(parent.object.dll.id,"before.choice.cont.process")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function)
on.choice:
parent.object.function.id = get_function(parent.object.dll.id,"on.choice.cont.process")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function)
after.choice:
parent.object.function.id = get_function(parent.object.dll.id,"after.choice.cont.process")
parent.object.error = exec_function(parent.object.dll.id, parent.object.function)
In this case you'll see the message "Something wrong"
The sample is simple, but the idea was, can i recognize the check.input's order?
Maybe I did some mistakes, sorry
Last edited by ~Vamsi : 27th July 2004 at 17:46.
|

27th July 2004, 17:34
|
 |
Guru
|
|
Join Date: Dec 2001
Location: Lisle, IL, USA
Posts: 1,146
|
|
|
Baan: 2.2d - LN -
DB: most -
OS: most
|
|
I may be missing something too, but I think this would depend on the Form Field Order. If the field 'one' is first on the field order, it would generate this message. If it is after the field 'two', it should not.
Did not test this though, is that true? If not, maybe you can trace the calls and see when that variable is set to false.
|

28th July 2004, 06:55
|
|
Member
|
|
Join Date: Mar 2003
Posts: 74
|
|
|
Baan: Baan 4c4 -
DB: Informix -
OS: AIX
|
|
Hi Lisa!
The Field order is not responsible for check.input order while check.all.input works
I think the order of sections check.input in the program is responsible (if I change the order of the sections in the last sample and the result will be the same as the first).
The function g_check_input_funcs has this order, and this function is used
where check.all.input happens
Ok, I can manage the order of check.input sections
but how can I be sure that the order is true (the same as the original)?
Of course, i can follow the field order, but if the originator did not followed this way?
I met this problem with tdilc1122 program. I' ve done the rush script with the alphabet order and has an unexpected result. Restoring section in the field order I have it Ok. I (Everybody?) need the universal remedy
Thank you
|

10th August 2004, 17:29
|
|
Unconfirmed User
|
|
Join Date: Aug 2004
Posts: 1
|
|
|
Baan: baan 5 -
DB: oracle -
OS: unix
|
|
did any one try extending a DAL using rush dll
did any one try extending a DAL using rush dll
|

28th August 2004, 08:43
|
|
Senior Member
|
|
Join Date: Dec 2003
Posts: 145
|
|
|
Baan: Baan 4 -
DB: Oracle -
OS: Windows NT
|
Hi All,
I am on BaanIVc4 - SP15.
I tried to use RUSH with Sales Orders and Display Customers List.
In both the cases, I could successfully generate the script. But on compiling the generated script, I am facing these compilation errors:
Quote:
ptccom1510010( 56): Error: Function 'before.program' already declared.
ptccom1510010( 65): Error: Missing RETURN(..) in function 'g_check_input_funcs'
ptccom1510010( 77): Error: Missing RETURN(..) in function 'library_has_maintable'
ptccom1510010( 89): Error: Missing RETURN(..) in function 'tcedi0052.get.next.btno'
ptccom151001g( 116): Error: Function 'library_has_maintable' already declared.
ptccom151001g( 121): Error: Inconsistent number of args function 'g_check_input_funcs' line ptccom1510010(61)
ptccom151001g( 122): Error: Function 'g_check_input_funcs' already declared.
ptccom151001g( 123): Error: 'count' not declared
|
I have commented a few functions before.program(), g_check_input_funcs(), library_has_maintable(), tcedi0052.get.next.btno and g_check_input_funcs and it went through.
Does it have a fix or shall I continue to comment the script ?
On problem I forsee in commenting is the before.program of the parent would not be executed.
Regadrs
Sriks
PS: Attached is the script generated by RUSH
|

6th March 2007, 09:35
|
 |
Member
|
|
Join Date: May 2006
Posts: 61
|
|
|
Baan: baan4c4 -
DB: oracle, sql server -
OS: NT, unix
|
|
Hi...
I tried using the extended code, I create a dll - tccomdllrushwith rushdll.bc
and 3gl program script tccomrush3gl,compiled, create run time dd.
Now when i try to run that 3gl through Run Program / Session in menu browser, message : cannot start session appears.
Please help me out.
__________________
:)
|

7th March 2007, 17:14
|
 |
Guru
|
|
Join Date: Sep 2001
Location: Louisville, KY, USA
Posts: 5,940
|
|
|
Baan: Baan 4C4 A&D1 -
DB: Oracle -
OS: Sun Solaris
|
|
The session script should still be a 4gl script - so I am not sure what you are referring to.
__________________
Mark
GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
|

26th March 2007, 11:02
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 26
|
|
|
Baan: BAAN IV -
DB: Informix -
OS: UNIX
|
|
Highly useful utility .Excellent work buddy .
I was confused when first time I saw your scripts .I had to think really deep to understand what you did .I now realise when we compile 4gl script .It is compiled into 3gl .In 3gl object our session choices and field sections are stored as functions .Great work .
I also wanted to inform you that I got an error "array index out of bound" while creating decompiled script of tdsls4101m000 .
|

12th April 2007, 14:58
|
|
Member
|
|
Join Date: Oct 2006
Posts: 96
|
|
|
Baan: Baan IV, V, LN6 -
DB: sql -
OS: Windows XP
|
bic_info on NT - LN
This part of code did not work for me :(. I am trying it on LN and my server is on NT.
Code:
temp.file = creat.tmp.file$(bse.tmp.dir$())
options = "-e " & strip$(directory) & " -qo " & temp.file
ret = run.baan.prog("bic_info", options, RP_WAIT)
|hopefully the above works on NT!
run.baan.prog returns 1 (ret=1)
I have read some threads and understood that you have to be physically on the NT server. Is there a solution for this problem?
Any ideas?
- David
|

24th April 2007, 10:55
|
 |
Guru
|
|
Join Date: May 2004
Location: Nazareth
Posts: 1,432
|
|
|
Baan: IVc, 5.0 b, 5.0 c, LN 6.1 -
DB: MS SQL, Oracle -
OS: Windows 2000, 2003 & UNIX
|
RE: bic_info
Quote:
Originally Posted by david7
I have read some threads and understood that you have to be physically on the NT server. Is there a solution for this problem?
Any ideas?
- David
|
Hi,
The following thread solves your problem:
http://www.baanboard.com/baanboard/s...ad.php?t=34138
- George
__________________
_
George Abdo
NAZDAQ - Your Documents, Your Way.
When you have time try: escape games
|

24th October 2007, 21:42
|
 |
Junior Member
|
|
Join Date: Jul 2006
Location: Canada
Posts: 11
|
|
|
Baan: Baan 4C4 -
DB: Oracle9i -
OS: Linux
|
|
I have problem to add a new field to a standard baan form and maintain prog script
Hi ~VAMSI,
I am copying a standard baan form into my dev VRC then I am adding a new field to it .And I am including this into the program script (Qkey).
However at the execution at the form level the field is not recognised and I get " unknown form field refb.f" error message.
The question is it possible to add new fields to the original baan session?
Then how to do it?
Thanks for your Help!
Nad
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|