I am trying to fetch Business Name from Business Authorisation child doctype to Transaction Doctype using a custom script. Instead, only the name appears in the dropdown.
Thanks for the response.
The issue here is when you add a new row with the same business but a different year, the row doesn’t become unique anymore because you would have 2 rows with the same primary key and the system throws an error message.
The batch is automatically created when I submit the Purchase Receipt. I want the field “Origin” in the Batch DocType to have the same value as “Batch Origin” in Purchase Receipt DocType when it is automatically created.