Baanboard.com

Baanboard.com (http://www.baanboard.com/baanboard/index.php)
-   Tools Administration & Installation (http://www.baanboard.com/baanboard/forumdisplay.php?f=2)
-   -   Error 301 (Unknown Reference) in Zoom (http://www.baanboard.com/baanboard/showthread.php?t=68409)

rduncan10 24th November 2015 16:06

Error 301 (Unknown Reference) in Zoom
 
I have two custom sessions: one zooms to the other. When I do the zoom, I get the error 301, query not correct, unknown reference.

The session I zoom to is based on a custom table, which has a field "cuno" that references tccom010.cuno in the table definition. The form for this session displays both this cuno field and tccom010.nama. The unknown reference error is related to this field. If I remove tccom010.nama, the error goes away.

The Zoom 2 session uses a Type 3 form and the customer and name are multi-occurrence fields.

If I run the zoom to session by itself, I don't get any error. The name displays correctly.

The problem only occurs if I zoom to a view that has more than 10 occurrences (the limit for the session). If it has less than 10, I don't get the error.

The session has this in the Zoom From section:
Code:

zoom.from.all:
on.entry:
    import("z.date", tdcus048.date) | The main view field
    execute(find.data)

If I comment these lines out, I can zoom and manually navigate to the date.

bhushanchanda 24th November 2015 16:59

Hi,

Not sure if they are relevant to Baan4, but you can check similar threads -

Thread 1
Thread 2
Thread 3

Sounds like it has something to do with the table def. You can wait for someone to add a specific answer to this if the above thread don't help.

rduncan10 24th November 2015 17:15

You might be right. I converted to runtime for all packages (to include tccom010) and it worked.

It is weird that the only time not doing this seemed to cause an error was when I zoomed to the session, used find.data and if there were more occurrences than could be displayed.

Thanks.


All times are GMT +2. The time now is 23:07.


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