Multiple Depends on

Hey guys,

I have a field in material request that alerts the user when there is insufficient stock. It displays using the following:
eval:doc.projected_qty < doc.qty. The problem is that it will calculate on requests for purchase as well. I figured I would solve that with this: eval:(doc.projected_qty < doc.qty && doc.material_request_type == "Material Issue") but it wont display at all now. Anyone know how to do this?

@cpurbaugh, the issue is, the first doc is on the table, and the second doc is the parent doc, so try:

eval: doc.projected_qty < doc.qty && cur_frm.doc.material_request_type == "Material Issue"

Thanks Max!