01.
...
GENERAL DATA
Product | Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
|
| Linha de Produto: | |
|---|
|
Product line: | Protheus line |
Segment | Segmento: | | Módulo: |
|---|
| Modulos_cross_segmentos |
ModulosCrossSegmentosModule: | TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Management Accounting (SIGACTB) | Modulos_totvs_prestadores_de_servicos |
|---|
|
FunçãoFunction: | CTBA101 |
PaísCountry: | BrasilBrazil |
Ticket: | InternoInternal |
RequisitoRequirement/ | StoryStory/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 |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Manipulaçã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 |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo 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 |
|---|
|
- 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.