blak3r / sugarcrm-custom-quote-line-items

illustrates how to add custom fields to a quote...Readme provides to diff's which have been marked up.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sugarcrm-custom-quote-line-items

Illustrates how to add custom fields to a quote line item. I added to github as I thought marking up a commit would be a good way to see each of the parts involved.

View This Diff For Instructions

Also, I'd recommend looking at this blog article: It walks you through how to make these changes in an upgrade safe manner and provides more commentary. But, doesn't show how to add a "custom" field (just a standard field that isn't normally there).

Notes:

  • For the javascript files, on my instance they were minified. I "beautified" them using this website: http://jsbeautifier.org/
  • It's possible (but unlikely) I modified these files prior to to making custom line item changes. So, it's a good idea to not blindly overwrite your files.
  • In the process of doing this I also removed the Tax column and the cost column. So, the vast majority of lines in the diff are modified for that purpose. This makes the diff a bit more complicated then it needs to be, I annoted the important ones.

My Use Case

I wanted to make quoting easier for our sales reps. We have products with certain accessories reps would forget to add and also wanted quantity price breaks to be more self documenting. So, I added a new field to the product template in Studio called internal_notes_c Example Quote With Modified Line Items

Related Posts

About

illustrates how to add custom fields to a quote...Readme provides to diff's which have been marked up.


Languages

Language:JavaScript 100.0%