This paper considers a hybrid two-stage flowshop problem with a batch processor in stage 1 and a discrete processor in stage 2. Each batch processor can process Z jobs simultaneously and has the fixed processing time. The objective is to minimize the total number of tardy jobs. This problem is shown to be NP-hard. Several properties and lower bound are developed. A heuristic algorithm and a branch and bound algorithm are proposed. The performance ratios of the heuristic algorithm and computational results are presented.