Accounts column in Line items in Quotes module

Hallow,

I need a help to modify Line items in Quotes module to list Accounts column. Could someone help me please, how to do this?

Chris.

Changing the line items requires code changes to the line_items.js file - ensuring you put it in custom to make it upgrade safe.

Hello Simeon,

Thanks for your help, but could you send me more details, please. I found post that I have to make changes also in Line_Items.php file. Is it’s true? I’m not so good in .js files construction… I’m new in suitecrm programming :frowning:

Yes you would also have to change the Line_items.php file for it to display on the detail view. If you look in the file you should be able to see how the line items are built - in the insertProductLine and insertServiceLine functions. You would need to make changes in these to add in your new fields.

Simeon, slowly I move forward… However, I have a problem with reference to the product-account relationship in the file AOS_Products_Quotes -> Line_Items.php

What should be the correct syntax?