This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "protheus.ch" | |
#include "fwmvcdef.ch" | |
namespace custom.naturezas | |
//------------------------------------------------------------------- | |
/*/{Protheus.doc} addSedSchedule | |
Adiciona uma natureza genérica na SED, utilizando MVC feito em TLPP | |
Função criada para utilização via Schedule |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source | Model | View | |
---|---|---|---|
AGRA020 | Yes | Yes | |
AGRA030 | Yes | Yes | |
AGRA001 | Yes | Yes | |
AGRA005 | Yes | Yes | |
AGRA035D | Yes | Yes | |
AGRA010 | Yes | Yes | |
AGRA035 | Yes | Yes | |
AGRA050 | Yes | Yes | |
AGRA045RUS | Yes | Yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "prothues.ch" | |
// ----------------------------------------------------------------- | |
/*{Protheus.doc} DnlMethd | |
Função para exemplo de chamada de método estático | |
@sample U_DnlMethd() | |
@author Daniel Mendes | |
@since 11/10/2019 | |
@version 1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "protheus.ch" | |
// ----------------------------------------------------------------- | |
/*{Protheus.doc} EssaEhUmClasseDeExemplo | |
Classe ADVPL de exemplo, que suporta mais de dez caracteres | |
@author Daniel Mendes | |
@since 11/10/2019 | |
@version 1.0 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "protheus.ch" | |
// ----------------------------------------------------------------- | |
/*{Protheus.doc} EssaEhUmClasseDeExemplo | |
Classe ADVPL de exemplo, que suporta mais de dez caracteres | |
@author Daniel Mendes | |
@since 11/10/2019 | |
@version 1.0 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include 'protheus.ch' | |
//Grupo e filial que o ambiente será aberto | |
#define C_GRUPO "99" | |
#define C_FILIAL "01" | |
// ----------------------------------------------------------------- | |
/*{Protheus.doc} xDNLInsTmp | |
Exemplo de INSERT INTO com a tabela temporária (FWTemporaryTable) |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fontes | |
Nome;Data;Hora | |
AP5ARR.PRW;20/08/2019;15:48:55 | |
AP5FTP.PRW;20/08/2019;15:48:55 | |
AP5MAIL.PRW;20/08/2019;15:48:55 | |
AP5RAS.PRW;20/08/2019;15:48:55 | |
AP5TRANSLATE.PRW;20/08/2019;15:48:55 | |
APCFG010.PRW;20/08/2019;15:48:55 | |
APCFG020.PRW;20/08/2019;15:49:19 | |
APCFG020A.PRW;20/08/2019;15:49:19 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "protheus.ch" | |
#define TABLE_DELET "SQLExemplo" | |
#define SQLITE_DRIVER "SQLITE_MEM" | |
user function funcao_gera_error_log() | |
funcao_chama_error_log() | |
return nil | |
static function funcao_chama_error_log() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include 'protheus.ch' | |
user function funcao_gera_error_log() | |
if variavel_nao_existe == variavel_nao_existe[0] | |
endif | |
return nil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[GENERAL] | |
MAXSTRINGSIZE=10 | |
[HTTPV11] | |
Enable=1 | |
Sockets=HTTPREST | |
[HTTPREST] | |
Port=8080 | |
URIs=HTTPURI |
NewerOlder