Options

MS Project 2000 Automation

mplatvoetmplatvoet Member Posts: 34
edited 2011-05-27 in Navision Attain
Hi,

I am trying to use MS Project 2000 Automation server in Navision Attain. I get the error that when I use the Application Library from MSProject that the event trigger PROJECTBEFOREASSIGNMENT has been defined more than once. I have looked on the Microsoft site but cannot find a solution there or a known problem. Does anyone know how to solve this or whatelse to do?

Comments

  • Options
    mplatvoetmplatvoet Member Posts: 34
    I already found out what the problem is:
    The length of the function name that Attain allows for fieldlength of event trigger functionnames is limited to 23 characters, while there are 3 functions in MS project that are called:
    ProjectBeforeAssignmentChange
    ProjectBeforeAssignmentNew
    ProjectBeforeAssignmentDelete

    but are all displayd in Attain as:
    ProjectBeforeAssignment
    with different parameters.

    Posted this as a bug to Navision. Hope they fix it soon!
  • Options
    sirkniosirknio Member Posts: 7
    This were resolve to Microsoft Dunamics NAV 2009 R2 with Microsoft Project 11.0 Object Library (Microsoft Project 2003). I will check with Microsoft Project 14.0 Object Library (Microsoft Project 2010)...

    \:D/
  • Options
    SaalekSaalek Member Posts: 181
    Hi

    You can export you object as a TXT file. Open it with Notepad and delete this function declaration lines (or rename it).
    Import again the TXT file to Navision.

    Bye
Sign In or Register to comment.