This document presents a detailed analysis of the process through which Protheus extracts information from assets generated in routine ATFA251 (Acquisition by Transfer) for completing the records F120 and F130 of EFD - Contributions.
The Acquisition by Transfer routine performs the posting of one or more assets, allowing their grouping or detailing depending on the configuration set by the user. When you use this process, there is no link to an invoice within Protheus. Thus, the new assets generated have no direct association with the incoming Document (MATA103) to obtain certain values. To comply with the law and make the generation of records F120 or F130 feasible, the system employs other mechanisms.
To fill in the field CL2_VLEXCL of F120 as well as of F130, the system searches for the exclusion value using the incoming invoices of assets that originated the Grouping/Breakdown done in routine ATFA251. For example:
The rules used for searching the invoice values are those detailed in our documentation: EFD Contributions - Content of Field CL2_VLEXCL. In this case, the only change is which assets to use, considering that the Target asset generated in routine ATFA251 has no linked invoice.
Note
To fill in the field "Depreciation Value (CL2_VLOPER)" of F120, the system uses the new asset (target asset) depreciation generated by routine ATFA251 in the month in which the EFD calculation is performed.
To fill in the field "Acquisition Value (CL2_VLAQUIS)" of F130, the system adopts different approaches depending on the setting of parameter MV_BSCREPC:
For fields of F120 and F130, except for Exclusion Value and Acquisition/Operation Values, detailed in the previous steps, the system always uses the new asset (target asset) register generated by routine ATFA251; therefore, it becomes important to correctly fill in the fields related to the EFD on the grid when executing the acquisition by transfer. This defines some questions, such as if the asset will be used in F120 or F130, what the tax rate will be, and their status: