Antes de comenzar la configuración del b+ Core Framework, se deben diseñar los procesos de negocio que se requieren desplegar.
Es muy importante definir los diferentes tipos de procesos, y no utilizar el mismo proceso para todos los procesos que se quieren desplegar; es decir, si estamos en un proyecto de facturación electrónica y estamos diseñando el proceso de recepción de facturas, es conveniente que se diseñe un proceso independiente para:
- Facturas
- Notas débito
- Notas crédito
El único escenario donde se recomienda utilizar el mismo proceso del b+ Core Framework para varios tipos de procesos, es cuando éstos tienen un flujo exactamente igual. Sin embargo, si el cliente requiere monitorear independientemente cada proceso, lo más recomendable es que se diseñen y se desplieguen independientemente.
En este punto nace el concepto de intérprete.
Se recomienda que a cada proceso de negocio que se diseñe se le asigne un único intérprete.
Se recomienda realizar el diseño de los proceso de negocio utilizando la notación BPMN 2.0 y usando una herramienta especializada para ello. Se podría utilizar el SAP NetWeaver Developer Studio para hacer estos diseños o utilizar cualquier otra herramienta especializada para esto como por ejemplo Bizagi.
Para el diseño de estos procesos, se recomienda tener en cuenta lo siguiente:
- Usar la notación estándar BPMN 2.0.
- Utilizar eventos de excepción para modelar los posibles errores o excepciones que pueda tener un paso del proceso.
- En los casos en que el flujo se divida, especificar muy bien cuál es el evento o condición que se deben cumplir para que el flujo se divida.
- Especificar claramente los posibles eventos de finalización del proceso.
- Si existen actores externos como otros sistemas donde el flujo interactúe, se recomienda utilizar Lanes para modelarlos en caso que hagan parte de la infraestructura del cliente, o Pools en caso que estén fuera de la infraestructura del cliente.
A continuación se muestran unos ejemplos del diseño de los procesos para recepción de facturas y de notas crédito/débito:
Recepción de facturas
Recepción de notas débito y crédito (se comportan igualBefore starting to configure the b+ dgtal eInvoice, the business processes to be deployed must be designed.
It is very important to define the different types of processes, and not to use the same process for all the processes to be deployed; i.e., if we are working on an e-invoicing project and we are designing the invoice reception process, it is advisable to design a separate process for:
- Invoices
- Debit notes
- Credit notes
The only scenario where it is recommended to use the same b+ dgtal eInvoice process for several types of processes is when they have exactly the same flow. However, if the client requires independent monitoring of each process, it is recommended that they are designed and deployed independently.
This is where the concept of the business unit is born.
It is recommended that each business process to be designed be assigned a single business unit.
It is recommended that the design of the business processes be carried out using the BPMN 2.0 notation and using a specialised tool for this purpose. SAP NetWeaver Developer Studio could be used to make these designs or any other specialised tool for this purpose, such as Bizagi.
For the design of these processes, it is recommended that the following be taken into account:
- Use standard BPMN 2.0 notation.
- Use exception events to model possible errors or exceptions that a process step may have.
- In cases where the flow is split, specify very well which event or condition must be fulfilled for the flow to be split.
- Clearly specify the possible termination events of the process.
- If there are external actors such as other systems where the flow interacts, it is recommended to use Lanes to model them in case they are part of the customer's infrastructure, or Pools in case they are outside the customer's infrastructure.
The following are examples of the design of the processes for invoice and credit/debit note receipt:
Invoice reception
Receipt of debit and credit notes (behave the same)