01. DADOS GERAIS

Product:

TOTVS Backoffice

Product Line:

Totvs_Protheus_Line

Segment:

Services

Módule:

NFSE

Function:CTBA060
Country:Brazil
Ticket:Internal
Requisite/Story/IssueDSERCTR1-46829

02. DESCRIPTION

The entry point CTA060TOK is triggered to validate the saving (or recording) of data in the registration (or master data). It allows for additional checks to be performed before the information is permanently saved (or finalized), ensuring that the data is correct and meets specific criteria configured by the user. This validation occurs during the saving process, providing greater control and consistency over the inserted records.

03. OTHER INFORMATIONS


Entry Point (EP) manipulation in the system
If ExistBlock("CTA060TOK")
	If !ExecBlock("CTA060TOK",.F.,.F.,nOpc)
		Return .F.
	EndIf
EndIf
EP Example
User Function CTA060TOK
	
	Local lRet := .F.
	Local nOpc := PARAMIXB[1]
	
	MsgAlert("CALL OF ENTRY POINT: CTA060TOK")

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