Changing Unit Price Decimal Places

With Payment Center being a managed package, you cannot change the decimal places of the unit price. As a workaround, you can create your own custom field with the desired decimal places and use that field to enter your unit price. You then create a process to update Payment Center’s unit price with your custom field (Salesforce keeps the precision as long as it’s not entered in the UI).

Here are the steps:

Go to Setup | Create | Objects | Invoice Line. Create a custom field with the desired decimal places:

Screen Shot 2018-01-20 at 7.12.37 AM

 

Edit invoice line layout and display your custom unit price, and remove Payment Center’s:

Screen Shot 2018-01-20 at 7.52.39 AM

 

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