Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGAFIS)

Function:

CTBS011

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

You can use entry point ECDCHVCAB to handle the key during the process of exporting the CT6 table to the ECD (Digital Bookkeeping). It offers the customer the option of customizing the export key definition, ensuring that records are prepared in accordance with the specific needs of each accounting operation.

With ECDCHVCAB, you can adjust the key used in exports, making sure the data structure exported is compliant with business rules as well as legal requirements, providing greater flexibility and control on the data submitted to ECD.

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleHandling of EP in the system
If ExistBlock( "ECDCHVCAB" )
	cChave := ExecBlock( "ECDCHVCAB", .F., .F.)
EndIf
Bloco de código
languagecpp
themeRDark
titleEP Example
#INCLUDE "PROTHEUS.ch"
#INCLUDE "rwmake.ch"

User Function ECDCHVCAB()

	Local cAliasCTC := Alias()
	Local cChavet := " "
	Local cLote := (cAliasCTC)->CTC_LOTE
	Local cFilMov := (cAliasCTC)→CTC_FILIAL

	If cFilMov == '01'
		cChavet:= cLote 
	EndIf

Return cChavet
Aviso
titleImportant !!
  • It is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
  • The examples used in this documentation are for demonstration purposes only. Each customer must check what behavior they want to perform according to the scope of the entry point.

04. RELATED SUBJECTS

  • Not Applicable.