Páginas filhas
  • DT PE Ct102Carr TMP CTBA102 read handling

Versões comparadas

Chave

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


01.

...

GENERAL DATA

Product

...

ProdutoTOTVS 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:

Lançamento Padrão automático

Automatic Standard Entries - CTBA102

País

Country:

Brasil

Brazil

Ticket:

Interno

Internal

Requisito

Requisite/

Story

Story/Issue:

DSERCTR1-42480


02. 

...

STATUS/

...

REQUIREMENT

This document aims to clarify the operation of the Ct102Carr entry point.

Aviso

The impacts related to the Point of Entry are the sole responsibility of the customer who implements it

...

Este documento visa esclarecer o funcionamento do ponto de entrada Ct102Carr.

Aviso

Os impactos relacionados ao ponto de entrada são de total responsabilidade do cliente que o implementa.


03. 

...

SOLUTION

The entry point CT102CARR allows reading the data in the temporary table (TMP) created when performing the routine's operations of Change, Deletion, Viewing, Copying, or Reversal. Thus, the Point of Entry has the function of manipulating the data of the currently positioned entries and its performed operation for the implementation of a specific rule using the available data

...

O ponto de entrada CT102CARR permite a leitura dos dados na tabela temporária criada ao realizar as operações da rotina de Alteração, Exclusão, Visualização, Copia ou Estorn, Sendo assim o ponto de entrada tem a função de manipular os dados do lançamento posicionado e sua operação realizada para a implementação de alguma regra em especifico com os dados disponibilizados.


Informações
titleContextualizaçãoContextualization



Bloco de código
languagec#
themeRDark
titleExemplo PE
linenumberstrue
collapsetrue
#include 'totvs.ch'
#include "rwmake.ch"

User Function Ct102Carr()

//retornoRoutine dareturn rotina nOpc,dDataLanc,cLote,cSubLote,cDoc 
Local nOpcRot  := PARAMIXB[1] 
Local dDataLancRot  := PARAMIXB[2] 
Local cLoteRot  := PARAMIXB[3] 
Local cSubLoteRot  := PARAMIXB[4] 
Local cDocRot  := PARAMIXB[5] 

Local cTpSald := "

cTpSald:= TMP->CT2_TPSALD

If cTpSald == "1"
    alert("AcessadoAccessed entry PEpoint " + " / OperaçãoOperation " + STR(nOpcRot) + "/ DataDate " + DTOC(dDataLancRot) + "/ LoteBatch " + cLoteRot + "/ SubLoteSub-Batch " + cSubLoteRot + "/ DocumentoDocument " + cDocRot)
    //Funcaoxpto(nOpcRot,dDataLancRot,cLoteRot,cSubLoteRot,cDocRot)
EndIF

Return
Informações
titleSobre o TMPAbout TMP

To access the information read from the TMP, the following syntax can be used for manipulation and viewing of the positioned entriesPara acessar a leitura das informações do TMP pode se ter a seguinte escrita para manipulação e visualização do lançamento posicionado:

TMP→ "CAMPO DA CT2 QUE DESEJA VISUALIZAR colocando ponteirado antes o FIELD from CT2 TO VIEW, placing the pointer before the TMP"
Exemplo
Example: TMP→CT2_TPSALD

Aviso
  • The Point of Entry is only used for reading and manipulating the parameters passed to the P.E. and the information of the record positioned in the TMP.
  • The Point of Entry can be used when accessing the options for: Change, Deletion, Viewing, Copying, and Reversal in the Automatic Standard Entries routine (CTBA102).
  • The examples used in this Entry Point are only intended to give an idea and are merely illustrative. The Entry Points rule must be created according to the expected outcome, aligned with the Entry Points operation and the data it provides
  • O ponto de entrada só é utilizado para leitura e manipulação dos parâmetros passados ao PE e as informações do registro posicionado no TMP.
  • O ponto de entrada pode ser utilizado ao acessar as opções de: Alteração, Exclusão, Visualização, Copia e Estorno na rotina de Lançamento Padrão Automático- CTBA102.
  • Os exemplos utilizados nesse ponto de entrada são só para dar uma ideia e são meramente ilustrativos, a regra do ponto de entrada deve ser criada conforme a expectativa esperada alinhado com o funcionamento do ponto de entrada e o que ele dispõe.



Bloco de código
languagec#
themeRDark
titlePE no sistemaEP in the system
linenumberstrue
collapsetrue
IF _lCt102Carr
	ExecBlock("Ct102Carr",.F.,.F.,{ nOpc,dDataLanc,cLote,cSubLote,cDoc }  )
Endif




04.

...

OTHER INFORMATION

Parameters

...

Parâmetros

TipoDescriçãoExplicaçãoOpção que esta sendo realizada ( Podendo ser as opções de alteração, exclusão, visualização, estorno ou copia Data do lançamento.Numeração de lote do lançamentoSublote do lançamento.CaractereNumero de documento do lançamento

PARAIXB

Type

Description

Explanation

PARAMIXB[1]

Numérico

Numeric

nOpc

Option being performed (Which can be the options for change, deletion, viewing, reversal, or copy).

PARAMIXB[2]

Data

Date

dDataLanc

Entry Date

PARAMIXB[3]

Caractere

Character

cLote

Entry batch number.

PARAMIXB[4]

Caractere

Character

cSubLote

Entry Sub-Batch

PARAMIXB[5]

Character

cDoc

Entry document number.


RetornoReturn

RetornoTipoObrigatório Não

Return

Type

Mandatory?

Not Applicable

Not Applicable

No

Não se aplicaNão se aplica



05.

...

RELATED SUBJECTS

  • N/A

...

  • Não se aplica.



Templatedocumentos