More ranges for Manual Backorder Release  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Re: More ranges for Manual Backorder Release

Postby nsbandara » Tue Sep 29, 2020 3:42 am

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.
Attachments
Plugin Manual BO Release Batch Extend Ranges.xml
Updated plugin
(52.5 KiB) Downloaded 45 times
User avatar
nsbandara
Occasional Contributor
Occasional Contributor
 
Posts: 43
Joined: Tue Jul 16, 2013 5:02 pm
Location: Sri Lanka
Topics Solved: 11

Re: More ranges for Manual Backorder Release

Postby SBarnes » Tue Sep 29, 2020 7:39 am

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.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1618
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Previous

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron