Styles Dialog on Inventory  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Styles Dialog on Inventory

Postby SBarnes » Thu Jun 24, 2021 5:44 pm

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();
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Styles Dialog on Inventory

Postby Mike.Sheen » Tue Jul 06, 2021 1:54 pm

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.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Styles Dialog on Inventory

Postby SBarnes » Tue Jul 06, 2021 2:07 pm

That didn't work plugin is attached, at the moment closing the dialog is commented out to see what is going on.
Attachments
Plugin Attkey Supress Style Dialog.xml
(33.83 KiB) Downloaded 611 times
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Styles Dialog on Inventory  Topic is solved

Postby Mike.Sheen » Mon Nov 15, 2021 6:23 pm

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?
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Styles Dialog on Inventory

Postby SBarnes » Mon Nov 15, 2021 6:44 pm

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


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 8 guests