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 works as follows:
When a change is performed for a FI accounting document (this improvement does not include modifications to FI-CA documents) the following logic applies:

  1. Checks if the functionality is activated through 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. Checks if there is a new eDocument of Invoice Issued, Invoice Received, Investment Good or Intercommunal Operation, otherwise the process ends at this point.
  3. Check if there has been a change in the Invoice ID fields. For this, the previous and new data are mapped and compares for changes, otherwise the process ends at this point.
  4. Set if its needed to generate a cancelled or an annulment eDocument because of the changes in the Invoice ID. To do this, the status history is checked for the original eDocument. In the case the is a register status for "Accepted" or "Accepted with errors", without the status "To include batch", then the cancellation or annulment eDocument is generated for the 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 with the usual procedure.

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:
  Image Removed
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 verde:
Image Removed

3.   Añadir las entradas de determinación de lote para intermedio.

Dado que se añaden nuevos tipos de lote con sus respectivos mapeos para las nuevas bajas por cambio en ID Factura se deberán añadir las condiciones para que se creen dichos lotes, la lógica que se recomienda es que se haga únicamente para tipo de intermedio. Para ello entraremos en la transacción Image Added
You 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:
Image Added

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 FE.
Image Removed
Y las condiciones para el criterio.
Image Removed
Bajas por cambio en ID de Factura para FR.
Image Removed
Y las condiciones para el criterio.
Image Removed
Bajas por cambio en ID de Factura para BI.
Image Removed
Y las condiciones para el criterio.
Image Removed
Bajas por cambio en ID de Factura para OI.
Image Removed
Y las condiciones para el criterio.
Image Removed

4.   Activación del parámetro CAMBIO_ID_FACTURA.

Por último se debe activar el parámetro "CAMBIO_ID_FACTURA" en la transacción lots" and we will create the following entries:
Write-offs for change in Invoice ID for FE.
Image Added
And the conditions for the criterion.
Image Added
Write-offs for change in Invoice ID for FR.
Image Added
And the conditions for the criterion.
Image Added
Write-offs due to change in Invoice ID for BI.
Image Added
And the conditions for the criterion.
Image Added
Write-offs due to change in Invoice ID for OI.
Image Added
And the conditions for the criterion.
Image Added

4.   Activation of the parameter CHANGE_ID_FACTURE.

Finally, the parameter "CHANGE_ID_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ámetro:
Image Removed This 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:
Image Added