günther
22nd July 2008, 12:41
Hi,

I would like to start ticst0502s000 with a production order and position. So I'm setting ticst001.pdno and ticst001.opno before zooming that session (via a menu). The production order displayed is correct, but the position is zero.
Any ideas?

Günther

george7a
22nd July 2008, 13:15
Hi,

If I am not wrong the position field name is ticst001.pono not ticst001.opno.

I hope it helps,

- George

günther
22nd July 2008, 14:12
Thanks George.

The Session uses ticst001._index2, which is {pdno, opno, pono}. So I think setting opno was correct.

Anyway, at the moment I'm setting both to the identical value, just to see. But I cannot understand what's happening:
5 gives 0, 10 gives 100, 20 gives 10, 30 gives 100 and so on.
Valid positions are 5, 10, 20, 40, 50, 70 ,80, 90, 100, 110 and so on.

Any ideas? Anybody that has the sources and that can have a look at it?

Günther

Hitesh Shah
22nd July 2008, 19:35
I can think of 3 possibilities .

1. Ur customized main table has some reference on the ticst001 . And standard program automatically matches the reference fields to references of ticst001 and brings accordingly ticst001 records . I had seen similar matter for zoom to item master for main and child item both .

2. ticst0502 imports only pono and then accordingly changes the opno value and brings the record .

3. cst0502 restricts the import / export only for standard session . I c this is a veryremote possibility .

günther
23rd July 2008, 10:57
Thanks Hitesh.

I'm zooming from tibom010, so point 1 can be excluded. The points 2 and 3 could be, but to verify that I should have a look at the sources I guess.

Günther

Hitesh Shah
23rd July 2008, 17:34
If u are using zoom.to$ function in the script , u must give a zoom name . When zoom name is blank , zoom from on entry and on exit functions are not executed in the called session which may affect the import / export of the values.

However the values change in cst0502 for u. So it certainly imports pono and displays pono values. So in that case the option would be set to set right cst001.pono.

Let us know ur findings once u finish working on this.

günther
29th July 2008, 08:35
Thanks againt to George and Hitesh.

I've been playing for hours but I could not get the expected result. Finally, I decided to create a new session from scratch -- I copied the forms, created the session script manually. That took about 15 minutes; in the zoom.from.all section I import ticst001.pdno and ticst001.pono and everything is fine.

Conclusion: I don't know what the standard does, but it would be most intersting.

Günther