Logo

How can we help you?

Search our knowledge base to get answers to your questions, access video training & more!

Setup

Changing Unit Price Decimal Places

By creating a custom field with the desired decimal places and using it for entering the unit price, users can set up a process to update Payment Center's unit price accordingly.

Updated 2 days ago

Changing Unit Price Decimal Places

As Payment Center is a managed package, you are unable to modify the decimal places of the unit price. To address this, you can create a custom field with the desired decimal places and use it for entering the unit price. Subsequently, you can set up a process to update Payment Center's unit price using your custom field. Salesforce will maintain the precision as long as it's not directly entered in the UI. This allows you to work around the limitation and achieve the desired decimal precision for the unit price.

Here are the steps:
Go to Setup | Object Manager | Invoice Line. Create a custom field with the desired decimal places:

Image


To customize the unit price display, edit the invoice line layout and replace Payment Center's unit price with your custom unit price field.

Image

 

Create a process to update Payment Center’s unit price with your custom unit price:

Screen Shot 2018-01-20 at 7.22.20 AM

 

Go to Payment Center Settings | Customize Invoice button | Advance Edit. Modify your template to display your custom unit price:

Screen Shot 2018-01-20 at 7.15.52 AM

 

Go to an invoice, then click Email / Print Invoice PDF. Click the link indicating your template has changed:

Screen Shot 2018-01-20 at 7.44.34 AM

 

Your template should now display your custom unit price:

Screen Shot 2018-01-20 at 7.21.00 AM
Previous

Emails Coming from "noreply@salesforce.com"

Next