01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA130

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

The entry point CTGRPBUT is used to allow the add of buttons in the registration of Accounting Groups. It offers the customer the flexibility to customize the system interface by adding buttons that facilitate access to specific functionalities within the context of the accounting group registration.

With CTGRPBUT, it is possible to include customized actions that meet the company's operational needs, providing a more efficient user experience aligned with internal processes, in addition to improving the usability of the registration routine.

03. OTHER INFORMATION


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

	IF ValType(aCTBA130) == "A" .AND. Len(aCTBA130) > 0
		FOR nX := 1 to len(aCTBA130)
			aAdd(aRotina, aCTBA130[nX])
		NEXT
	ENDIF
ENDIF
EP Example
User Function CTGRPBUT
	Local aRotina := PARAMIXB[1]	
	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 SUBJECTS

  • N/A