Hi,
Below is my script which was perfectly working in Version 4. Now it is not working in Version 5.
I have item groups as shown in the picture and want to generate next item code in the selected group.
We have moved away from wn namespace since version 4. It should be frappe.call
This code is from version 3. You will need to rewrite the query part too. I think this use case should be handled server side using a Frappe App. @aditya has done something similar in his setup.
Btw I did catch it…yeah @ruchin78 I have something similar in my app as well…but I guess we should be fine if @rmehta could help us with awesome variants
Any ways ruchin you can have a look at my server side code here: