Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Increase field length

Posted on by

Dear All,

How to change the size of field in ax 2012?

Regards,

Work

Categories:
  • Keshav Kumar Profile Picture
    Keshav Kumar 220 on at
    RE: Increase field length

    Hi Workkb,

    You can clean your usage data and after that restart your AOS. It might work.

    Regards,

    Keshav

  • RE: Increase field length

    Hi Work...

    I believe changing create your own EDT and assign it to Customer Reference field in SalesTable is better idea. I've run it on my environment and it works.

    I suspect you have some issues with data synchronization - as you mentioned ALTER TABLE doesn't work. Could you confirm that after changing EDT for the field and running data synchronization the field in database has still "old size"?

    Best

    Sebastian

  • neethukbabu Profile Picture
    neethukbabu on at
    RE: Increase field length

    Hi,

    I will explain in detail.

    I have one field named "Customer Reference" in SalesTable and its EDT is custRef(custRef has 60 stringsize).

    So i checked custRef EDT. This extends personName and has stringsize of 60,again i checked PersonName EDT and this extends Name EDT. Finally i reached to Name with string size of 60. I tried to change stringsize of Name EDT,because that is the base. But after changing this, nothing was working properly. So i thought to create new EDT and attach it to Customer Reference field, that also not working. after changing that when i open 'All sales orders' from Sales and Marketing module,the above error is getting. So i reset it to previous one and now it is opening properly.

    I tried to change it in the database also using alter table option, that also throwing error. some privilege issues.

    I have done synchronization compilation everything.

    I just would like to know, if any other solutions for this.

    Regards,

    Work

  • RE: Increase field length

    Can you please say which EDT you changed?

    Did you recompile the application after the change?

  • RE: Increase field length

    When exactly the error is thrown? Are you trying to open up the specific form?

  • neethukbabu Profile Picture
    neethukbabu on at
    RE: Increase field length

    Hi Sebastian,

    Yes I have done synchronize also.. But no luck.

    Any other option?

    Regards,

    Work

  • RE: Increase field length

    Did you synchronize database after changing size of EDT? If not... please do it - I believe it will help.

    Best

    Sebastian

  • neethukbabu Profile Picture
    neethukbabu on at
    RE: Increase field length

    Dear All,

    Sorry for the delay in reply.

    Please Find Attached Below.

    4628.Error.jpg

    Regards,

    Work

  • Mahmoud Hakim Profile Picture
    Mahmoud Hakim 17,887 on at
    RE: Increase field length

    can you share screen shoot from error

  • neethukbabu Profile Picture
    neethukbabu on at
    RE: Increase field length

    Hi Hakim,

    The string size is associated with Extended Data Types and I tried to change it in the EDT. But it is throwing some error.

    Is there any other solution?

    Regards,

    Work

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,263 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,112 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans