Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

3.7. Autogestión eDocument en cambios en ID de Factura

Esta funcionalidad actúa de la siguiente manera:
Cuando se hace un cambio sobre un documento contable FI (esta mejora no contempla modificaciones sobre documentos FI-CA) se aplica la siguiente lógica:

...

This functionality acts as follows:
When a change is made to a FI accounting document (this improvement does not include modifications to FI-CA documents) the following logic applies:

  1. The first check that is made is if the functionality is activated by the parameter "CHANGE_ID_FACTURA" con el with the flag "X" en la transacción in the transaction "/EDGE/SII_CU_011 - Parametrización MW en in SII". En caso contrario la funcionalidad no se aplicará.
  2. Posteriormente se chequea si existe un eDocument de alta de Factura Emitida, Factura Recibida, Bien de Inversión u Operación Intercomunitaria, en caso contrario el proceso termina en este punto.
  3. El siguiente punto consiste en comprobar si ha habido un cambio en los campos del ID Factura. Para esto se aplicará el mapeo sobre los datos anteriores y los nuevos y se revisará si ha habido algún cambio en dicho mapeo resultante para los campos de ID Factura, en caso contrario el proceso termina en este punto.
  4. El siguiente punto consiste en determinar si se debe generar un eDocument de baja por cambio en el ID de Factura. Para ello se hace una comprobación del histórico de estados por los que ha pasado el eDocument original. En el caso de que exista un "Aceptado" o "Aceptado con errores" sin un "A incluir a lote" posterior se generará un eDocument de baja por ID de Factura, estos eDocuments han de incluirse en lotes y enviarse siguiendo el flujo habitual.
  5. Se reiniciará el estado del eDocument original al estado "A incluir a lote".
  6. Se eliminará la entrada anterior de la tabla de relación entre eDocuments e IDs de Factura y se hará la nueva gestión de obsoletos para el nuevo ID de factura.

Acciones manuales a realizar para activar la funcionalidad.

1.   Instalación de las órdenes.

Instalación de la versión correspondiente de la manera habitual.

2.   Activación de los nuevos tipos de eDocument para la sociedad.

...

  1. Otherwise the functionality will not be applied.
  2. Subsequently it is checked if there is a high eDocument of Invoice Issued, Invoice Received, Investment Good or Intercommunal Operation, otherwise the process ends at this point.
  3. The next point is to check if there has been a change in the Invoice ID fields. For this, the mapping will be applied to the previous and new data and it will be checked if there has been any change in the resulting mapping for the Invoice ID fields, otherwise the process ends at this point.
  4. The next step is to determine if a low eDocument must be generated by change in the Invoice ID. This is done by checking the history of the states that the original eDocument has passed. In the case of an "Accepted" or "Accepted with errors" without a "To include batch" later will generate a low eDocument by Invoice ID, these eDocuments must be included in batches and sent following the usual flow.
  5. The original eDocument status will be reset to the "Include Batch" status.
  6. The previous entry in the relationship table between eDocuments and Invoice IDs will be deleted and the new management of obsolete for the new invoice ID will be made.

Manual actions to activate the functionality.

1.   Installation of orders.

Installation of the corresponding version in the usual way.

2.   Activation of new eDocument types for company.

When transporting the order, new types of eDocument are added for the losses by change of Invoice ID, these types have to be activated for the companies of the project. For this we use the transaction "/EDGE/SII_CARGA_SOC" con descripción with description "SII - Carga de Charge of companies param. sociedades " .
Las entradas correspondientes a las sociedades habrán quedado marcadas en amarillo
The entries corresponding to the companies will have been marked in yellow:
 
Se deberán marcar las entradas y pulsar el botón "Recargar Sociedad", después seleccionaremos la orden de transporte para el transporte a los distintos sistemas, si volvemos a iniciar la transacción veremos las entradas marcadas en verdeYou must mark the entries and press the "Reload Company" button, then we will select the transport order for the transport to the different systems, if we start the transaction again we will see the entries marked in green:

3.

...

  Add the batch determination inputs for intermediate.

Since new types of batch are added with their respective mapping for new declines by change in Invoice ID, the conditions must be added to create such batches, the recommended logic is that it be done only for intermediate type. For this we will enter the transaction "/EDGE/SII_CU_007 - Condiciones para lotes Conditions for SII " y crearemos las siguientes entradas:
Bajas por cambio en ID de Factura para lots" and we will create the following entries:
Write-offs for change in Invoice ID for FE.

Y las condiciones para el criterioAnd the conditions for the criterion.

Bajas por cambio en ID de Factura para Write-offs for change in Invoice ID for FR.

Y las condiciones para el criterioAnd the conditions for the criterion.

Bajas por cambio en ID de Factura para Write-offs due to change in Invoice ID for BI.

Y las condiciones para el criterioAnd the conditions for the criterion.

Bajas por cambio en ID de Factura para Write-offs due to change in Invoice ID for OI.

Y las condiciones para el criterioAnd the conditions for the criterion.

4.  

...

Activation of the parameter CHANGE_ID_

...

FACTURE.

Por último se debe activar el parámetro "CAMBIOFinally, the parameter "CHANGE_ID_FACTURA" en la transacción FACTURE" must be activated in the transaction "/EDGE/SII_CU_011 - Parametrización MW en parameterization in SII". Este parámetro sirve como switch y nos permite activar y desactivar la funcionalidad rápidamente. Para que la funcionalidad esté activa se debe dar el valor "X" a dicho parámetroThis parameter serves as a switch and allows us to activate and deactivate the functionality quickly. In order for the functionality to be active, the value "X" must be given to this parameter: