DocMerge - Quantity field with no decimal place

Hello,

I'm trying to make a DocMerge proposal template, and I'm using the core Quantity field within products. I want the field to display on the document without the decimal place.

Does anyone know what extra code I need to put in the field tag to remove the decimal place?

Example:

Parents
  • Hi Nord,

    You can just set the precision to 0 in the field settings in Studio for this field. To do this, you can follow these steps. If you are an admin user --> go to admin page --> studio --> your module --> fields --> go to the quantity field and in the field options you can set the precision to zero. After doing this setting this not only impacts doc merge templates but also your records in CRM. So please confirm if you wish to do this only in doc merge templates or even in the data in CRM also? Please make sure you do this first in dev environment, see the data how it looks like and then if you wish to proceed then only do in the Production.

    Thanks and Regards,

    Ramya Katram

    www.bhea.com

Reply
  • Hi Nord,

    You can just set the precision to 0 in the field settings in Studio for this field. To do this, you can follow these steps. If you are an admin user --> go to admin page --> studio --> your module --> fields --> go to the quantity field and in the field options you can set the precision to zero. After doing this setting this not only impacts doc merge templates but also your records in CRM. So please confirm if you wish to do this only in doc merge templates or even in the data in CRM also? Please make sure you do this first in dev environment, see the data how it looks like and then if you wish to proceed then only do in the Production.

    Thanks and Regards,

    Ramya Katram

    www.bhea.com

Children