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 |
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.
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
#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!