anant desai
29th June 2012, 08:32
The functions query.extend.select,query.extend.from and
query.extend.where produce a compile time error
"Unresolved reference to function".
mark_h
29th June 2012, 15:32
These functions are not available in the earlier releases of BaaN - I am not sure if it is Baan 5 or LN that they first appeared. Probably the only thing available is query.extension for you on 4c2. At least I think it is available in 4c2.
rahul.kolhe22
2nd July 2012, 17:30
Hi,
Can you please mention the version of Baan in which you are trying to use query.extension.* functions?
Also please mention the Srcipt Type in which you are trying to add this code and compile.
Kind Regards,
Rahul
Ritesh_Gawande
3rd July 2012, 10:57
Hi,
Provide Script for query extension..
Ritesh
anant desai
3rd July 2012, 14:57
The Baan version is 4c4 and the script type is
type 1/2/3 with main table(tdsls045).
before.program:
query.extend.select("tdsls045.orno,tdsls045.slss,tccom010.nama")
query.extend.from("tdsls045,tccom010")
query.extend.where("tdsls045.ssls=1 and tdsls045.cuno refers to tccom010")
This produces a compiler errror.
mark_h
3rd July 2012, 16:39
Yep - that does not work on 4c4. Sample from one of our sessions:
before.program:
query.extension = "tdexi060.rfqnum > 0 "
Since your maintable is tdsls045 yours would look like this.
before.program:
query.extension = "tdsls045.ssls=1"
Then if you are displaying tccom010.nama you can go look it up in one of the events like before.display.