01. GENERAL DATA

Product:

TOTVS Backoffice

Product line:

Protheus line

Segment:

Serviços

Module:

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

Function:

CTBXVLD

Country:

Brazil

Ticket:

Internal

Requirement/Story/Issue

DSERCTR1-46030

02. DESCRIPTION

The CTBXAMARRA entry point allows customizing the behavior of the validation of accounting entity linkage in the system. When implemented, it replaces the standard linkage inconsistency message with a client-defined logic. This offers the flexibility for the user or client to create a customized Help message (or tailored assistance), adapted to their specific needs.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
lRet := ExecBlock("CTBXAMARRA",.F.,.F.,{cConta,cCusto,cItem , cCLVL, aCpos})
Example of EP
#Include 'Protheus.ch'

User Function CTBXAMARA()

	Local lRet := .F.

	Local cConta := PARAMIXB[1]

	Local cCusto := PARAMIXB[2]

	Local cItem   := PARAMIXB[3]

	Local cCLVL := PARAMIXB[4]

	Local aCpos := PARAMIXB[5]  // Array with the fields entered

	/* ------------------------------------------------------------------------------------
		Perform your processing here
	------------------------------------------------------------------------------------ */

	Help( " " , 1 , "USER_HELP" ,, " Display your message here " ,3,0)

Return lRet

Importante!

  • 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.