Page 3 of 3

Re: More ranges for Manual Backorder Release

PostPosted: Tue Sep 29, 2020 3:42 am
by nsbandara
Hi Danny,

There is a bug in plugin provided. Please see line 204

Code: Select all
                     'newBatchLine.BackOrderQuantity = .Sanitise(SQLReader, "BackOrderQuantity")
                     SetPrivatePropertyValue(Of JiwaManualBOBatch.BatchLine)(newBatchLine, "InventoryItemKey", InventoryID)


Which should be

Code: Select all
                     'newBatchLine.BackOrderQuantity = .Sanitise(SQLReader, "BackOrderQuantity")
                     SetPrivatePropertyValue(Of JiwaManualBOBatch.BatchLine)(newBatchLine, "BackOrderQuantity", InventoryID)


SetPrivatePropertyValue(Of JiwaManualBOBatch.BatchLine)(newBatchLine, "BackOrderQuantity", InventoryID)

Hope this would help.

Re: More ranges for Manual Backorder Release

PostPosted: Tue Sep 29, 2020 7:39 am
by SBarnes
Hi Nishantha

You are correct that is the bug but your post is slightly incorrect the line should be changed to

Code: Select all
SetPrivatePropertyValue(Of JiwaManualBOBatch.BatchLine)(newBatchLine, "BackOrderValue", .Sanitise(SQLReader, "BackOrderValue"))


as is in the plugin but thanks for the help.