Product: |
TOTVS Backoffice
|
Product line: | Protheus line |
Segment: | Serviços |
Module: | TOTVS Backoffice (Protheus Line) - Management Accounting (SIGACTB)
|
Function: | CTBA101 |
Country: | Brazil |
Ticket: | Internal |
Requirement/Story/Issue | DSERCTR1-46748 |
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.
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.
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
Importante!