Formatting decimal places in Portal

Formatting decimal places in Portal

Formatting decimal places in Portal

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.

image 61

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

image 62

Click on Advanced tab and write the below code..

Note: You need to change the column number and field name according to your list.

image 60

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.

Parag Chapre

Parag Chapre is a Microsoft MVP in the fields of Dynamics 365 Finance & Operations, Human Resources, and Power Platform, recognized for his outstanding contributions to the Microsoft Dynamics community.

With over 15 years of hands-on expertise in various Microsoft Dynamics 365 areas, Parag has designed and delivered complex, innovative solutions for customers across industries and geographies. He has also provided leadership and technical guidance to project teams, managed offshore and onshore resources, and worked closely with Microsoft Product teams. Parag is passionate about sharing his knowledge and insights through his personal website, blog posts, articles, and community events. He is a member of the Microsoft Biz Apps Community Advisory Board, a Dynamics 365 Human Resource Community star, a Dynamics 365 Community contributor, and a Dynamics 365 Community Spotlight honoree.

Leave a Reply