Page 1 of 1

pantry list for quote

PostPosted: Wed May 15, 2019 1:38 pm
by perry
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.

Re: pantry list for quote

PostPosted: Wed May 15, 2019 3:05 pm
by Mike.Sheen
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?

Re: pantry list for quote

PostPosted: Fri May 17, 2019 2:48 pm
by perry
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.

Re: pantry list for quote  Topic is solved

PostPosted: Fri May 17, 2019 3:12 pm
by Mike.Sheen
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.

Re: pantry list for quote

PostPosted: Fri Mar 06, 2020 1:14 pm
by Ernst
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()