ROUND parameter 2

WUFUQIANGWUFUQIANG Member Posts: 42
Hi All,

I got problem when creating a sales order, wheyn typing the order line,
message error was " The value of ROUND parametre 2 is outside the permitted range"
Does anybody have this experince?

Thanks

Comments

  • ara3nara3n Member Posts: 9,257
    Turn on the debugger and see where it stops. My guess, in GLSetup. Your amount rounding percision is set to zero.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • hanthant Member Posts: 115
    I am facing the same issue. When I change the Amount Rounding Precision to 1, I cannot post the payment in payment journal. The message is "The amount % need to be rounded...". Does anyone have any idea about this?
  • ara3nara3n Member Posts: 9,257
    You need to set "Amount Rounding Precision" to 0.01
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • hanthant Member Posts: 115
    But in my country, the lowest value is 1VND. It doesn't make sense that the amount shown as 1.00 or 1.01.
  • ara3nara3n Member Posts: 9,257
    Turn on the debugger an let us know where it errors out. Paste the code in here. It will help solving your problem.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • hanthant Member Posts: 115
    I don't know this code is what you want or not:

    Function EnsertGLEntry(CalcAddCurrResiduals)
    IF GLEntry.Amount <> ROUND(GLEntry.Amount) THEN
    GLEntry.FIELDERROR(Amount,STRSUBSTNO(Text000,GLEntry.Amount));

    Thanks,

    hant

    P/S: the issue happened when we made an apply entry for this payment.
  • ara3nara3n Member Posts: 9,257
    In General Ledger Setup there is anothe field "Appln. Rounding Precision" You need to setup it up as 1 aswell.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • hanthant Member Posts: 115
    :) I set it up already but the issue still stays the same.
  • ara3nara3n Member Posts: 9,257
    Did you set it up before or after?
    Remove the applies to and let it post. Do the application afterwards.
    What is the amound of the payment and what is amount of the invoice that you are aplying?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • hanthant Member Posts: 115
    I set it up before doing payment. The payment and invoice are in USD. Our LCY is VND. If I post payment without doing apply, it's OK. But if I set apply payment at the same time with invoice, I got the error.
  • ara3nara3n Member Posts: 9,257
    Oh ok so different currency. Ok every currency has then it's own
    "Amount Rounding Precision" and "Appln. Rounding Precision" . In currency table you can change them.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.