Question Status

Verified
jsshivalik asked a question on 11 Oct 2017 11:53 AM

Hi

  I want to check that if condition is not true in If condition that

Posting Date should be >= GetRangeMin(Posting date) and GetRangeMax <= (Posting Date). then it should display message.

Thanks

Reply
Verified Answer
Mohana Yadav responded on 11 Oct 2017 12:00 PM

IF NOT (your condition) THEN

Reply
Zaid Tariq responded on 11 Oct 2017 1:15 PM

IF I am not wrong you want something like this:

IF ((Posting Date >= GetRangeMin(Posting date)) AND  (GetRangeMax(Posting Date) <= Posting Date)) THEN

MESSAGE('HELLO'); 

Reply
Suggested Answer
Suresh Kulla responded on 12 Oct 2017 10:01 AM

As Mohana mentioned you could use IF NOT. Could you tell us what is your requirement and you condition does not look right to me.

Reply
Manish Sharma responded on 12 Oct 2017 11:59 PM

You can find this condition in Codeunit 13, where it checks posting date is in range of allowed posting date for user.

Reply
Verified Answer
Mohana Yadav responded on 11 Oct 2017 12:00 PM

IF NOT (your condition) THEN

Reply
Suggested Answer
Suresh Kulla responded on 12 Oct 2017 10:01 AM

As Mohana mentioned you could use IF NOT. Could you tell us what is your requirement and you condition does not look right to me.

Reply