Versões comparadas

Chave

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

01.

...

GENERAL DATA

ProdutoSegmentoModulosCrossSegmentosFunçãoPaísBrasilInternoRequisitoStory

Product

:

Solucoes_totvs

Solucoes_totvs_cross
SolucaoCrossTOTVS Backoffice

Solucoes_totvs_parceiros
SolucaoParceiros

Solucoes_totvs_parceirosexptotvs
SolucaoParcsExpsTOTVS

Linha de Produto:

Linhas_totvs
LinhaLinha Protheus

Product line:

Protheus line

Segment

:

Segmentos_totvs
SegmentoServiços

Módulo:
Modulos_cross_segmentos

Module:

TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Management Accounting (SIGACTB)

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

Function:

CTBA101

Country:

Brazil

Ticket:

Internal

Requirement/

Story/Issue

DSERCTR1-46748

02. 

...

O ponto de entrada CT101CNV é utilizado para efetuar a conversão de valores na tela de lançamentos contábeis. Ele é executado dentro da rotina que processa a montagem de valores convertidos para o GetDados relacionado às conversões.

Finalidade:

  • Personalizar ou ajustar a lógica de conversão de valores conforme as necessidades específicas do cliente.
  • Permitir o tratamento customizado dos valores exibidos na tela de lançamentos contábeis após a aplicação das regras de conversão.

Funcionamento:

  • O ponto de entrada é acionado durante a execução da rotina que gera os valores convertidos.
  • É possível implementar cálculos adicionais ou modificar os valores antes de serem exibidos na interface.

Benefícios:

  • Flexibilidade no processo de conversão: Adapta as conversões às regras específicas de cada empresa.
  • Integração com sistemas personalizados: Permite sincronizar os valores convertidos com outras regras ou módulos do sistema.

Este ponto de entrada é essencial para empresas que trabalham com múltiplas moedas ou que possuem regras personalizadas de cálculo e exibição de valores convertidos nos lançamentos contábeis.

...

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:

  • To customize or adjust the value conversion logic according to the customer's specific needs.
  • To allow for customized handling of values displayed on the accounting entries screen after the conversion rules have been applied.

Functionality:

  • The entry point is triggered during the execution of the routine that generates the converted values.
  • It is possible to implement additional calculations or modify the values before they are displayed in the interface.

Benefits:

  • Flexibility in the conversion process: Adapts conversions to the specific rules of each company.
  • Integration with customized systems: Allows the converted values to be synchronized with other rules or modules of the system.

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


Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaEntry Point (EP) manipulation in the system
nValConv := ExecBlock("CT101CNV",.F.,.F.,{nValor,cMoeda,cCriter,cDebito,cCredito,nValConv})
Bloco de código
languagecpp
themeRDark
titleExemplo de PEExample of EP
#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("CHAMADACALL DEOF PONTOENTRY DE ENTRADAPOINT: CT101CNV")

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

  • 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 applyNão se aplica.