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
| ;; Ruby with rvm | |
| ;; versão 2.3 dã erro nas dependencias: | |
| ;; Open | |
| gedit /etc/apt/sources.list | |
| ;; And then add the following line at the end of the file | |
| deb http://security.ubuntu.com/ubuntu bionic-security main | |
| sudo apt-get update |
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
| SELECT VSJ.R_E_C_N_O_ CODIGO_VSJ, VOO.R_E_C_N_O_ CODIGO_VOO, SD2.R_E_C_N_O_ CODIGO_SD2, VSJ_CODSIT, B1_COD, B1_CRICOD, | |
| D2_CLIENTE, D2_LOJA, D2_EMISSAO, D2_TOTAL, D2_CUSTO1, D2_QUANT, D2_DOC, D2_SERIE, VSJ_QESTNA, BM_PROORI, VSJ_QESTNA, VSJ_QTDINI | |
| FROM SD2010 SD2 | |
| JOIN SB1010 SB1 ON B1_FILIAL = '"+xFilial('SB1')+"' AND B1_COD = D2_COD AND SB1.D_E_L_E_T_ = ' ' | |
| JOIN SBM010 SBM ON BM_FILIAL = '"+xFilial("SBM")+"' AND B1_GRUPO = BM_GRUPO AND BM_GRUPO IN (GRUPOS DO DPM) AND SBM.D_E_L_E_T_ = ' ' | |
| JOIN VEC010 VEC ON VEC_FILIAL = '"+xFilial('VEC')+"' AND VEC_NUMNFI = D2_DOC AND VEC_SERNFI = D2_SERIE AND VEC.D_E_L_E_T_ = ' ' | |
| JOIN VOO010 VOO ON VOO_FILIAL = '"+xFilial('VOO')+"' AND VOO_NUMOSV = VEC_NUMOSV AND VOO_TIPTEM = VEC_TIPTEM AND D2_COD = VEC_CODITE AND VOO.D_E_L_E_T_ = ' ' | |
| JOIN VO3010 VO3 ON VO3_FILIAL = '"+xFilial('VO3')+"' AND VO3_VECREL = VEC_NUMREL AND VO3_CODITE = VEC_CODITE AND VO3.D_E_L_E_T_ = ' | |
| JOIN VSJ010 VSJ ON VSJ_FILIAL = '"+xFilial('VSJ')+"' AND |
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
| Method UpdateGroup( cB1COD , cOldCodIte , cOldGruIte , cNewGruIte , nRecVR2 ) Class DMS_Peca | |
| Local oAccControl := DMS_AccessControl():New() | |
| Local oFilHelp := DMS_FilialHelper():New() | |
| Local oSqlHelp := DMS_SqlHelper():New() | |
| Local nFilSize := 0 | |
| Local aUpdates := {} | |
| Local bolConfirmation := -1 | |
| // | |
| // Lista os campos que serão usados no update | |
| //{ 'VB1_GRUPO' , 'VB1_CODITE' }, ; // campos Virtuais por isso foi removido |
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
| { | |
| "request":[ | |
| { | |
| "name":"", | |
| "codigoProtheus":"389e112c-a7a4-4000-914F-2c90feb4376d", | |
| "accountCode":"0203 0548720105", | |
| "propriedadeCode":"020310", | |
| "numeroCotacao":"", | |
| "numeroConfiguracaoJDQuote":"", | |
| "closeDate":"20190228", |
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
| /* | |
| * method prototype for any Object to pad it's toString() | |
| * representation with additional characters to the specified length | |
| * | |
| * @param padToLength required int | |
| * entire length of padded string (original + padding) | |
| * @param padChar optional char | |
| * character to use for padding, default is white space | |
| * @param padLeft optional boolean | |
| * if true padding added to left |
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
| [REST] | |
| SOURCEPATH=C:\Users\Vinicius\Documents\ambientes\cev-dev\APO\rest\ | |
| ROOTPATH=C:\Users\Vinicius\Documents\ambientes\cev-dev\Protheus_Data | |
| STARTPATH=\SYSTEM\ | |
| X2_PATH= | |
| RPODB=SQL | |
| RPOLANGUAGE=PORTUGUESE | |
| RPOVERSION=120 | |
| LOCALFILES=CTREE | |
| TRACE=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
| [CEV] | |
| SOURCEPATH=C:\Users\Vinicius\Documents\ambientes\cev-dev\APO\apontamento\ | |
| ROOTPATH=C:\Users\Vinicius\Documents\ambientes\cev-dev\Protheus_Data | |
| STARTPATH=\SYSTEM\ | |
| X2_PATH= | |
| RPODB=SQL | |
| RPOLANGUAGE=PORTUGUESE | |
| RPOVERSION=120 | |
| LOCALFILES=CTREE | |
| TRACE=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
| SELECT SPID = er.session_id | |
| ,STATUS = ses.STATUS | |
| ,[Login] = ses.login_name | |
| ,Host = ses.host_name | |
| ,BlkBy = er.blocking_session_id | |
| ,DBName = DB_Name(er.database_id) | |
| ,CommandType = er.command | |
| ,ObjectName = OBJECT_NAME(st.objectid) | |
| ,CPUTime = er.cpu_time | |
| ,StartTime = er.start_time |
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
| { | |
| "Advanced Protheus Doc": { | |
| "prefix": "adoc", | |
| "body": [ | |
| "/*/{Protheus.doc} ${1:NomeMetodo}", | |
| "\t${2:Descricao}", | |
| "\t", | |
| "\t@type function", | |
| "\t@author Vinicius Gati", | |
| "\t@since $CURRENT_DATE/$CURRENT_MONTH/$CURRENT_YEAR", |
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
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Semantic UI CDN</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.9/semantic.min.css"/> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.9/semantic.min.js"></script> | |
| </head> | |
| <body> |