...
Product | Produto: |
| |||||||||||||
Product Line: | | Linhas_totvs | | Linha | Linha||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Segment: |
| Services | |||||||||||||
Module: | Módulo: |
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTBSIGAFIS)
| ||||||||||||
Function: | CTBA500 | ||||||||||||||
Country: | BrasilBrazil | ||||||||||||||
Ticket: | InternoInternal | ||||||||||||||
Requisite/ | StoryStory/Issue | DSERCTR1-46829 |
...
O ponto de entrada CT500LIN é utilizado para validar a existência de linhas em branco nos arquivos que serão importados e contabilizados na rotina de Contabilização via TXT. Este ponto de entrada é chamado durante o processo de leitura e análise do arquivo, permitindo que sejam implementadas regras específicas para tratar ou rejeitar linhas inválidas.
Para que seja permitida a inclusão de um arquivo com linhas em branco é necessário que o retorno do ponto de entrada seja falso
...
The entry point CT500LIN is used to validate the existence of blank lines in the files that will be imported and accounted for in the Accounting via TXT routine. This entry point is called during the file reading and analysis process, allowing specific rules to be implemented to handle or reject invalid lines.
For the add of a file with blank lines to be allowed, the entry point's return must be false.
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
lCT500Lin:=ExecBlock("CT500Lin",.F.,.F.) |
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
User Function CT500Lin()
Local lRetorno
lRetorno := MsgYesNo("DesejaDo you validarwant asto linhasvalidate emthe brancoblank lines?", "ValidaçãoValidation ?")
Return lRetorno |
| Aviso | ||
|---|---|---|
| ||
|
|