eric.dizon
15th March 2016, 15:59
I don't have Source code but I need to know what value to pass when I load Adjustment Order Entry session that it points or move the record to the Adjustment Order I recently created. Can anybody please help on what variable I need to pass the value to make the search happen and work.

This is how I pass the value and open the session right now.

whinh520.orno = g.orno
start.session(MODAL_OVERVIEW, "whinh5120m100", "","" )

Please and thank you.

vahdani
15th March 2016, 16:47
the program expects that an external variable xi.order (domain tcorno) ist set in the calling program.

eric.dizon
15th March 2016, 17:40
I tried this but doesn't seem to load to the proper Adjustment order number.
Should I using zoom.from command or start.session ?


xi.order = g.orno
start.session(MODAL_OVERVIEW, "whinh5120m100", "","" )

vahdani
15th March 2016, 19:04
The variable is imported in before.program but actual find.data is done in zoo.from.all section. You need therefore to specify the calling program name!

Try something like this:


extern domain tcorno xi.order

...

xi.order = g.orno |Set the order you want!

start.session( MODAL,
"whinh5120m100",
prog.name$, |definitely needed!!! See docu!
"" )

eric.dizon
15th March 2016, 20:10
Thanks vahdani.

That worked wonderfully for me.