custom purchase order generation  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

custom purchase order generation

Postby perry » Mon Apr 09, 2018 6:17 pm

Hi,

Jiwa 7.0.175

Customer would like to have "Weighted And YTD Average" option in PO Generation form.

There are 2 challenges to me
1. capturing additional parameters (No. of months for Sales Average 1 and 2, Month Cover required min/max)
2. passing additional parameter values to SP

for 1. I think I can either add control the the form or capture with a popup form (similar to Purchase order form).
However, I'm not sure what to do with 2. as I assume the form will only past predefined list of parameters to SP?

First thing comes into my mind is to save additional values into a temp table and have SP to check the value when it runs.
Otherwise, a plugin has to get lines and add to the PO Generation object by itself.

Can you please suggest if there is any easier way to achieve this?
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15

Re: custom purchase order generation  Topic is solved

Postby Mike.Sheen » Wed Apr 18, 2018 11:58 am

Hi Perry,

I've added improvement DEV-6576 to make this easier/possible in 07.01.01 - but in the meantime I think your idea of writing to a ##Temp table and have the stored procedure obtain the values needed from there is the best option.

Mike
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: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: custom purchase order generation

Postby perry » Wed Apr 18, 2018 12:02 pm

Thanks Mike,
Perry Ma
S. Programmer
Lonicera Pty Ltd
http://www.lonicera.com.au
perry
Frequent Contributor
Frequent Contributor
 
Posts: 173
Joined: Mon Oct 27, 2008 2:26 pm
Topics Solved: 15


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 13 guests