Mostrar Print
Local: PDVServico Mensagem: Cannot insert the value NULL into column 'cli_Ativo', table 'AllegroPlataforma.dbo.tbCliente'; column does not allow nulls. INSERT fails. The statement has been terminated. Instrucao SQL Insert tbCliente (cli_CodigoEmpresa,cli_CodigoLoja,cli_Codigo,cli_Nome,cli_DDDCelular,cli_TelefoneCelular, cli_DDDResidencial, cli_TelefoneResidencial,cli_DDDComercial, cli_TelefoneComercial, cli_Email, cli_DataNascimento, cli_Sexo, cli_TipoCliente,cli_DocumentoPrincipal, cli_DocumentoSecundario,cli_InscricaoMunicipal,cli_CEP,cli_Endereco,cli_Numero,cli_Complemento,cli_Bairro, cli_Cidade,cli_UF, cli_CodigoFormaConhecimento, cli_ISSRetido, cli_CodigoGrupo,cli_CodigoMunicipio, cli_Sobrenome,cli_Latitude,cli_Longitude,cli_DescontoPadrao, cli_DescontoPadraoProduto,cli_CodigoTabelaPrecoServico, cli_TipoCobranca,cli_CodigoConvenio,cli_PrefereETicket,cli_DiasDelivery,cli_RPSUnificada,cli_EmiteRPSSemDadosTomador, cli_ReferenciaEndereco,cli_DiasFaturamento,cli_Observacao,cli_FormaComunicacaoProcessos,cli_FormaComunicacaoPesquisa,cli_FormaComunicacaoMarketing ,cli_TipoTributacaoISS,cli_TipoEntregaPeca,cli_PrazoEntregaDias,cli_CodigoInterno,cli_CodigoExterno, cli_CodigoBarraNumerico ,cli_AutorizaIdentificacaoEnxoval,cli_DataAutorizacaoIdentificacaoEnxoval ) Values (2,416,5549,N'TESTE 1', N'', N'', N'', N'', N'', N'', N'', NULL, N'', N'F', N'', N'', N'', N'', N'', N'', N'', N'', N'BARUERI', N'SP', NULL, N'2', NULL, N'3505708', N'', NULL, NULL, 0.00, 0.00, NULL, N'', NULL, 0, 0.00, 0, 0, N'', NULL, N'', N'XX', N'XX', N'XX', NULL, N'T', 1.00, N'', N'', 1 ,0 ,NULL ) Stack Trace: at ideologica.IdeoFramework.BancoDadosSQL.GerarExcecaoComando(SqlCommand comando, Exception innerException) at ideologica.IdeoFramework.BancoDadosSQL.Executar(SqlCommand comando) at ideologica.IdeoFramework.BancoDadosSQL.Executar(String instrucaoSQL) at ideologica.clsBD_Cliente.Gravar(String Nome, String& Codigo, String DDD_celular, String TelefoneCelular, String DDD_residencial, String TelefoneResidencial, String DDD_comercial, String TelefoneComercial, String Email, String Nascimento, String Sexo, String TipoDocumento, String DocumentoPrincipal, String DocumentoSecundario, String InscricaoMunicipal, String Cep, String Endereco, String Numero, String Complemento, String Bairro, String Cidade, String Uf, String Fconhecimento, String IssRetido, String GrupoCliente, String CodigoMunicipioIBGE, String TextoRegistroOriginal, String CodigoLoja, String Sobrenome, String Latitude, String Longitude, Boolean Ativo, Decimal DescontoPadraoServico, String CodigoTabelaPrecoServico, String TipoCobranca, String CodigoConvenio, Boolean PrefereETicket, Int32 DiasDelivery, Boolean RPSUnificada, Boolean EmiteRPSSemDadosTomador, String ReferenciaEndereco, String DiasFaturamento, String Observacao, String FormaComunicacaoProcessos, String FormaComunicacaoPesquisa, String FormaComunicacaoMarketing, String TipoTributacaoISS, String TipoEntregaPeca, Int32 PrazoEntregaDias, String CodigoInterno, String CodigoExterno, Decimal DescontoPadraoProduto, Boolean CodigoBarraNumerico, String RankingDefinidoManualmente, Boolean AutorizaIdentificacaoEnxoval, String DataAutorizacaoIdentificacaoEnxoval) at ideologica.frmClientePDVServico.cmdConfirmar_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at Infragistics.Win.Misc.UltraButtonBase.OnClick(EventArgs e) at Infragistics.Win.Misc.UltraButton.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Local: .Net SqlClient Data Provider Mensagem: Cannot insert the value NULL into column 'cli_Ativo', table 'AllegroPlataforma.dbo.tbCliente'; column does not allow nulls. INSERT fails. The statement has been terminated. Stack Trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at ideologica.IdeoFramework.BancoDadosSQL.Executar(SqlCommand comando) ========================= Informações do Aplicativo ========================= Arquivo: PDVServico.exe Caminho: C:\Allegro.IoT\PDVServico.exe Versão: 7.0.0.1238 ====================== Informações da Máquina ====================== Nome da Máquina: DESKTOP-P37F4QS Memória: 7,70 GB Sistema Operacional: Microsoft Windows 10 Pro Processador: 12th Gen Intel(R) Core(TM) i3-12100 (3302Mhz) Usuário: DESKTOP-P37F4QS\omoar Resolução do Vídeo: 1024x768 Versão SQL Server: Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64) Mar 18 2018 09:11:49 Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows 10 Pro 10.0
(Build 19045: ) Versão exe: 7.0.0, Computador: DESKTOP-P37F4QS