Page 1 of 1

Set defaults in inventory

PostPosted: Wed May 11, 2022 1:39 pm
by Ernst
Capture1.JPG
Capture1.JPG (20.8 KiB) Viewed 726 times
In Our plugin we have this in setup.
inventoryForm.FiguresSpecificWarehouseCheckBox.Checked = False

inventoryForm.OrderSpecificWarehouseCheckBox.Checked = False

So that the figures tab and the Orders tab, dont remember prior warehouse selection ticks, to prevent confusion, as what is being looked at. They didnt notice the tick down the bottom type thing..

The Figures tab works fine, but the order tab. If it was ticked. You close inventory and reopen you get this message. Cannot figure why it should ask for this.

Re: Set defaults in inventory

PostPosted: Wed May 11, 2022 2:40 pm
by Mike.Sheen
Ernst wrote:
Capture1.JPG
In Our plugin we have this in setup.
inventoryForm.FiguresSpecificWarehouseCheckBox.Checked = False

inventoryForm.OrderSpecificWarehouseCheckBox.Checked = False

So that the figures tab and the Orders tab, dont remember prior warehouse selection ticks, to prevent confusion, as what is being looked at. They didnt notice the tick down the bottom type thing..

The Figures tab works fine, but the order tab. If it was ticked. You close inventory and reopen you get this message. Cannot figure why it should ask for this.


Hi Ernst,

Can you provide a plugin which demonstrates the issue? Just a scaled back plugin with just the bit which is causing you a problem.

Thanks

Re: Set defaults in inventory

PostPosted: Fri May 20, 2022 10:20 am
by Ernst
PLUGIN with inventoryForm.FiguresSpecificWarehouseCheckBox.Checked = False
inventoryForm.OrderSpecificWarehouseCheckBox.Checked = False

Attached..Thanks