Páginas filhas
  • EP CT105POS - Validates Accounting Entry

Versões comparadas

Chave

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

...

CONTENT

  1. Visão GeralOverview
  2. ParâmetrosParameters
  3. Exemplo de UtilizaçãoExample


01.

...

OVERVIEW

Entry Point that allows the inclusion of new accounting entry validations. It receives the variables lRet and lConfirma as input parameters, which indicate whether the entry is consistent (.T.)

...

or not (.F.).


Informações
titleObservaçãoNote

This process is used for accounting entry movementsEste processo é utilizado para as movimentações dos lançamentos contábil.

02. 

...

PARAMETERS


ParâmetroTipoDescriçãoObrigatórioLógico Lançamento Lançamento inconsistenteLógico Confirmação do lançamento

Parameter

Type

Description

Required

PARAMIXB[1]

Logical

T. -

Entry Ok.F. -

Entry inconsistent


PARAMIXB[2]

Logical

.T. -

Entry confirmation


03.

...

EXAMPLE OF USE



Informações
titleObservaçãoNote

Programa FonteSource Program

CTBA105.PRW

SintaxeSyntax

CT105POS -

Retorno 

Return 

Validates Accounting Entry

Valida Lançamento Contábil

( [ lRet ] ) --> lRet

Valida a confirmação do processamento 

Validates the processing confirmation ( [ lConfirma ] ) --

> lConfirmavalidação de retorno

> lConfirma

Return validation

Bloco de código
languagegroovy
themeDJango
titleExemplo do Ponto de EntradaEntry Point Example
collapsetrue
User Function CT105POS()
Local lRet          := PARAMIXB[1]
Local lConfirma     := PARAMIXB[2]

alert("EntrandoEntering nathe CT105POS....., othe lConfirma entrandoentering the nosource fontecode comoas: "+ cValToChar(lConfirma) )

If !MsgYesNo("Deseja Deixar oDo you want to exit lConfirma  =  .T.  ? ", "EscolhaSelect....")
    lConfirma   := .F.
EndIf

Alert("ResultadoReturn de retornoresult  lConfirma :  " + cValToChar(lConfirma) )

Return(lConfirma)

...

Bloco de código
languagegroovy
themeDJango
titleEvento de chamada do Ponto de EntradaCall events of the Entry Point
collapsetrue
lRet := ExecBlock("CT105POS",.f.,.f.,{lRet,lConfirma})

...