01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA040

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The entry point CTA040TOK is used to pre-validate the existence of an Accounting Item before any additional processing. It is executed in the item existence verification function, allowing it to ensure that the accounting item is already registered or meets specific validation conditions.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
If ExecBlock("CTA040TOK",.F.,.F.,nOpc)
	Return .F.
EndIf
EP Example
#Include 'Protheus.ch'

User Function CTA040TOK()
	Local lRet := .F.
	Local nOpc := PARAMIXB
	
	MsgAlert("ENTRY POINT CALL: CTA040TOK")  

Return( lRet )


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 ISSUES

  • N/A