Page 1 of 1

Styles Dialog on Inventory

PostPosted: Thu Jun 24, 2021 5:44 pm
by SBarnes
I have a client that doesn't want to see the styles dialog on the save of inventory, this I have been able to do simply by attaching to the after dialog start on the factory and if it is that dialog attach a shown event and simply set the dialog result and close the dialog, however they want it only to have the setting for the current item rather than all the products with that style, I have tried adding the following two lines to the shown event but the dialog is ignoring them, any ideas, I have also tried resetting the profile key for SelectAllRadioButton.Checked and that didn't help?

Code: Select all
      form.SelectNoneRadioButton.Checked = true;
      form.SelectNoneRadioButton.PerformClick();

Re: Styles Dialog on Inventory

PostPosted: Tue Jul 06, 2021 1:54 pm
by Mike.Sheen
Try setting the SelectAllRadioButton.Checked to false instead.

If that doesn't work then if you can provide a plugin with what you have, it'll save me a bunch of time trying to come up with a plugin from scratch.

Re: Styles Dialog on Inventory

PostPosted: Tue Jul 06, 2021 2:07 pm
by SBarnes
That didn't work plugin is attached, at the moment closing the dialog is commented out to see what is going on.

Re: Styles Dialog on Inventory  Topic is solved

PostPosted: Mon Nov 15, 2021 6:23 pm
by Mike.Sheen
In 7.2.1 SR3 we made an improvement with DEV-7233 so that the Product Matrix Confirmation dialog (SaveProductMatrixDialog class) has a button down the bottom which is a toggle button paired with the Select All button. This new button is captioned "Just {0}" where {0} is the current part number.

ProductMatrixSaveDialog.png


The state is persisted, so if the user last selected "Just {0}" then the next time the dialog is shown it only selects the current part in the grid. Likewise, when "Select All" is selected, the next time the dialog is opened all parts are checked in the grid.

As SR3 was released way before your post (7.2.1 SR3 was released 6 Mar 2020) - I'm assuming you're using a version prior to that? If so, can you let us know what version that was - and maybe just upgrading them to SR3 or later will evaporate any need for a plugin?

Re: Styles Dialog on Inventory

PostPosted: Mon Nov 15, 2021 6:44 pm
by SBarnes
HI Mike,

Thanks for the reply.

maybe just upgrading them to SR3 or later will evaporate any need for a plugin


The customer is using Jiwa 7.2.0 SR6 where Jiwa has been customised within an inch of its life and they make extensive use of the REST api and web hooks, which no doubt has made you aware of who the customer is, so unfortunately there is no simply just upgrading them.

They won't look at upgrading until 7.3.0 is released because they have keen interest in multiple images under inventory as well as the prospect of a change in the available memory space that Jiwa and API and client can address given they have gotten out of memory issues, an upgrade will be a project in itself, yes someone does look at the release notes even for development ones. :lol:

The subject of the dialog however has disappeared off the radar for the time being so no doubt they have learnt to live with it.