dear i want to make field read as only depending on another field in that same document. Like i want to make RATE field as read only depending on item code.
I am not sure about read only but for hiding, you can use ‘depends on’ property of a field.
dear i want like rate to hide if the item has Item code and if its being purchase without item code / by item name the rate field should be visible.
yes but could you provide me with a code to use in depend on field
eval:doc.update_stock==“1”; would soemthing like this work