Product |
TOTVS Backoffice
|
Product Line | Protheus Line |
Segment | Services |
Module | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)
|
Function | CTBS011 |
Country | Brazil |
Ticket | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
The Entry Point ECDCHVMOV is used to allow key handle during the process of exporting transaction from the CT2 table for the ECD (Digital Accounting Bookkeeping). It provides the client with the flexibility to adjust the export key according to specific needs, ensuring that the exported data complies with the company's accounting and fiscal criteria.
With ECDCHVMOV, it is possible to implement customized logics to define the export key, adapting the system's standard behavior and ensuring that the export is performed accurately and meets the business's particularities, thereby facilitating compliance with the legal and regulatory requirements of the ECD.
If ExistBlock( "ECDCHVMOV" ) cChave := ExecBlock( "ECDCHVMOV", .F., .F.) EndIf
#INCLUDE "PROTHEUS.ch" #INCLUDE "rwmake.ch" User Function ECDCHVMOV() Local cAliasCT2 := Alias() Local cTpSald := (cAliasCT2)->CT2_TPSALD Local cChavet := " " Local cLote := (cAliasCT2)->CT2_LOTE Local cFilMov := (cAliasCT2)->CT2_FILIAL Local cSbLote := (cAliasCT2)->CT2_SBLOTE If cFilMov == '01' .AND. cTpSald == '1' cChavet:= cLote + cSbLote EndIf Return cChavet
Important!