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?