Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI All,
I have written the below condition to get flag in script:
if(Equipment=Equipment_Sales_LookUp
and Posting.Date>=Start_DT_New and Posting.Date<=End_DT_New,'Contract Period','Outside Contract Period' )as Contract_Flag
Now the problem is when i have data as Outside Contract Period i want to get the few fields data as null. i don't want to see any records . Can you please suggest me on this.
This should happen in script and all the fields are in 1 table.
Thanks,
Bharat
HI Prashant ,
In the above image i want Start date , End date , Salesdocument and Item columns as null because here the below condition is not matching
Posting.Date>=Start_DT_New and Posting.Date<=End_DT_New,'Contract Period','Outside Contract Period' )
where ever my posting date is <start end i want Start date , End date , Salesdocument and Item fields to be null.
These columns i bought in through mapping.
Please let me know if you need anything more.
I tried with your conditions and the flag is evaluating properly.
Below image for reference:
I
Please let me know if you need anything more.
Sure but that is the same expression i have written earlier:
if(Equipment=Equipment_Sales_LookUp
and num(Posting.Date)>=num(Start_DT_New) and num(Posting.Date)<=num(End_DT_New),'Contract Period','Outside Contract Period' )as Contract_Flag,
Please let me know if i need to change any where