first of all, I really appreciate the active community here. Hope you guys can help me
I am currently evaluating ERPNext for our company and so far I am really fascinated by the customisation possibilities. I just started with client scripts to calculate an UoM conversion factor based on custom fields.
I added the following custom fields to Item:
I need to calculate the conversion factor from the Default UoM No. to length in meter, square meter and cubic meter.
The math is simple, but as a beginner I am struggling to write the code to fetch the data from the custom fields, use it in the calculation and write it to the table. Any suggestions?
Thanks and best regards