if (salesOrderDetail != null && salesOrderDetail.Recipe != null)