Mapping for the Canary Islands
To send the XML to the Canary Islands Tax Office, new mapping classes have been created with the new fields and rename of corresponding labels. New classes are created per book and operation, that is, Supply and Cancellation of each book. These classes inherit from the mapping classes that already existed by means of which the mapping for version 1.1 of the AEAT was formed.
The new classes reuse the mapping already defined in the classes of version 1.1 of the AEAT preserving any possible extension. That is to say, the classes created from product for the mapping 1.1 will reuse and conserve the following points:
- Overwrites Methods
- Enhancements
- Pre and Post Methods
- BAdi implementations for fields that already existed
If you are currently using the standard mapping classes and the extensions carried out are those mentioned above, it is not necessary to carry out any adaptation beyond the implementation of the BAdIs of the new fields (BAdIs for the Canary Islands). If, on the other hand, Z mapping classes are being used, it is necessary to create new Z mapping classes that inherit the 1.1 AEAT mapping classes, as well as the standard ones created in the product. The process to follow would be to copy one by one the new mapping classes into a Z class.
Example: copy mapping class for Canary Islands Issued Invoices:
Activate the class.
Change the inheritance of the new Z class to inherit the AEAT 1.1 mapping class Z:
Once the class is created, it must be parameterized in the start menu transaction: "/EDGE/SII_CU_015 - Determination of classes mapping by lot".
We look for the corresponding entry of the batch of Invoices issued from the Canary Islands with version 2 and change the standard class to Z:
This process must be repeated for all mapping classes created for the new version. These mapping classes are set in view EDOMAPCLASSDETV with value 2 in the version field. The same type of mapping (delivery) corresponds to the new and changed batch types.
All the new mapping classes generated for this version are listed below. Generate copies of those that apply:
For customers using the IS-U/FI-CA module the new mapping classes are as follows:
Avvale 2024