Git Product home page Git Product logo

Comments (12)

brodao2 avatar brodao2 commented on August 18, 2024

@jzabotto

Agilize a análise da sua ocorrência.

Nenhum fonte anexo ou informado.

Favor complementar chamado informando os dados solicitados conforme Informações importantes ao abrir o chamado.

No aguardo

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

Boa tarde,

#INCLUDE "PROTHEUS.CH"
#INCLUDE "TOTVS.CH"
#Include 'FWMVCDEF.CH'
#INCLUDE "RESTFUL.CH"
#INCLUDE "FIND100.CH"
#include "tlpp-rest.th"

//-------------------------------------------------------------------
/*/{Protheus.doc} SALESFORCE

API de integração de Painéis de Saldo po Natureza

@author Francisco Oliveira
@SInCE 24/11/2020
@Version Protheus 12
/*/
//-------------------------------------------------------------------

//SUBIDA PARA O D-1 EM 08/06/2021

WSRESTFUL SALESFORCE DESCRIPTION "Saldo Por Natureza"

WSDATA Username AS STRING	OPTIONAL
WSDATA Password AS STRING	OPTIONAL
WSDATA Branch   AS STRING	OPTIONAL
WSDATA Company  AS STRING	OPTIONAL

WSMETHOD POST cliente ;
	DESCRIPTION "Inclusao cadastro de cliene através do Sales Force" ;
	WSSYNTAX "/api/cliente/{User, Pass, Company, Branch}" ;
	PATH "/api/cliente/";
	PRODUCES APPLICATION_JSON

WSMETHOD POST pedido ;
	DESCRIPTION "Inclusao cadastro de cliene através do Sales Force" ;
	WSSYNTAX "/api/pedido/{User, Pass, Company, Branch}" ;
	PATH "/api/pedido/";
	PRODUCES APPLICATION_JSON

ENDWSRESTFUL

//-------------------------------------------------------------------
/*/{Protheus.doc} POST itemsDetails
Carrega os Itens Utilizados para Montagem do Painel

@author Francisco Oliveira
@SInCE 24/11/2020
@Version Protheus 12
/*/
//-------------------------------------------------------------------

WSMETHOD POST cliente WSRECEIVE Username, Password, Company, Branch WSSERVICE SALESFORCE

local aArea         := getArea()
local lRet          := .t.
local aCab          := {}
local cJson         := self:getContent()
local oJson         := nil
local oJsonRet      := nil
local aNomes		:= ""
local cCampo		:= ""
local nI			:= 0
Local oParser       := Nil

FwJsonDeserialize(cJson,@oParser)

Self:SetContentType("application/json")
oJson       := jSonObject():new()
oJsonRet    := jSonObject():new()

cError      := oJson:fromJson(cJson)

if !empty(cError)
	setRestFault(500, 'Parser Json Error')
	lRet    := .f.
else
	cLog := GrvCliente(oJson,oParser)
	oJsonRet['Mensagem']    := cLog
	::SetResponse(EncodeUTF8(oJsonRet:getJSonObject('Mensagem')))
endif

restArea(aArea)

return (.t.)

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

WsSalesForce.zip

from tds-vscode.

brodao2 avatar brodao2 commented on August 18, 2024

Favor complementar chamado informando os dados solicitados conforme Informações importantes ao abrir o chamado e anexe os logs conforme Gerando informações sobre o problema.

No aguardo

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

Boa Noite

Segue dados solicitado

VSCODE

Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

Extensão TDS v2.0.8

Dados do Server

Versão: TOTVS Manufatura
Build AppServer: 7.00.210324P-20240703 - 64 bits
Nome do servidor: IX34HRPRHOMCR40
Sistema operacional: Windows Server 2016
Appserver version: 20.3.2.11
Build DBAccess: 20230303-20240531
Release do RPO: 12.1.2310
Release do dicionário: 12.1.2310
Local files: ctree
License server: 2014 - 3.6.1
DB DataBase: MSSQL
DB API Build: 20230303-20240531

Dados do Remote

Remote build: 7.00.210324P-20210914
Remote version: 20.3.0.0
Remote type: 1
Remote Arquitetura: x86_64 - QT-5.15.3 WIN
Módulo: FAT
Nome do computador: ZABS-AVELL
Sistema operacional: Windows 10 -
Memória: 32503
Processador: 12th Gen Intel(R) Core(TM) i9-12900HX

Versão da Lib:20240701
Data da Lib: 20240627_171311
Commit ID:9952f3ca1736c307624396a7f32331ab53d74a19
Central de Atualizações: 6081068 (10/07/2024)

Att

from tds-vscode.

brodao2 avatar brodao2 commented on August 18, 2024

@jzabotto

Faltou os logs com a gravação da ocorrência. Favor gerar log com procedimentos que deram certo e os que deram errado.

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

from tds-vscode.

brodao2 avatar brodao2 commented on August 18, 2024

@jzabotto

Resposta por e-mail, não aceitam anexos. Favor anexar direto no chamado via Web.

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

Homolog_NaoCompila.log
Producao_Compilou.log

Segue

from tds-vscode.

jzabotto avatar jzabotto commented on August 18, 2024

Boa Tarde,

Alan, conforme conversamos foi identificado o problema que era a definição de includes no server.json.

Obrigado

Att

from tds-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.