Order Active Type Name Expression RateExpression SurchargeExpression NameExpression DescriptionExpression 9010 False ErrorExit No State Entered ShippingAddress.StateProvince = null "Please enter Country, State, and Zip" 9020 False ErrorExit No Zip Entered ShippingAddress.ZipPostalCode = null "Please enter Country, State, and Zip" 9030 True ErrorExit Missing Country State Zip ShippingAddress.Country = null or ShippingAddress.ZipPostalCode = null or ("US,CA".Contains(ShippingAddress.Country.TwoLetterIsoCode) and ShippingAddress.StateProvince = null) "Please enter Country, State, and Zip" 9040 True ErrorExit No PO Boxes ShippingAddress.Address1 != null and Regex.IsMatch(ShippingAddress.Address1, "(?i)\b(?:Post\ (?:Office\ )?|P[.\ ]?O\.?\ )?Box\b") "Sorry, we can't ship to PO Boxes-" 9050 True ErrorExit Check US Zip Code ShippingAddress.Country.TwoLetterIsoCode = "US" and !Regex.IsMatch(ShippingAddress.ZipPostalCode,"^\d{5}(?:[-\s]\d{4})?$") "Invalid Zip Code" 9060 True ErrorExit Check CA Zip Code ShippingAddress.Country.TwoLetterIsoCode = "CA" and !Regex.IsMatch(ShippingAddress.ZipPostalCode,"^([ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ])\ {0,1}(\d[ABCEGHJKLMNPRSTVWXYZ]\d)$") "Invalid Zip Code"