Cost price calculation flow chart