Options

CURRPAGE.UPDATE(TRUE); Inserts Blank Line in table

Ravi_ThakkarRavi_Thakkar Member Posts: 392
edited 2012-05-01 in NAV Three Tier
Dear All,

As I have found that, in IN Country database, Page 16477 Pay Service Tax is a List type of page.
Page contains CurrPage.Update(TRUE); line in OnActivateForm function which is called in OnOpenPage trigger.
This line CurrPage.Update(TRUE); causes a Blank line insertion into table 16476.

If I write CurrPage.Update(FALSE); then it resolves my issue.

Please, suggest whether we should correct by making FALSE from TRUE ? or any other suggestion?

Thanks & Regards,
Ravi Thakkar
Ravi_Thakkar
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com

Comments

  • Options
    jglathejglathe Member Posts: 639
    Hi Ravi,

    yes that should solve it. The more interesting question is if an update in On OpenPage is required... I'd say not.

    with best regards

    Jens
  • Options
    Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Thanks for your valuable reply.

    Please, suggest me how should I check whether CurrPage.Update(TRUE); is not required in OnOpenPage perticular for this page.
    Any technical or functional justification?

    Thanks in advance.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
Sign In or Register to comment.