Truncating the last character of the Method Name

ajaybabuChajaybabuCh Member Posts: 208
Hi

I have one automation library TestLib. In the TestLib I have a method "doReservationWithoutDisplayScreen".

I can access this library through Navision. I declared one automation variable which is pointing to the Automation Server "TestLib" in my codeunit.

I called the following function in my codeunit

TestLib.doReservationWithoutDisplayScreen('','','');

I compiled ,saved and closed the codeunit.

When I again open the codeunit , it is showing

TestLib.doReservationWithoutDisplayScree('','','');

it is removing the last character 'n' and showing "TestLib.doReservationWithoutDisplayScree".

and codeunit is not compiling until I added the last character 'n' that is TestLib.doReservationWithoutDisplayScreen('','','');

Can anybody help , why it is behaving like this

My codeunit symbol menu is showing TestLib.doReservationWithoutDisplayScreen,
not TestLib.doReservationWithoutDisplayScree

Thanks and Regards
Ajay
Ajay

Comments

  • WaldoWaldo Member Posts: 3,412
    Seems like a bug to me.
    Which client version are you using ... did you try it with a newer version of the client?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • ajaybabuChajaybabuCh Member Posts: 208
    I am cheicking with Dynamics Nav 5.0 client
    Ajay
  • kinekine Member Posts: 12,562
    NAV has limited length of the function identifier to 30. If the name is longer, just first 30 characters will be used.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • WaldoWaldo Member Posts: 3,412
    But still. It's a bug (imho).
    YOu can type it in, compile it, use it ... but not recompile it.

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