<h2>When opening some consumables (alm_consumable) the quantity is changed to "1"</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><p style="padding-left: 40px;">For some consumables in alm_consumable table, the quantities value from the list view is correct. However, when opening the record the quantity is changed to "1"</p></section></div><div ><h3 >Cause</h3><section><p style="padding-left: 40px;"><strong>UI POLICY</strong> : "Quantity readonly until model and category qualify the asset and are not bundle"</p></section></div><div ><h3 >Resolution</h3><section><ul style="list-style-position: inside;"><li>The UI Policy <strong>"Quantity readonly until model and category qualify the asset and are not bundle"</strong> is the cause of this behaviour.</li><li>Sets the Quantity field to read-only for assets that aren't consumable, software, or pre-allocated. Quantity is also read-only if the model or model category fields are empty.</li><li>This is current OOTB behaviour, It is actually not changing the actual value of the consumable it is just showing in UI as "1" using above UI policy.</li><li>The UI policy is triggered on load if the below condition matches.</li></ul> <p style="padding-left: 120px;"><img src="/sys_attachment.do?sys_id=26c3682f478dce50f64de825126d4383" alt="" width="572" height="203" /></p> <ul style="list-style-position: inside;"><li>If we disable this above policy it will show the actual value.</li></ul></section></div></article></div>