Where Should Business Logic be Handled?
Hello,
We are pretty new to SnapLogic, and are trying to develop guidelines for our developers. We received a best practices document from SnapLogic, and one of the items states to handle application/business logic within the source/target applications, not in SnapLogic. I wanted to get some thoughts and opinions on this.
Say we want to create an integration from our CRM to our ERP that creates AR invoices. One of the fields the CRM provides is invoice type, and we need to do certain logic based on the different invoice types. For instance, we might want to set the invoice date or generate revenue recognition differently based on the different invoice types.
In the scenario above, the best practices document recommends that we should handle the invoice type logic either in the CRM or in the ERP, meaning we have to develop something in the source/target application to handle this logic.
What are your thoughts on the general best practice and the scenario above?
Thank you in advance for the responses.