how to compare value1of page1 with value2 with page2

mdsrmdsr Member Posts: 163
edited 2020-03-13 in NAV Three Tier
Hi all ,
I have one field in page One which have value as 200
on page two user enter value should same as page one ie;200 if not give error
how to achive it i don't know what is code should use and on which page or trigger?
Thanks in advance

Answers

  • lubostlubost Member Posts: 623
    Let name CPage - user entering value and RefPage - reference page.
    1. Create global function Compare in RefPage with parameter of compared value and boolean return value
    2. In OnValidate trigger of entered value in CPage and call Compare function in RefPage with entered value as a parameter
  • mdsrmdsr Member Posts: 163
    edited 2020-03-16
    @lubost sir i am not getting what you are trying to say
Sign In or Register to comment.