JIWA6 F4 Auto Save new Line in JIWA7

Posted:
Tue Dec 29, 2020 10:40 am
by Ernst
Customer has found and used F4, while on the sales order line, in JIWA6 this saves the order and moves them to the next line. JIWA6 is probably just putting them on the last line, after a save.
Now they want the same in JIWA7?
If I try F11 in JIWA7, Cursor just seems to jump to top line. Am not even sure how I would start tackling this.
Perhaps in save end, somehow jump to last line partno field.?
Any ideas if this can be done, and how best to do it?
Re: JIWA6 F4 Auto Save new Line in JIWA7 

Posted:
Tue Dec 29, 2020 12:06 pm
by Mike.Sheen
Hi Ernst,
The sales order form has a public method you can call to set the last line of the order to have focus - you can do that in the save end to do what you want - the attached plugin demonstrates this.
Also note whenever you press the Page Down button, this also calls the same method so the focus is set to the last line of the order.
Mike
Re: JIWA6 F4 Auto Save new Line in JIWA7

Posted:
Tue Dec 29, 2020 1:38 pm
by Ernst
Thanks Mike that works perfectly. I though you guys were on Christmas Break?
Thanks again.. and Happy New Year.!!!

Re: JIWA6 F4 Auto Save new Line in JIWA7

Posted:
Tue Dec 29, 2020 5:42 pm
by Mike.Sheen
Ernst wrote:Thanks Mike that works perfectly. I though you guys were on Christmas Break?
Thanks again.. and Happy New Year.!!!

Well, I am supposed to be on leave - but like Batman I still monitor the skies (forums) for signs of distress and will act for those in need.

- batsignal.jpg (4.08 KiB) Viewed 1173 times
Happy New Year to you too!