01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA270

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The CT270BUT entry point allows the addition of extra buttons on specific screens or interfaces, customizing the interaction options available to the user. With it, it is possible to include new buttons that can execute specific actions or access additional functionalities, adapting the interface according to the user's needs.

03. DEMAIS INFORMAÇÕES


Entry Point (EP) manipulation in the system
IF ExistBlock("CT270BUT")
	aCT270BUT := ExecBlock("CT270BUT",.F.,.F.,aRotina)

	IF ValType(aCT270BUT) == "A" .AND. Len(aCT270BUT) > 0
		FOR nX := 1 to len(aCT270BUT)
			aAdd(aRotina,aCT270BUT[nX])
		NEXT
	ENDIF
ENDIF
EP Example
User Function CT270BUT
	
	Local aRotinaAux := {}

	AADD( aRotinaAux , { "example"	,"u_exemplo()", 0 , 4})

Return  aRotinaAux 


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

  • It does not apply.