summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Application.Migration.Files.20210615_160.SQL
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
commit1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (patch)
treee1c3b20ea08f0cf71122a1e73f0d395f8fd83874 /Codemerx/Gestor.Application.Migration.Files.20210615_160.SQL
parent674ca83ba9243a9e95a7568c797668dab6aee26a (diff)
downloadgestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz
gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip
chore: location
Diffstat (limited to 'Codemerx/Gestor.Application.Migration.Files.20210615_160.SQL')
-rw-r--r--Codemerx/Gestor.Application.Migration.Files.20210615_160.SQL23
1 files changed, 23 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Application.Migration.Files.20210615_160.SQL b/Codemerx/Gestor.Application.Migration.Files.20210615_160.SQL
new file mode 100644
index 0000000..2fa6740
--- /dev/null
+++ b/Codemerx/Gestor.Application.Migration.Files.20210615_160.SQL
@@ -0,0 +1,23 @@
+IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'CamposRelatorios') AND NOT EXISTS(SELECT 1 FROM [dbo].[CamposRelatorios] WHERE [Relatorio] = 16 AND [IdUsuario] = 0)
+BEGIN
+ INSERT INTO [dbo].[CamposRelatorios]
+VALUES
+(0, 16, N'Vencimento', N'VENCIMENTO', NULL, N'DATA', 0),
+(0, 16, N'Cliente', N'CLIENTE', NULL, N'', 1),
+(0, 16, N'ValorParcela', N'VALOR PARCELA', NULL, N'VALOR', 2),
+(0, 16, N'ComissaoPerc', N'COMISSÃO', NULL, N'PERCENTUAL', 3),
+(0, 16, N'ComissaoPrevista', N'COMISSÃO PREVISTA', NULL, N'VALOR', 4),
+(0, 16, N'ComissaoGerada', N'COMISSÃO GERADA', NULL, N'VALOR', 5),
+(0, 16, N'Pendentes', N'PARCELA', NULL, N'', 6),
+(0, 16, N'SubTipo', N'TIPO DE PARCELA', NULL, N'ENUM', 7),
+(0, 16, N'FormaPagamento', N'FORMA DE PAGAMENTO', NULL, N'', 8),
+(0, 16, N'Pendencia', N'PENDÊNCIA', NULL, N'', 9),
+(0, 16, N'Ramo', N'RAMO', NULL, N'', 10),
+(0, 16, N'Seguradora', N'SEGURADORA', NULL, N'', 11),
+(0, 16, N'TipoDocumento', N'TIPO DOCUMENTO', NULL, N'', 12),
+(0, 16, N'Apolice', N'APÓLICE', NULL, N'', 13),
+(0, 16, N'Endosso', N'ENDOSSO', NULL, N'', 14),
+(0, 16, N'Vendedor', N'VENDEDOR PRINCIPAL', NULL, N'', 15),
+(0, 16, N'TodosVendedores', N'TODOS VENDEDORES', NULL, N'', 16),
+(0, 16, N'VigenciaInicial', N'VIGÊNCIA INICIAL', NULL, N'DATA', 17)
+END \ No newline at end of file