...
Product | Produto:
| |||||||||||||
| Linha de Produto: |
| |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Segmento: |
| |||||||||||||
Product Line | Protheus Line | |||||||||||||
Segment | Services | |||||||||||||
Module | TOTVS Backoffice (Protheus Line) - Managerial Accounting | Módulo: |
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB)
| Função:||||||||||
Function | CTBS011 | |||||||||||||
Country | BrasilBrazil | |||||||||||||
Ticket | :Interno | Internal | ||||||||||||
Requisite/ | StoryStory/Issue | DSERCTR1-46748 |
...
O ponto de entrada ECDCHVMOV é utilizado para permitir a manipulação da chave durante o processo de exportação de movimentos da tabela CT2 para a ECD (Escrituração Contábil Digital). Ele proporciona ao cliente a flexibilidade de ajustar a chave de exportação conforme as necessidades específicas, garantindo que os dados exportados estejam de acordo com os critérios contábeis e fiscais da empresa.
Com o ECDCHVMOV, é possível implementar lógicas personalizadas para definir a chave de exportação, adaptando o comportamento padrão do sistema e assegurando que a exportação seja realizada de forma precisa e que atenda às particularidades do negócio, facilitando a conformidade com as exigências legais e regulatórias da ECD.
...
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.
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
If ExistBlock( "ECDCHVMOV" ) cChave := ExecBlock( "ECDCHVMOV", .F., .F.) EndIf |
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
#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 |
| Aviso | ||
|---|---|---|
| ||
|
| |
|