web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How can I extend the number decimals of the Amount extended data types?

(1) ShareShare
ReportReport
Posted on by 276
Dear All,
 
I have a very basic problem with ERP that I would like to change the unit price in form sales table from 2 to 4 digits.
 
Recently I just open a ticket to ask Microsoft about this and the answer is scope of support do not cover this matter. However, they will try to treat it as an advisory request and provide the approach if possible and i got a link for any option that be possible. That be Extending decimal point precision for selected data types - Finance & Operations | Dynamics 365 | Microsoft Learn
 
My focusing is:
Then I try to follow up by test in Dev Environment on this subject but I can't continue. Can someone guide me how to do or what's next?
 
this is an image that I try to test in my environment.(SalesPrice that I wish to extend)
 
 
 
I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at
    How can I extend the number decimals of the Amount extended data types?
    Hi,
     
    My suggestion will be better creating a new EDT and map the EDT to SalesPrice field instead of going for extension.
    If you extend the standard EDT it will affect in all the places where it is used, so it's better to create new EDT.
     
    Thanks,
    Girish S.
  • Chomchanok Profile Picture
    276 on at
    How can I extend the number decimals of the Amount extended data types?
    Dear @GirishS
     
    Thank you for your comment but Can you share a document how to do?
     
    BR
  • GirishS Profile Picture
    27,827 Moderator on at
    How can I extend the number decimals of the Amount extended data types?
    Create new EDT - Set the Number of decimals property as you required.
    Extend the Table - Change the EDT property of the SalesPrice field to the above created EDT.
     
    Thanks,
    Girish S.
     
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    How can I extend the number decimals of the Amount extended data types?
    Hi, You can create new EDT, create SalesLine table extension, go to SalesPrice field, right click and in properties replace SalesPrice EDT with newly created one.
     
    However, I don't prefer this approach as you have to replace the new EDT in code as well where SalesPrice EDT is being used as return type of method. If you keep that standard EDT as return type then number of decimals will be incorrect (it will be as per standard EDT).  You can Find reference on SalesPrice field to check if its being used as return type of method.
     
  • Chomchanok Profile Picture
    276 on at
    How can I extend the number decimals of the Amount extended data types?
    DearMohit Rampal,GirishS and all may can favor to me.
     
    I try to follow up your recommendations. by
    1. I do Data Type by Create a new one and extend from the last one.
    (MOTCurrency is Enum) = Can Edit Property
    (SalesPrice.HTSH is Extended from SalesPrice ) = Can't Edit Property
     
    2. I Create Table Extension from SalesLine and I focus the field that I wish to change a digits from 2 to 4
     
    3.I Test by change "Extended Data Type " to SalePrice(That Data Type that I extend). This is no error but nothing chanage because I can't change property value
     
    4.I Test by change "Extended Data Type " to MOTCurrency. It can change Property value but when i build I got an error "[AxTableExtension/SalesLine.HSTHExtension/Fields/SalesPrice/ExtendedDataType]:The extended data type 'MOTCurrency' is not derived from 'SalesPrice'."
     
    Can you guide me what's wrong and how to fixed it?
     
    Thank in advance.
  • Verified answer
    Chomchanok Profile Picture
    276 on at
    How can I extend the number decimals of the Amount extended data types?
    Dear All,
     
    Now I got an answer for this issue thanks all member to share your idea.
     
    Solution: 
    1. Tracking a Field that you want to change a decimal no.
    2. investigate a data type, in case a data type are extend from another you need to drill down until got a root data type.
    3. After you found a data type you need to extend a data type and finetune a property that you want.
    4. Sync Table in your project and run to check a results.
    ==============================
    Cautions
    1. For Data type that you finetune will impact all of data types in a system.
    2. For data type when you change, In case Microsoft have some update it's not impact for that because for Microsoft when they update most of it will impact a code for UI.
    BR.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans