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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to increate Inventtrans.Qty - No of decimals precision - 4

(0) ShareShare
ReportReport
Posted on by 2,426

Good morning,

How can i increase Qty - No of decimals precision - 4 using extensions.

Please provide me some light on this.

What is the better approach to achieve this.

Regards,

Have a great day.

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Have you already checked the documentation?

    docs.microsoft.com/.../decimal-point-precision

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    By the way, what is your business requirement? Why do you need 4 decimals? Quite often you can just use a different unit and get the same result with standard 2 decimals. For example, instead of 0,0001 kg you can handle 0,1 grams. I suggest you explore this option before doing any development.

  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi AX2012,

    You need to extend the edt for the quantity. Make sure after the change you validate different functions of the system.

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Nikaloas,

    It was one of the requirement which they need it at any cost.

    Please help me in doing this.

    So for InventTrans .Qty  if i change that in Field of Qty Edt - My new Edt with No of decimals - 4 .

    Will that makes sense or please suggest me right way.

    Regards,

    Have a nice day.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    It's described pretty well in the documentation. Did you read it? The chapter "Product quantity" matches your requirement. Please understand that it has much wider impact than just one field in one table (InventTrans).

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Nikaloas,

    I have read that when you suggested in first reply

    But here they have mentioned like this

    "you must extend the decimal point precision of the ProductQuantity, CostQuantity, and CAMMagnitude extended data types."

    Should i extend these 3 and change the No of Decimal precision to - 4

    And i can understand there will be impact but i dont know to convence them can you please tell me what will be impact so that i may convey that by doing this so and so will happen and if they agree for that then i will do that.

    Please suggest .

    Regards,

    Have a nice day.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Yes, you understood the doc correctly. Just try it! Then you will see the impact.

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Nikolaos,

    Yes i understood that the value of decimal will come up as 4.

    But my question is what impact can have in system if i change to 4 Because i am not aware of this.I mean if this breaks functionality ?

    Regards.

    Have a nice day.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    It will not break any functionality. Some reports might need dev adjustments since the report design might not fit 4 decimals.  You can find plenty of discussions on the topic by searching the web (as usual).

    I'm still curious about your business requirement, and why the customer feels they need this modification. Is this something you could share with us?

    Every now and then I hear need to have more than 2 decimals for prices, but not so often for inventory quantities. After all we have so many units such as mg, g kg, t that it would seem that any quantity could be represented with 2 decimals, when using appropriate unit. If someone has such business that they feel they need 4 decimals, it would be very interesting to hear more details.

  • Crispin John Augustine Profile Picture
    37,081 on at

    All currency amounts are only valid with 2 decimals precision.

    Given the fact, quantiy directly impacts amount, if your quantity is precise upto 4, you will have extremely inconsistent rounding loss/gain.

    An alternative approach is to use Price unit effectively.

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 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans