In QI if Item Master has batch enabled need to be ask to create the batch before submit


In Quality Inspection - Batch No. need to be ask before submit the Quality Inspection but it need to be validate if in Item Master it is enabled or not ( Has Batch No ) tick or not.

we have few items are without - Has Batch No enable and few items with Has Batch No. enable.

In Customize Form of Quality Inspection
Lable & Type - Batch No
I have mentioned Depends On mentioned eval:Item[“Has Batch No”]

After that Quality inspection shown following error – Error Invalid “depends_on” expression

Also please confirm mentioned depends on correct or wrong.