Child Table Validate

  1. Try to use “validate” instead of “before_insert”
  2. Your code / custom script should be in Parent Doctype.
  3. Verify your code correctness against solution suggested in the link
2 Likes