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