Unable to edit the quantity field in extended consumable table

Mel A
Tera Expert

Hi,

I am new to ServiceNow and trying to explore it's capabilities. I tried extending the consumable table and all is working except for the quantity field which i can not edit (when adding records) because it is always read-only. I already tried unchecking the read-only in the form design, still it doesn't work.

Hope you the experts here can help me.

Thanks.

1 ACCEPTED SOLUTION

When you look in the ACLs you would notice that the 'write' operation is restricted and even admins aren't allowed to override it. You can change this ACL to allow you to edit the quantity field. However, given the strict ACL rule that serviceNow has applied on this field, I suggest not modifying this field or atleast conduct a thorough impact analysis on a personal developer (or any other disposable instance) before changing this ACL.

View solution in original post

4 REPLIES 4

Moy1
Kilo Guru

There is an ACL on the alm_asset table that prevents anyone from updating the quantity value. Since alm_consumable is an extension of alm_asset, the ACL applies on both parent and child; and by extension, applies to your extended table too. 

find_real_file.png

Hi Moy,

 

Thank you for your reply. Sorry, i was on vacation and was not able to reply immediately. Anyway, here's the ACL of alm_asset. All are set to true, so i'm not sure where to go from here.

 

Thanks

find_real_file.png

When you look in the ACLs you would notice that the 'write' operation is restricted and even admins aren't allowed to override it. You can change this ACL to allow you to edit the quantity field. However, given the strict ACL rule that serviceNow has applied on this field, I suggest not modifying this field or atleast conduct a thorough impact analysis on a personal developer (or any other disposable instance) before changing this ACL.

Thank you Moy, your suggestion did the trick (though i'm having second thoughts of implementing this in our production instance).