Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Suppressing a section based on multiple conditions

$
0
0

hi Amol,

 

do you want all conditions to be met at the same time, or do you want to differentiate between the current set and the new condition use an "OR" statement...if you want all conditions to be met at the same time, you can use something like

 

if {Invoice_Details_Prn.sLineCode}=["SL"]

and ({Invoice_Details_Prn.dPrice})=0

and not({Invoice_Details_Prn.sLineCode}=["CL"])

then true



if you want an OR condition you can use something like

 

if {Invoice_Details_Prn.sLineCode}=["SL"]

and ({Invoice_Details_Prn.dPrice})=0

or not({Invoice_Details_Prn.sLineCode}=["CL"])

then true


or do you just need to ensure that when sLineCode = CL that the details section is never suppressed...


if {Invoice_Details_Prn.sLineCode}=["CL"]

     then false

else

if {Invoice_Details_Prn.sLineCode}=["SL"]

and ({Invoice_Details_Prn.dPrice})=0

     then true


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>