locked
Rounding-issue with "Quantity"in Order Product RRS feed

  • Question

  • Hi,

    I have a issue with users that tries to change "quantity" in Order Product:

    

    We have the following scenario:
    1. User opens an active Order and go into one of the order products
    2. User select the field for quantity
    3. User Enter "1,07"
    4. User press "tab" or left click outside the field
    5. The number is immidiatly rounded down to 1.

    The funny thing is that this only affects some users. When other users do the same thing the decimal numbers are preserved.
    Anyone have any idea on what triggers this "sporadic" rounding?

    regards,

    Marius H. Enerud

    Wednesday, October 25, 2017 8:34 PM

All replies

  • Hi Marius, 

    I think that this link could help you about your problem :  https://community.dynamics.com/crm/f/117/t/121749 

    Kind regards,

    Moh

    • Proposed as answer by Moh Helper Thursday, October 26, 2017 9:32 AM
    • Unproposed as answer by Moh Helper Thursday, October 26, 2017 11:54 AM
    Thursday, October 26, 2017 9:32 AM
  • No, this is not a relevant link.

    My issue is that the native quantity-field on Order Product  rounds down or up even when no rounding are defined on Price List Item.

    Thursday, October 26, 2017 11:12 AM
  • Marius, 

    In the price list item linked what is the value of the field "quantity selling option" ? 

    If it's "no control" I suspect CRM randomly select between "whole" and "whole and fraction" values. And so CRM will trigger a round on the quantity field if CRM chooses the whole value. it's just a hypothesis.

    Could you test with the value "whole and fraction" ? I think that it will resolve this issue. 

    Kr, 

    Moh

    • Proposed as answer by Moh Helper Thursday, October 26, 2017 12:40 PM
    • Unproposed as answer by Moh Helper Thursday, October 26, 2017 2:03 PM
    Thursday, October 26, 2017 12:40 PM
  • Thanks for the tip, Moh.

    Unfortunately, I tried to change all Price Liste Item to "whole and fraction" but the rounding still occur (ie: "2,13" becomes "2")

    Thursday, October 26, 2017 2:00 PM
  • You can also check the Quantity attribute of your Order Product and ensure the presicion is set to 2 and not 0 and after try with the value "whole" fot the quantity selling option ? 


    Thursday, October 26, 2017 2:09 PM