Inventory SOH Enable SerialNumber
Hi, In an earlier post you mentioned I could LOCK a field in a Grid via permissions which works Great!
However I am having trouble trying to Unlock the SerialNumber field in Inventory Maintenace, SOH for editing for 'Admin' role.
I have set read and write access (Column 72) to Allowed which highlights the correct fields in the Permissions form but then I close and relog but it doesn't Unlock the SerialNumber field. It locks the 'Comment' field fine if I set that field to Disallow?
Am I missing something?
I also tried it in a Plugin but it doesn't have any effect
Thanks.
However I am having trouble trying to Unlock the SerialNumber field in Inventory Maintenace, SOH for editing for 'Admin' role.
I have set read and write access (Column 72) to Allowed which highlights the correct fields in the Permissions form but then I close and relog but it doesn't Unlock the SerialNumber field. It locks the 'Comment' field fine if I set that field to Disallow?
Am I missing something?
I also tried it in a Plugin but it doesn't have any effect
- Code: Select all
Public Sub SetupBeforeHandlers(ByVal JiwaForm As JiwaApplication.IJiwaForm, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaFormPlugin.SetupBeforeHandlers
Dim INVUI As JiwaInventoryUI.InventoryMaintenanceForm = DirectCast(JiwaForm, JiwaInventoryUI.InventoryMaintenanceForm)
INVUI.grdSOH.AddColumn("GRNSupplier", New JiwaApplication.JiwaManageGrid.JiwaTextCellType, "GRN Supplier", 20, False, True, False, True)
INVUI.grdSOH.LockColumn(False, "SerialNumber", -1)
End Sub
Thanks.