01. GENERAL DATA

Product:

Product line:

Protheus line

Segment:

Module:

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

Function:

CTBA101

Country:

Brazil

Ticket:

Internal

Requirement/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

The CT101CNV entry point is used to perform the conversion of values on the accounting entries screen. It is executed within the routine that processes the assembly of converted values for the GetDados related to conversions.

Purpose:

Functionality:

Benefits:

This entry point is essential for companies that work with multiple currencies or that have customized rules for calculating and displaying converted values in their accounting entries.

03. OTHER INFORMATION


nValConv := ExecBlock("CT101CNV",.F.,.F.,{nValor,cMoeda,cCriter,cDebito,cCredito,nValConv})
#Include 'Protheus.ch'

User Function CT101CNV

	Local nValor   := PARAMIXB[1]
	Local cMoeda   := PARAMIXB[2]
	Local cCriter  := PARAMIXB[3]
	Local cDebito  := PARAMIXB[4]
	Local cCredito := PARAMIXB[5]
	Local nValConv := PARAMIXB[6]
	Local nRet     := 0

	MsgAlert("CALL OF ENTRY POINT: CT101CNV")

Return  nRet
  • 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