Versões comparadas

Chave

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

01.

...

GENERAL DATA

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

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

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:

CTBA270País

Country:

BrasilBrazil

Ticket:

InternoInternalRequisito

Requirement/

Story

Story/Issue

DSERCTR1-46829

02. 

...

O ponto de entrada CT101VLENT permite a validação das entidades contábeis no momento da gravação de lançamentos contábeis manuais, especificamente na rotina CTBA101. Dessa forma, pode-se garantir que regras contábeis personalizadas sejam aplicadas antes da finalização do lançamento permitindo ou não a gravação.

...

DESCRIPTION

The CT101VLENT entry point allows for the validation of accounting entities when recording manual accounting entries, specifically in the CTBA101 routine. This way, it can be ensured that custom accounting rules are applied before the entry is finalized, either allowing or preventing the recording (saving).

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaEntry Point (EP) manipulation in the system
lRet := ExecBlock("CT101VLENT",.F.,.F.,{cTipo,cDebito,cCredito, cCustoDeb,cCustoCrd, cItemDeb,cItemCrd, cCLVLDeb,cCLVLCrd})
Bloco de código
languagecpp
themeRDark
titleExemplo de PEExample of EP
User Function  CT101VLENT()

	Local lRet		:= .T.
	Local cTipo		:= Paramixb[1] // TipoAccounting deentry lanc.type contabil1 1-> DebitoDebit, 2 -> CreditoCredit, 3 -> Partida DobradaDouble-entry
	Local cDebito	:= Paramixb[2] // ContaDebit DebitoAccount
	Local cCredito	:= Paramixb[3] // ContaCredit CreditoAccount
	Local cCustoDeb	:= Paramixb[4] // Debit C.CustoCost DebitoCenter
	Local cCustoCrd	:= Paramixb[5] // C.Custo CreditoCredit Cost Center
	Local cItemDeb	:= Paramixb[6] // ItemDebit ContabilAccounting DebitoItem
	Local cItemCrd	:= Paramixb[7] // ItemCredit ContabilAccounting CreditoItem
	Local cCLVLDeb	:= Paramixb[8] // ClDebit ValorValue DebitoClass
	Local cCLVLCrd	:= Paramixb[9] // ClCredit ValorValue CreditoClass

	If cDebito == cCredito // exemploExample deof condicaoa quecondition podethat sercan feitabe paracreated validacaofor dasentity entidadesvalidation	
		lRet := .F.
	Endif

Return lRet // seIf lRet = .F., the osystem sistema emitedisplays a message mensagemstating informandothat quethe as            // entidadesentities nãocannot podembe serthe iguaissame eand cancelacancels athe operacaooperation 


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.