Quotation Item triggers

Someone can show me where’s the js of Quotation Item childtable?
I wanna see the script that calculate the qty * rate.

See quotation.js in Quotation doctype. There won’t be a js for child doctypes.

I’ve checked, but the code block just has a comment:

https://github.com/frappe/erpnext/blob/develop/erpnext/selling/doctype/quotation/quotation.js#L210

I think this line,

2 Likes

Oh, thank you! So is another doctype, huh…

no its extension of js object… browse through the code, you will understand…

https://johnresig.com/blog/simple-javascript-inheritance/

1 Like

That js is used in every doctype with rate, taxes and etc?

Not every, wherever its extended, see my previous reply.

Oh, got it!!!
appreciate for you help @schilgod :slight_smile:

1 Like