Versões comparadas

Chave

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

01.

...

GENERAL DATA

ProdutoTOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB)

Product

:

Solucoes_totvs

Solucoes_totvs_cross
SolucaoCrossTOTVS Backoffice

Solucoes_totvs_parceiros
SolucaoParceiros

Solucoes_totvs_parceirosexptotvs
SolucaoParcsExpsTOTVS

Linha de Produto:

Linhas_totvs
LinhaLinha Protheus

Segmento:

Segmentos_totvs
SegmentoServiços

Product Line:

Protheus line

Segment:

Services

Module:

TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGAFIS

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:

CTBA102,CTBA103,CTBA105,CTBXVLD,CTBA104,CTBXMIPaís

Country:

Brasil

Brazil

Ticket:

Interno

Internal

Requisito

Requisite/

Story

Story/Issue

DSERCTR1-46829

02. 

...

O ponto de entrada CT105TOK é utilizado para validar o lançamento contábil após a validação realizada pela função MSGETDB. Esse ponto de entrada permite customizar a validação contábil, verificando, por exemplo, se os valores de débito e crédito estão corretos ou se outras regras contábeis específicas precisam ser aplicadas. O retorno da função é um valor booleano, onde true indica que a validação foi bem-sucedida, e false sinaliza que o lançamento contém inconsistências e não pode ser processado.

Esse ponto de entrada oferece flexibilidade para os usuários ajustarem as regras de negócios, garantindo que as validações de conformidade específicas sejam atendidas.

...

DESCRIPTION

The entry point CT105TOK is used to validate the accounting entry after the validation performed by the MSGETDB function. This entry point allows for the customization of the accounting validation, checking, for example, whether the debit and credit values are correct or if other specific accounting rules need to be applied. The function's return is a boolean value, where true indicates that the validation was successful, and false signals that the entry contains inconsistencies and cannot be processed.

This entry point offers flexibility for users to adjust business rules, ensuring that specific compliance validations are met.

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaEntry Point (EP) manipulation in the system
lRet := ExecBlock("CT105TOK",.f.,.f.,{nValDeb,nValCrd,;
											 aTotRdpe[1][1],;
											 nTotInf })
Bloco de código
languagecpp
themeRDark
titleExemplo de PEEP Example
User Function CT105TOK()

	Local nValDeb  := PARAMIXB[1]
	Local nValCrd  := PARAMIXB[2]
	Local nTotRdpe := PARAMIXB[3] // valordebit a debitovalue
	Local nTotInf  := PARAMIXB[4] //
	Local lRet     := .T.
	
    // Checks if Verificathere seis a divergênciadiscrepancy noin valorthe deentry lançamentovalue eand total de débitosdebits 
    If nTotInf != nTotRdpe // ExemploExample deof verificaçãototal devalue valores totaisverification
        MsgAlert("Total dedebit débitodoes nãonot conferematch. VerifiqueCheck othe lançamentoentry.")
        Return .F.
    EndIf

Return lRet
Aviso
titleImportante Important!!
  • 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 is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
  • 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.