Attribute Set Instance Control

Bring new enhancement related to creation on New Record and Edit Record. 

Overview 

Product attributes provide additional information about a product that may be helpful in finding, selecting, or tracking certain products. Attributes are defined and grouped in sets that are applied to products. An attribute set can have an instance that is specific to one or more physical products. In our system we use Attribute Set Instance’  control to select the Instances. This control is available on all the transactional windows having products in system.  Previously system was not allowing to edit the Attribute set instance. Now we have added new checkbox Edit Record’  by which user can edit attribute instances while doing transactions. 

Enhancement 1 

  1. New checkbox Edit Record’ is added on ‘Attribute Set Instance’ control. If user want to update the Attribute set Instance, can mark this checkbox true. 

  2. New checkbox ‘New Record’ is added on ‘Attribute Set Instance’  control. 

 

How it works 

Suppose user creates Material Receipt line with attribute enabled Product: Shirt.  

When user open this control first time from MR line ‘New Record’ checkbox will be checked by default and after that user can select attribute values and click ‘OK’ button.  On press Ok system create new record in ‘Attribute Set Instance’ window. As show in below image (a). 

 

(a)

When user again opens the same  Attribute Set Instance’  control then by default Edit Record’ and ‘New Record’ checkboxes will get unchecked . Existing attribute values will show  and will be readonly. As show in below image (b). 

(b)

If user wants to edit this record then one can mark  Edit Record’ checkbox true.  By this attribute values will get editable and user can make changes. After clicking on ‘Ok’ button ‘Attribute Set instance’ will get updated.  As show in below image (c). 

If user wants to create new record in ‘Attribute Set Instance’ window then user has to checked ‘New Record’ checkbox. By this attribute values will get editable and user can change the values. After clicking on ‘Ok’ button, new attribute instance will be created on ‘Attribute Set Instance’ window. As show in below image (d). 

If user wants to edit existing record in ‘Attribute Set Instance’ window then user has to click on ‘Select Existing Record’ . After this all the previous created records will show which are related to Attribute Set applied on product and user can select the record which user want to edit. After that system loads this value on Attribute set instance control  and will be read only. Now to Edit this record user have to checked Edit Record’  checkbox. Values will get editable and user can make changes. After clicking on ‘Ok’ button ‘Attribute Set instance’ will get updated. As show in below image (e). 

If ‘Edit’ checkbox is true and user select the combination of attribute values which already exist on ‘Attribute Set Instance’ window then system will not update changes on ‘Attribute Set Instance’ window. 

If ‘New Record’ checkbox is true and user select the combination which already exist on ‘Attribute Set Instance’ window then system will not create the new attribute set instance on  ‘Attribute Set Instance’ window. 

Enhancement 2 

Attribute Set Instance Control 

 

Old Functionality: 

While Adding attribute on transaction/master windows, we have to bind it through "Attribute Set Instance" control. There is button in control "Select Existing Record", when we click on this button system open dialog box which shows all the existing instances for the selected product.  

 

New Functionality: 

Below are the changes in existing functionality: 

 

  • When there is warehouse available on the window then system will filter the records as per selected warehouse. 

  • New checkbox introduce "Show All (include  zero and (-ve) qty )" in Attribute set control. 

  • If IsSoTrx checkbox is "True" then by default system will make "Show All' checkbox False and If IsSoTrx is "False" or no checkbox available then by default system will make this checkbox "True". 

  • System will filter the records as per "Show All", "ISSOTRX" and selected "Warehouse". 

  • Data will sorting on the basis of "On hand Qty" in descending order. 

Enhancement 3 

On Attribute Set Instance window, system create records in login Organization. 

 

In "Attribute" and "Attribute Set window", "Organization" field should be read only, and default value should set as * .  

System should create all records in Attribute Set Instance window under * organization. 

Enhancement 4 

Bring new enhancement for Role based creation of New Record and Edit Record. 

Enhancement 

  1. New checkbox 'Can Create New Attribute' and 'Can Edit Attribute' is added on 'Role' Window.  

  2. User can Create or Edit record based on the setting enabled on current Role. 

 

How it works 

By Default both the checkbox will have true value on Role window. 

 

If you want to restrict the user to create new attribute then mark Can Create New Attribute’ checkbox false on Role window. By doing this the 'New Record' option will not be visible to the user on ‘Attribute Set instance’ control.  As show in below image (a). 

If you want to restrict the user to edit attribute then mark Can Edit Attribute’ checkbox false on Role window. By doing this the 'Edit Record' option will not be visible to the user on ‘Attribute Set instance’ control.  As show in below image (b).       

If you want to restrict the user to both create and edit attribute then mark both Can Create New Attribute’ and Can Edit Attribute’ checkbox false on Role window. By doing this the 'New Record' and 'Edit Record' option will not be visible to the user on ‘Attribute Set instance’ control.  User can select the existing records only. As show in below image (c).       

If ‘Can Edit Attribute’ checkbox is true on Role then only the user is able to edit ‘Attribute Set Instance’

If ‘Can Create New Attribute’ checkbox is true on Role then only user is able to create new  ‘Attribute Set Instance’