01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA101

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The entry point CTBA101HI is used to enable the editing of accounting entry history during the reversal process in routine CTBA101. With this entry point, it is possible to customize and adjust the history of each accounting entry as needed at the time of reversal, providing flexibility to modify historical information according to specific accounting requirements.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
If ExistBlock( "CTBA101HI" )
	lHist := ExecBlock("CTBA101HI", .F., .F.)
EndIf	
EP Example
#Include 'Protheus.ch'

User Function CTBA101HI()

	Local lHist := .F. 

	If MsgYesNo("Do you want to edit the history?" "Notice") 
		lHist := .T. 
	Else 
		lHist := .F. 
	EndIf 

Return lHist


Important!

  • It should be noted that the use of the Entry Point (PE) and its impacts on the system are the customer's responsibility.
  • The examples used in this documentation are for demonstration purposes only; each customer must determine the behavior they wish to implement according to the scope of the entry point.

04. RELATED SUBJECTS

  • N/A