Webclient page refresh issue | NAV 2016 W1

abhi1901abhi1901 Member Posts: 102
Hi All,

I am facing issue with web client.

In any document page I am updating subpage from Action button.
Records are getting inserted in sub page table.
This works fine in windows client but in webclient it doesnt shows the record.
Even if i press refresh(F5) lines didnt populated.

Once I close and repoen the same order than it shows record in lines.
I have used commit and tried all things.
Only when I keep message box it refresh in webclient.

We have commited the client that will give webclient only.
And i need this to work anyhow.
Is there any way can do it ???

Please help on this...

Answers

  • pleachim@outlook.compleachim@outlook.com Member Posts: 24
    Hi,
    I tested this in NAV 2017 CU10. I have an action which inserts Item 70000 in the Sales Order Document. (Standard).
    After this I have a simple CurrPage.Update(false) in my action.
    It works like a charm.
    I have no 2016W1 at the moment. Have you checked the UpdatePropagation Property on the Part in your Document Page?

  • abhi1901abhi1901 Member Posts: 102
    Hi,
    I tested this in NAV 2017 CU10. I have an action which inserts Item 70000 in the Sales Order Document. (Standard).
    After this I have a simple CurrPage.Update(false) in my action.
    It works like a charm.
    I have no 2016W1 at the moment. Have you checked the UpdatePropagation Property on the Part in your Document Page?

    This is fine when we get response at the same time without delay..
    in my case i am using hyperlink to open a webpage and from webpage when user will press submit then it will call my codeunit which has been published as webservice and will insert the record in page and sub page.
    it like pulling the order from some web workshop.

    this whole thing is calling from the action of the same page where we are inserting the record.
  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    Try inserting SELECTLATESTVERSION in your code on a page/in codeunit, after calling the web service to insert new record

    I guess your web services are handled by another NST than your web client connections, aren't they?

    Slawek
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Sign In or Register to comment.