Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

NAV timestamps for high performance integration

(0) ShareShare
ReportReport
Posted on by 40

Hello,

I've got two questions.

1)

I was wondering if there is a way to access timestamps on Service Order Allocations (table 5950) through web services in NAV.  I've enabled the Web Service for Page 6001 Service Order Allocations and with that I can list and update Allocations. However, I want a high performance way to detect updated Allocations and checked in the SQL database table and found the timestamp field. How do modify the Web Service so it displays the timestamp field?

I've found that timestamps are available if you integrate with C/Front. Is that my only option?

http://www.rapidionline.com/blog/bid/75943/MS-Dynamics-NAV-Integration-How-to-Access-NAV

 

2)

When I try to reallocate a Service Order Item to another resource in the RoleTailor client I get the dialog "Reallocation Entry Reasons". That seems to be the problem when I try to reallocate a Service Order Item with the web service and get the exception "Client callback (such as showing Pages) is not supported when executing custom Web services. ENU=Reallocation Entry Reasons"

How do I avoid this exception and reallocate properly?

 

Best regards 

Erik

*This post is locked for comments

  • Erik Boström Profile Picture
    Erik Boström 40 on at
    Re: NAV timestamps for high performance integration

    Thanks for the answer about GUIALLOWED!

    To solve the timestamp issue I use triggers to populate a new table with the updated records in Service Order Allocations.

  • Verified answer
    Scott Wright Profile Picture
    Scott Wright on at
    Re: NAV timestamps for high performance integration

    Hello Erik,

    Thank you for posting your questions to the Microsoft Dynamics NAV Forums.

    1) The timestamp column on NAV table within SQL Server is used internally to mimic the versioning principle from the Navision Native database. This means that you won't find the timestamp field show up on any table descriptions and C/AL does not have access to this field.

    2) To suppress dialog windows with a NAS or web service you can use guiallowed conditional statements. You'll need to review the code and add them around the prompts, such as the 'Reallocation Entry Reasons' in this case.

    GUIALLOWED Function

    msdn.microsoft.com/.../dd339064.aspx

    Hope this information helps and please let me know if there are any other questions.

    Kindest Regards,

    Scott Wright

    Partner Online Technical Community

    -----------------------------------------------------------------------------------------

    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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans