01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus line

Segment:

Services

Module:

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

Function:

CTBA150

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The entry point CT150BUT is used to manipulate the array responsible for setting up the buttons on the currency calculation registration interface. It makes it possible to add, remove, or change the buttons displayed on the screen, allowing for customizations according to customer requirements.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
IF ExistBlock( "CT150BUT" )
	aCTBA150 := ExecBlock( "CT150BUT",.F.,.F.,aRotina)
	
	IF ValType(aCTBA150) == "A" .AND. Len(aCTBA150) > 0
		FOR nX := 1 to len(aCTBA150)
			aAdd(aRotina, aCTBA150[nX])
		NEXT
	ENDIF
ENDIF
EP Example
User function CT150BUT()
Return ( {{ "BUTTON" , 'Alert("CLICKED HERE")', 0 , 1}} )


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.