01.
...
GENERAL DATA
Product | Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
| Linha de Produto: |
Product Line | |
Segmento:Segment | | Módulo:
Module | | Modulos_cross_segmentos |
|---|
| ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB) |
|---|
|
| Modulos_totvs_prestadores_de_servicos |
|---|
|
Função:Function | CTBA102 | País:
Country | Brasil |
Ticket | : | Interno |
RequisitoRequisite/ | StoryStory/Issue | DSERCTR1-46829 |
02.
...
O ponto de entrada VCTB102EST é utilizado para validar operações de estorno de lançamentos contábeis no sistema. Ele permite a implementação de uma lógica personalizada para aprovar ou rejeitar o estorno, de acordo com as regras de negócio específicas do usuário. Esse ponto de entrada é útil em situações em que a empresa necessita aplicar critérios adicionais para permitir o estorno, como validações de integridade financeira ou restrições de calendário contábil.
...
DESCRIPTION
The VCTB102EST entry point is used to validate reversal operations of accounting entries in the system. It allows the implementation of custom logic to approve or reject the reversal according to the user’s specific business rules. This entry point is useful in situations where the company needs to apply additional criteria to allow the reversal, such as financial integrity validations or accounting calendar restrictions.
03. FURTHER INFORMATION
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Manipulação de PE no sistemaEntry Point handling in the system |
|---|
|
If ! ExecBlock("VCTB102EST",.F.,.F.,{dDataLanc,cLote,cSubLote,cDoc,nTotInf})
Return .F.
EndIF |
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo de PEEP Example |
|---|
|
User Function VCTB102EST()
Local dDataLanc := PARAMIXB[1]
Local cLote := PARAMIXB[2]
Local cSubLote := PARAMIXB[3]
Local cDoc := PARAMIXB[4]
Local nTotInf := PARAMIXB[5]
Local lRel := .T.
// VerificaChecks sewhether othe lotebatch atendemeets aosthe critériosrequired necessárioscriteria
If cLote == "LOTERESTRICTED_RESTRITOBATCH"
MsgAlert("EstornoReversal nãonot permitidoallowed parafor orestricted lote restritobatch.")
lRel := .F.
EndIf
// RetornaReturns verdadeirotrue (.T.) seif othe estornoreversal foris válidovalid, caso contrário, falsootherwise false (.F.)
Return lRel |
| 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 should be noted that the use of the Entry Point (EP) and its impacts on the system are the customer's responsibility.
- 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