Páginas filhas
  • DT PE CT5CPOS Data Handling of CT5 BRA

Versões comparadas

Chave

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


01.

...

GENERAL DATA

Product

...

SolucaoCrossTOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial

(SIGACTB)

Função:País:BrasilInternoRequisitoStory:
Produto:
Solucoes_totvs_cross

TOTVS Backoffice

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

Function

MatxFuna -

Genérico

Generic (

Contabilizações

Booking )

Country

Brazil

Ticket:

Internal

Requisite/

Story/Issue

DSERCTR1-35327


02.

...

STATUS/

...

REQUIREMENT

The Point of Entry CT5CPOS allows the execution of a specific user rule, based on the information received by the array, according to the positioned Standard Entry (CTBA080).

03. 

...

SOLUTION


Bloco de código
languagegroovy
themeDJango
titleExemplo de utilização do Ponto de EntradaExample of Entry Point use
collapsetrue
#INCLUDE "PROTHEUS.ch"
#INCLUDE "rwmake.ch"


User Function CT5CPOS( aCT5 )       

	Local aLP :=  PARAMIXB[1]
    
    If aLP[1] == "801"
        FuncaoDesejadaDesiredFunction() //Regra desejadaDesired realizandorule algumperforming funcionamentosome comfunction basebased noon critériosthe estabelecidosestablished comcriteria baseusing nothe retornoStandard do lançamento padrãoEntry return.
    Endif   

Return

  
Informações
titleSobre o array retornado do sistemaAbout the array returned by the system


The array has 2 positionsO array conta com 2 posições sendo:

A posição The aLP[1] é a posição que mostra o Código do lançamento padrão position is the one that displays the Standard Entry Code (CT5_LANPAD) posicionado( no exemplo , positioned (in the example, 801).
Já na posição
Position aLP[2] irá conter todos os dados do lançamento padrão de código 801, ou seja nesse exemplo foi retornado 4 sequências cadastradas com o mesmo código de lançamento padrão 801. will contain all the data of the standard entry with code 801. That is, in this example, 4 sequences registered with the same standard entry code 801 were returned.


Note: The array only returns standard entries that are active (CT5_STATUS equal to Observação: O array retorna apenas os lançamentos padrões que estão ativos ( CT5_STATUS igual à 1).

Bloco de código
languagegroovy
themeDJango
titleExemplo da manipulação do PE pelo sistemaExample of the EP handling by the system
collapsetrue
// Ponto de entrada para tratamento do conteudo do CT5
If Existblock("CT5CPOS") .And. !lSimula
	Execblock("CT5CPOS",.F.,.F.,{aCT5[nX]})
Endif
 





Aviso
titleAtenção Attention!!!

As alterações realizadas no PE são de responsabilidade de quem os utiliza, como também os impactos gerados por esse ponto de entrada.

04. DEMAIS INFORMAÇÕES

Parâmetros:

The changes made in the EP are the responsibility of the user who utilizes them, as are the impacts generated by this entry point.


04. OTHER INFORMATION


Parameters:

Obrigatório com as informações do ponto de lançamento posicionado contendo seus campos e valores para manipulação desejada

Parameter

Type

Description

Required

Parâmetro

Tipo

Descrição

PARAMIXB[1] - aCT5

Array

Array

Sim

,
Retorno:

Retorno

Tipo

Descrição

Obrigatório

Não se aplicaNão se aplicaNão se aplica, manipulação é realizada conforme retorno do parâmetro PARAMIXB[1]Não

05. ASSUNTOS RELACIONADOS

containing the information of the positioned entry point, including its fields and values for desired handling.

Yes

,
Return:

Return

Type

Description

Required

Not Applicable

Not Applicable

Not applicable, handling is performed according to the return of the PARAMIXB[1] parameter.

No


05. RELATED SUBJECTS

  • N/ANão se aplica.



Templatedocumentos