Sorting order change from Native to SQL in NAV

AsiriAsiri Member Posts: 26
Hi,

We have converted NAV Native DB to SQL 2000. Now all the records in the Chart of Accounts and Dimensions has changed their order. Earlier it was like 100, 110, 120,...... 1000.

Now this has changed as 100, 1000, 110, 120...... And our Begin Totals & End totals has gone mad. Is there any solution for this.

Please help me on this.

Thks,
Asiri

Comments

  • garakgarak Member Posts: 3,263
    Take a look into the properties of these field (in table designer)
    There is a property for SQL. Here you can change the SQL Datatype and the order.

    For more questions, search the forum, there are many posts about this..

    Regards
    Do you make it right, it works too!
  • krikikriki Member, Moderator Posts: 9,110
    garak wrote:
    Take a look into the properties of these field (in table designer)
    There is a property for SQL. Here you can change the SQL Datatype and the order.

    For more questions, search the forum, there are many posts about this..

    Regards
    Yes, but you should change the property on ALL fields where G/L Accounts are used. This means also "No." in sales line and in those you can also put items....
    So in short it is better to rename the G/L accounts.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • ajhvdbajhvdb Member Posts: 672
    kriki wrote:
    So in short it is better to rename the G/L accounts.

    To what? 100 = 000100
  • AsiriAsiri Member Posts: 26
    Thks sir
  • ara3nara3n Member Posts: 9,256
    ajhvdb wrote:
    kriki wrote:
    So in short it is better to rename the G/L accounts.

    To what? 100 = 000100

    I would add a one at the beginning of the account no.

    100 = 1000100
    1000 = 1001000
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • krikikriki Member, Moderator Posts: 9,110
    The idea for renaming is that in every account you have the same number of digits and not a variable number.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • WaldoWaldo Member Posts: 3,412
    If you do go for changing the SQL datatype - change it to Variant to avoid problems with the AltSearchField.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
Sign In or Register to comment.