01.
...
GENERAL DATA
Product | Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
|
| Linha de Produto: | |
|---|
| Segmento: | |
|---|
|
Product Line | Protheus Line |
Segment | Services |
Module | TOTVS Backoffice (Protheus Line) - Managerial Accounting | Módulo: | | Modulos_cross_segmentos |
|---|
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB)| Modulos_totvs_prestadores_de_servicos |
|---|
| Função:
|---|
Function | CTBA192 |
País:Country | BrasilBrazil |
Ticket | : | InternoInternal |
RequisitoRequisite/ | StoryStory/Issue | DSERCTR1-46829 |
02.
...
O ponto de entrada CT192POS possibilita a execução de processamentos adicionais após o término das operações padrão da rotina CTBA192. Esse ponto é utilizado para incluir procedimentos complementares ou customizações específicas que devem ser executadas somente após o fechamento dos processamentos principais, proporcionando maior flexibilidade e controle sobre a finalização das atividades da rotina.
...
DESCRIPTION
The Entry Point CT192POS enables the execution of additional processing after the conclusion of the standard operations of the CTBA192 routine. This point is used to include complementary procedures or specific customizations that must be executed only after the closure of the main processing, providing greater flexibility and control over the finalization of the routine's activities.
03. FURTHER INFORMATION
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Manipulação de PE no sistemaEntry Point (EP) manipulation in the system |
|---|
|
ExecBlock("CT192POS",.F.,.F.,{cFilDe,cFilAte,dDataIni,dDataFim,lMoedaEsp,cMoeda,cTpSald}) |
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo de PEEP Example |
|---|
|
#Include 'Protheus.ch'
User Function CT192POS()
Local aArea := GetArea()
Local aCtbMoeda := {}
Local cFilDe := PARAMIXB[1]
Local cFilAte := PARAMIXB[2]
Local dDataIni := PARAMIXB[3]
Local dDataFim := PARAMIXB[4]
Local lMoedaEsp := PARAMIXB[5]
Local cMoeda := PARAMIXB[6]
Local cTpSald := PARAMIXB[7]
SAVEINTER()
// TratamentoSpecific dacurrency moeda especificahandling
If lMoedaEsp
aCtbMoeda := CtbMoeda( cMoeda )
If Empty( aCtbMoeda[1] )
Help(" ",1,"NOMOEDA")
Return Nil
EndIf
nMoedaIni := Val( cMoeda )
nMoedaFim := Val( cMoeda )
Else
nMoedaIni := 1
nMoedaFim := __nQuantas
EndIf
Conout( "CT192POS: IniciandoStarting processothe deBATCH atualizaçãoupdate do LOTEprocess" )
//ReprocessaReprocesses totaistotals porby lotebatch => atualizaupdates CT6
Ctb190Lote(nMoedaIni,nMoedaFim,cFilDe,cFilAte,cTpSald,dDataIni,dDataFim)
Conout( "CT192POS: IniciandoStarting processothe deDOCUMENT atualizaçãoupdate do DOCUMENTOprocess" )
//ReprocessaReprocesses totaistotals porby documentodocument => atualizaupdates CTC
Ctb190Doc(nMoedaIni,nMoedaFim,cFilDe,cFilAte,cTpSald,dDataIni,dDataFim)
Conout( "CT192POS: IniciandoStarting processothe deBRIDGE atualização doACCOUNT FLAG DEupdate CONTA PONTEprocess" )
//AtualizaUpdates osthe flagsbridge deaccount conta ponteflags.
CtbFlgPon(nMoedaIni,nMoedaFim,cFilDe,cFilAte,cTpSald,dDataIni,dDataFim)
Conout( "CT192POS: PROCESSOPROCESS CONCLUIDOCONCLUDED!" )
RESTINTER()
RestArea( aArea )
Return Nil |
| Aviso |
|---|
| title | Importante Important!! |
|---|
|
- 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 is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
- 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 SUBJECTS