summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Application.Migration.Files.20210610_126.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.20210610_126.SQL
parent674ca83ba9243a9e95a7568c797668dab6aee26a (diff)
downloadgestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz
gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip
chore: location
Diffstat (limited to 'Codemerx/Gestor.Application.Migration.Files.20210610_126.SQL')
-rw-r--r--Codemerx/Gestor.Application.Migration.Files.20210610_126.SQL20
1 files changed, 20 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Application.Migration.Files.20210610_126.SQL b/Codemerx/Gestor.Application.Migration.Files.20210610_126.SQL
new file mode 100644
index 0000000..849d697
--- /dev/null
+++ b/Codemerx/Gestor.Application.Migration.Files.20210610_126.SQL
@@ -0,0 +1,20 @@
+IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'CamposRelatorios') AND NOT EXISTS(SELECT 1 FROM [dbo].[CamposRelatorios] WHERE [Relatorio] = 8 AND [IdUsuario] = 0)
+BEGIN
+ INSERT INTO [dbo].[CamposRelatorios]
+VALUES
+(0, 8, N'Cliente', N'CLIENTE', 0, N'', 0),
+(0, 8, N'PremioLiquido', N'PRÊMIO LÍQUIDO', 0, N'VALOR', 1),
+(0, 8, N'Comissao', N'COMISSÃO', 0, N'PERCENTUAL', 2),
+(0, 8, N'ComissaoPrevista', N'COMISSÃO PREVISTA', 0, N'VALOR', 3),
+(0, 8, N'ComissaoRecebida', N'COMISSÃO RECEBIDA', 0, N'VALOR', 4),
+(0, 8, N'ComissaoPendente', N'COMISSÃO PENDENTE', 0, N'VALOR', 5),
+(0, 8, N'Completo', N'RECEBIDO POR COMPLETO', 0, N'', 6),
+(0, 8, N'Seguradora', N'SEGURADORA', 0, N'', 7),
+(0, 8, N'Ramo', N'RAMO', 0, N'', 8),
+(0, 8, N'Apolice', N'APÓLICE', 0, N'', 9),
+(0, 8, N'Endosso', N'ENDOSSO', 0, N'', 10),
+(0, 8, N'Vendedor', N'VENDEDOR PRINCIPAL', 0, N'', 13),
+(0, 8, N'VigenciaInicial', N'VIGÊNCIA INICIAL', 0, N'DATA', 12),
+(0, 8, N'Status', N'STATUS', 0, N'', 11),
+(0, 8, N'Item', N'ITEM', 0, N'', 14)
+END \ No newline at end of file