goooch
30th August 2004, 10:17
Hi, All!
I want to make a session with "clot" field which can be zoomed to tdltc0101s000 session to create one
But the problem is that while I zoomed to tdltc0101s000 session the filed tdltc001.olot has default value "tdltc.olot.purch" and cannot be changed, but I need to have this field in value of "tdltc.olot.prod"

How to attain these magnificent results?

Thank you

mark_h
30th August 2004, 16:46
It is my understanding the lot can be either purchased or made(production), but not both. So if the lot you are looking for is purchased you can not change it. When you insert a new lot you should be able to set this to production(tdltc.olot.prod). I do not know how Baan would react if you changed it at the table level on tdltc001.

Mark

goooch
31st August 2004, 07:19
No, no table level
I want to use sesssion tdltc0101s000 (Maintain Lots) to create new lot from my main session,
but the session tdltc0101s000 create only purchase lots (in my case) but I need to create production lot, but the lot type field (tdltc001.olot) is disabled for input and has the value of tdltc.olot.purch.
My question is how to use subsession tdltc0101s000 with a non-standart main session to create production lots?

mark_h
31st August 2004, 14:56
What is the calling programs module? From just glancing at some old 4c3 code it looks like the module plays a part in allowing input into this field.

Mark

goooch
1st September 2004, 07:22
What is the calling programs module?

I've already tried ltc, ilc, sfc and my own module. No result

Thank you, Mark, i've just found the solution