Páginas filhas
  • DT PE CTBA350 - EFELANC - Performs accounting entry

Versões comparadas

Chave

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

01.

...

GENERAL DATA

Product

...

Produto:TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB)

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

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

Função:

Function

Efetivação (CTBA350)País:

Country

Brasil

Brazil

Ticket

:

19125366Requisito

Requisite/

Story

Story/Issue

 :

DSERCTR1-44381


02. 

...

STATUS/

...

REQUIREMENT

Change the entry confirmation after validations.

03. 

...

SOLUTION

At this EFELANC entry point, the record is positioned right after confirmation (or not), making it possible to change the result.


Card documentos
InformacaoA utilização do ponto de entrada é de total autoria de quem o utiliza e os efeitos resultantes dele são de responsabilidade do cliente.
TituloIMPORTANTE!

04.

...

O ponto de entrada estará posicionado logo após a efetivação. 

...

FURTHER INFORMATION

The entry point will be positioned immediately after the entry confirmation. 

In this example, the balance type is being changed

Eventos
Informações
titleContextualização PEEntry Point Context

EFELANCManipula o registro após a efetivação ou não.

Características do Requisito

Handles the record after confirmation (or not).


Requirement Characteristics.

Description:

The entry point EFELANC allows handling of the record right after confirmation (or not) within the CTBA350 – Pre-Entry Confirmation routine.

Events

Descrição:

O ponto de entrada EFELANC permite manipular o registro logo após a efetivação ou não na rotina CTBA350-Efetivação de Pré-Lançamento.

:

ExistBlock("EFELANC")

Programa Fonte

Source Program:

CTBA350.PRW

Função

Function (

PE

EP):

EFELANC() –

Permite manipular o registro de efetivado ou não da rotina CTBA350-Efetivação de Pré-lançamento.

Parâmetros:

Não há.

Retorno:

Allows handling the record of whether or not it was executed in the CTBA350 – Pre-Entry Execution routine.

Parameters:

None.

Return:

None

Não há

.

Bloco de código
languagecpp
themeRDark
titleExemplo de PEEP Example
linenumberstrue
collapsetrue
#Include "Protheus.ch"

// ajusta o registro na// adjusts the record in CT2 após a efetivaçãoafter finalization/entry. RotinaRoutine ctba350 - Efetivação de pré-lançamentoPre-Entry finalization.
User Function EFELANC()
 
    Local aArea := GetArea()
 
    IF EMPTY(CT2->CT2_ITEMD) 
        RECLOCK( 'CT2', .F. )
            CONOUT("registrorecord : " +  STR(CT2->(RECNO()))  + " posicionadopositioned ")
            CT2->CT2_TPSALD := "9"
        CT2->(MSUNLOCK())
    ENDIF
    
    RestArea(aArea)
 
Return 
Nota
titleObservação

Este Ponto de Entrada é acionado exclusivamente para os lançamentos contábeis que não apresentam inconsistências, ou seja, aqueles que são efetivados diretamente. Já os lançamentos com inconsistências não são gravados, e, quando exibidos em tela (Pergunta "Mostra Lanc Contab ?" = Sim), devem ser corrigidos pelo usuário, sendo nesse caso processados por outro fluxo do sistema.

05. ASSUNTOS RELACIONADOS

Note

This Entry Point is triggered exclusively for accounting entry that do not present inconsistencies, meaning those that are finalized directly. Entries with inconsistencies, however, are not recorded, and when displayed on screen (Question "Show Acct. Entry?" = Yes), they must be corrected by the user, being processed by another system flow in that case.



05. RELATED SUBJECTS

  • N/ANão há.



Templatedocumentos