Quote Comment Catalog & Stock Comments

Wondering if there is an easy way or an enhancement could be made to be able to add a pool of comments that might be used on a quote more often. We find that we have certain comments that need to be added to some products or estimates. We currently have a bunch of word files that we will open, copy and paste but it would be great of there could be a way to make a comment template or maybe a product with pricing hidden that we could and be able to pull easier. 

Parents
  • We have quote language that applies to different products, same language on multiple products and did not want to cut and paste it per product or have to maintain it in multiple places so we did the following:

    - Created a new module "Quote Language" with named template language. Each template has a "code" and some content.

    - In the Product Templates module we added a multi-select dropdown for the codes of the templates. The multi select is populated by a query on the "Quote Language" so that the admin who defines the products can pick which templates are applicable to each product and store that information on the Product Template record

    Here is where it gets tricky...

    - We have a highly customized PDF generation for our quotes that does a bunch of things that are not relevant here but also checks for "Quote Language" codes for the products listed, removes duplicates, and adds the pages needed for the language to the HTML before it is converted to PDF.

    However... and I have not tried this..

    if your language is not too complicated, you might be able to get away with just adding to your PDF the related notes, using the related module.

    If you don't mind diving into code, you can see part of what we did for custom quotes printing here:
    https://sugarclub.sugarcrm.com/dev-club/b/dev-blog/posts/how-to-create-beautiful-pdfs-with-css-within-sugar

    There is actually a lot more to it that I have not shared but you can see how you could manipulate the output in the API to add to the printout.

    HTH,
    Francesca

Reply
  • We have quote language that applies to different products, same language on multiple products and did not want to cut and paste it per product or have to maintain it in multiple places so we did the following:

    - Created a new module "Quote Language" with named template language. Each template has a "code" and some content.

    - In the Product Templates module we added a multi-select dropdown for the codes of the templates. The multi select is populated by a query on the "Quote Language" so that the admin who defines the products can pick which templates are applicable to each product and store that information on the Product Template record

    Here is where it gets tricky...

    - We have a highly customized PDF generation for our quotes that does a bunch of things that are not relevant here but also checks for "Quote Language" codes for the products listed, removes duplicates, and adds the pages needed for the language to the HTML before it is converted to PDF.

    However... and I have not tried this..

    if your language is not too complicated, you might be able to get away with just adding to your PDF the related notes, using the related module.

    If you don't mind diving into code, you can see part of what we did for custom quotes printing here:
    https://sugarclub.sugarcrm.com/dev-club/b/dev-blog/posts/how-to-create-beautiful-pdfs-with-css-within-sugar

    There is actually a lot more to it that I have not shared but you can see how you could manipulate the output in the API to add to the printout.

    HTH,
    Francesca

Children
No Data