JIWA6 F4 Auto Save new Line in JIWA7  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

JIWA6 F4 Auto Save new Line in JIWA7

Postby Ernst » Tue Dec 29, 2020 10:40 am

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?
User avatar
Ernst
Kohai
Kohai
 
Posts: 242
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 13

Re: JIWA6 F4 Auto Save new Line in JIWA7  Topic is solved

Postby Mike.Sheen » Tue Dec 29, 2020 12:06 pm

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
Attachments
Plugin Move to last line on Sales Order Save.xml
(26.87 KiB) Downloaded 520 times
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: JIWA6 F4 Auto Save new Line in JIWA7

Postby Ernst » Tue Dec 29, 2020 1:38 pm

Thanks Mike that works perfectly. I though you guys were on Christmas Break?

Thanks again.. and Happy New Year.!!! :D
User avatar
Ernst
Kohai
Kohai
 
Posts: 242
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 13

Re: JIWA6 F4 Auto Save new Line in JIWA7

Postby Mike.Sheen » Tue Dec 29, 2020 5:42 pm

Ernst wrote:Thanks Mike that works perfectly. I though you guys were on Christmas Break?

Thanks again.. and Happy New Year.!!! :D


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
batsignal.jpg (4.08 KiB) Viewed 1169 times


Happy New Year to you too!
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: JIWA6 F4 Auto Save new Line in JIWA7

Postby Ernst » Tue Jan 05, 2021 10:09 am

Cool.. Go Bat Guy
User avatar
Ernst
Kohai
Kohai
 
Posts: 242
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 13


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 0 guests