How can I handle ajax in lineItems.js?


I have added the custom fields in lineItem. Now I want to create a dependency of fields.
Like if one dropdown is changed its value then other dropdowns should change as per parent value.

Please let help me to find out about this.

Search for files called Lineitems.js and LineItems.php

You will need to customize them. I doubt that you can make these changes upgrade-safe, you’ll have to keep an eye on your changes with every upgrade.

This module is a bit peculiar in SuiteCRM. it is not very standard and is not as straightforward to customize…

You will need to inject some further Javascript into that view, so you can do your validations.