Good afternoon,
I am trying to use the logic below but i keep getting a malformed if statement error. What am i missing?
iif(IsNull([actual_ship_dt]),"Pending Delivery",iif(IsNull([delivery_appt_to_dt]),iif([scheduled_delivery_to_dt]<DateTimeToday(), "Delayed (non appt)",iif([apt_rqrd_yn] ="Y","Del Appt Required", iif([scheduled_delivery_to_dt] > DateTimeToday(), "Future Delivery","Status Pending")))