Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

chunk

Posted on by Microsoft Employee

hello,

i edited a chunk file in dexterity to add some new tables. I removed the old chunk and changed the dynamics.set to reflect on the change. I also deleted the previously created tables and stored procedures created by the old chunk from the sql. I installed the chunk, it was added properly, the tables and stored procedures were created on the sql but when i run it in GP it gives me resource not found message when it tries to access the new tables. Should i have changed anything else besides the dynamics.set when i removed the old chunk? or is it something else?

thanks in advance

*This post is locked for comments

  • winthropdc Profile Picture
    winthropdc on at
    Re: Re: Re: chunk

    Glad you were able to get it sorted.

    David

    David Musgrave [MSFT]
    Escalation Engineer - Microsoft Dynamics GP
    Microsoft Dynamics Support - Asia Pacific

    Microsoft Dynamics (formerly Microsoft Business Solutions)
    http://www.microsoft.com/Dynamics

    mailto:David.Musgrave@online.microsoft.com
    http://blogs.msdn.com/DevelopingForDynamicsGP

    Any views contained within are my personal views and not necessarily Microsoft policy.
    This posting is provided "AS IS" with no warranties, and confers no rights. 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Re: chunk

    I didn't  edit the chunk directly. What i meant actually is that i made the changes to my working dictionary and extracted a new chunk.

    I have been able to make it work by using a clean copy of the GP directory before the chunk was added to it, so i am guessing that the chunk is alright, just some change in the directory made by the chunk previously installed is causing the problem.

    I didn't think of removing the custom forms and reports dictionaries, you are probably right that is the only thing left that could have changed in the directory.

    thank you so much

     

     

  • winthropdc Profile Picture
    winthropdc on at
    Re: chunk

    Hi there

    Please can you clarify how you have edited the chunk file? 

    Chunk files cannot be edited directly.  You need to have a development dictionary which is a clean Dynamics.dic with all your additional resources and source code (and possibly modified forms and/or reports) added to it.

    From this dictionary you can recreate the chunk using Dexterity Utilities to create an extracted dictionary of all your changes and then create the chunk from the extracted dictionary.

    For more information, KB articles, Training Materials and advice, have a look at the following links:

    http://blogs.msdn.com/developingfordynamicsgp/pages/dexterity-articles.aspx

    http://blogs.msdn.com/developingfordynamicsgp/archive/2008/08/11/how-to-get-started-with-dexterity.aspx

    The steps you took at the application level seem fine.  Infact you don't have to change the Dynamics.set launch file if the details are the same and the chunk is being re-installed straight away.

    Needing to delete SQL objects also depends on how your code handles the re-creation.  My code normally checks for all the tables and so would see that the new ones are missing and so create those ones.  The existing tables would not be recreated again and so no data is lost.  However, deleting them makes extra sure.

    If removing the application dictionary, it would also be safest to remove the custom forms and reports dictionaries if they exist for that application.

    Also, make sure you are using an index file if using Source Code Control.

    David Musgrave [MSFT]
    Escalation Engineer - Microsoft Dynamics GP
    Microsoft Dynamics Support - Asia Pacific

    Microsoft Dynamics (formerly Microsoft Business Solutions)
    http://www.microsoft.com/Dynamics

    mailto:David.Musgrave@online.microsoft.com
    http://blogs.msdn.com/DevelopingForDynamicsGP

    Any views contained within are my personal views and not necessarily Microsoft policy.
    This posting is provided "AS IS" with no warranties, and confers no rights. 

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans