web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Erik Boström Profile Picture
    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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans