pantry list for quote  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

pantry list for quote

Postby perry » Wed May 15, 2019 1:38 pm

Hi,
For both Jiwa 7.2.0 & 7.0.175
I've modified the pantry list to be used in Quote and having a display issue

to reproduce the issue
1 create new quote
2 yes to create order from pantry list dialog
3 add product and hit ok
4 lines are added with qty of 0, (actually underlying value is fine, just the display)
From here, if you save quote, correct qty is displayed.
If you open pantry list and add new items, newly add items are fine (shows qty)
If you open any existing quote and add item from pantry list, they are fine

I have this problem in 7.0.175, however can reproduced in 7.2.

plugin for 7.2 attached.
Attachments
Plugin pantry list quote.zip
(8.95 KiB) Downloaded 76 times
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: pantry list for quote

Postby Mike.Sheen » Wed May 15, 2019 3:05 pm

Hi Perry,

Your plugin is working for me with my dev environment (> 7.2 SR3 < 7.2 SR4). I've had a look at the code changes in quotes since 7.2 and do not see anything related, so I don't think a service release has fixed the issue you are experiencing - so I'm unable to reproduce the issue.

I'm assuming in your steps, at step 3. you enter a quantity > 0 against one or more items in the Pantry List dialog?
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: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755

Re: pantry list for quote

Postby perry » Fri May 17, 2019 2:48 pm

Thanks Mike, yes, I did key qty in pantry list (tested 1 and multiple items)

I will test this on a fresh demo database, maybe one of my plugin causes the issue.
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: pantry list for quote  Topic is solved

Postby Mike.Sheen » Fri May 17, 2019 3:12 pm

perry wrote:I will test this on a fresh demo database, maybe one of my plugin causes the issue.


If you have any plugins throwing a Client Cancelled exception, then that would explain the behaviour.
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: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755

Re: pantry list for quote

Postby Ernst » Fri Mar 06, 2020 1:14 pm

Nice plugin thx. Had similar problem with Zero Qty.

This extra display Lines brought it up for me.

For Each PantryListItem As PantryListItem In PantryListItems
If PantryListItem.OrderQuantity > 0 Then
salesQuoteForm.AddInventoryItem(PantryListItem.Part.InventoryID, JiwaSales.SalesQuote.SalesQuoteLineCollection.SalesQuoteLineInventorySeedTypes.e_SalesQuoteLineInventoryID, newKey)
salesQuoteForm.SalesQuote.SalesQuoteLines(newKey).QuantityOrdered = PantryListItem.OrderQuantity
End If
Next
===> salesQuoteForm.DisplayLines()
User avatar
Ernst
Kohai
Kohai
 
Posts: 216
Joined: Tue Feb 19, 2008 3:43 pm
Topics Solved: 12


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron