Error During Adjust Item Cost.

postsauravpostsaurav Member Posts: 708
edited 2014-08-04 in NAV Three Tier
Hi all,

All the Objects are standard in the database. This is W1 Database.

While running the Adjust Item Cost Entries, i am getting below error in NAV 2013 W1.



I know its exceeding the limit of Data type Length.

What can be the possible cause of the issue?

Thanks in advance.

Thanks & Regards,
Saurav Dhyani

Do you Know this About NAV?


Connect - Twitter | Facebook | Google + | YouTube

Follow - Blog | Facebook Page | Google + Page

Comments

  • jglathejglathe Member Posts: 639
    Hi,

    sounds like a near-division by zero. Where does the debugger stop?

    with best regards

    Jens
  • postsauravpostsaurav Member Posts: 708
    Hey Jens,

    The Debugger Stops at Function SumCostsTillValuationDate in Table 5802.

    At the point -
    "Cost Amount (Actual) (ACY)" :=
        "Cost Amount (Actual) (ACY)" * QtyFactor + PrevValueEntrySum."Cost Amount (Actual) (ACY)";
    

    Let me know if you require any further information.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • TonyDuarteTonyDuarte Member Posts: 92
    Did you check the values that are used in the calculation?
    These 3: QtyFactor and "Cost Amount (Actual) (ACY)" and PrevValueEntrySum."Cost Amount (Actual) (ACY)"

    I checked the start of the function, and I could say it could either be a problem with the QtyFactor calculation or something several SetRange's used before.

    But I have to ask what build are you using? It could be a problem already solved...
Sign In or Register to comment.