There might some cases when decimal places are already set up in Dynamics 365 F&O and you need to change directly in the portal without changing in D365 F&O.
For example: SalesOrderedQty is already scale to 6 decimal places and used in many tables. You can’t change the decimal places.
How can you change the decimal places?
You need to write custom java script to achieve this.
First, go to your webpage, select the Localized content and click on the list
Click on Advanced tab and write the below code..
Note: You need to change the column number and field name according to your list.
Save the form and refresh your page in Portal.
If you like this article, feel free to share it with others who might find it helpful! If you have any questions, feel free to reach out to me.