Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

01.

...

GENERAL DATA

ProdutoLinha de ProdutoLinha

Protheus Line

SegmentoTOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTBSIGAFIS)

Product

:

Solucoes_totvs

Solucoes_totvs_cross
SolucaoCrossTOTVS Backoffice

Solucoes_totvs_parceiros
SolucaoParceiros

Solucoes_totvs_parceirosexptotvs
SolucaoParcsExpsTOTVS

Product Line:

Linhas_totvs
Linha

Segment:

Segmentos_totvs
SegmentoServiços

Services

Module:

Módulo:

Modulos_cross_segmentos
ModulosCrossSegmentos
Modulos_framework

Modulos_totvs_construcao

Modulos_totvs_juridico

Modulos_totvs_logistica

Modulos_totvs_manufatura

Modulos_totvs_rh

Modulos_totvs_saude

Modulos_totvs_prestadores_de_servicos

Função

Function:

CTBA101País

Country:

Brasil

Brazil

Ticket:

Interno

Internal

Requisito

Requisite/

Story

Story/Issue

DSERCTR1-46829

02. 

...

O ponto de entrada CTB101CNV é implementado na função CTBCONV (dentro da rotina CTBA101) e permite a customização do processo de conversão de moedas. Com ele, é possível adicionar regras e ajustes específicos para a conversão de moedas, adaptando a funcionalidade às necessidades contábeis particulares da empresa. Este ponto é ideal para empresas que necessitam de um controle mais detalhado ou uma lógica de conversão diferenciada em seu ambiente contábil.

...

DESCRIPTION

The entry point CTB101CNV is implemented in the CTBCONV function (within the CTBA101 routine) and allows for the customization of the currency conversion process. With it, it is possible to add specific rules and adjustments for currency conversion, adapting the functionality to the company's particular accounting needs. This entry point is ideal for companies that require more detailed control or a differentiated conversion logic in their accounting environment.

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaEntry Point (EP) manipulation in the system
nValConv := ExecBlock( "CTB101CNV" , .F. , .F. , {cCriter,dData,cMoeda,nValor,lVBloq,cBloq})
Bloco de código
languagecpp
themeRDark
titleExemplo de PEEP Example
User Function  CTB101CNV()

	Local cCriter	:= paramixb[1] // CriterioConversion de ConversaoCriterion
	Local dData	:= paramixb[2] // Data do lancamento contabilEntry Date	  
	Local cMoeda	:= paramixb[3] // Moeda do Lancamento contabilEntry Currency	 
	Local nValor	:= paramixb[4] // ValorValue parafor conversaoconversion.
	Local lBloq		:= paramixb[5] // IdentificaIdentifies sewhether deveto verificarcheck othe bloqueio da moedacurrency lock. 
	Local cBloq	:= paramixb[6] // Type Tipoof delock bloqueioapplied aplicadoto parathe moedacurrency 

	If cCriter == "1"	
		nValor := 10
	ElseIf cCriter == "4"	
		nValor := 40
	Else	
		nValor := 100
	EndIf 

Return nValor


Aviso
titleImportante !!
  • Observa-se que a utilização do PE e os impactos dele no sistema são de responsabilidade do cliente.
  • Os exemplos utilizados nessa documentação são apenas para fins de demonstração, cada cliente deve verificar qual comportamento deseja realizar de acordo com o escopo do ponto de entrada.

04. ASSUNTOS RELACIONADOS

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/ANão se aplica.