01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA277

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

The entry point CTB277BUT allows for the addition of custom user buttons, being triggered within the Functional Menu Usage function. It provides flexibility for the customer to adapt the system interface, including specific buttons that meet their operational needs.

With CTB277BUT, it is possible to create buttons that execute customized functionalities, facilitating access to frequent or specific actions directly in the functional menu. This contributes to greater interface customization, improving the usability and suitability of the system to the company's workflow.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
IF ExistBlock("Ctb277BUT")
	aCtb277BUT := ExecBlock("Ctb277BUT",.F.,.F.,aRotina)	
	IF ValType(aCtb277BUT) == "A" .AND. Len(aCtb277BUT) > 0
		FOR nX := 1 to len(aCtb277BUT)
			aAdd(aRotina,aCtb277BUT[nX])
		NEXT
	ENDIF
ENDIF
EP Example
#INCLUDE "PROTHEUS.ch"
#INCLUDE "rwmake.ch"

User Function CTB277BUT

	Local aRotina := PARAMIXB[1] 
 	Local aRotinaAux := {} 
    AADD( aRotinaAux , {"EXAMPLE", "U_EXEMPLO()"	, 0, 3})

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 SUBJECTS

  • N/A