Custom development or SaaS subscription? The short answer is 'it depends', but there are clear criteria...