INSERT [dbo].[Sys_Fields] ([IdEntidad], [IdCampo], [Descripcion], [TipoDato], [LongMax], [Requerido], [PmryKey], [FmtValue], [DftValue], [AliasFld], [AliasQry2], [IndField], [TipoEntidad], [LstTipo], [LstClnaValor], [LstClnaLista], [LstQuery], [Inactivo]) VALUES (N'paQrySalidasRel', N'NumDocEnt', N'', N'INTEGER', 0, 0, 0, N'', N'0', N'', N'', 69, N'SP', N'N', N'', N'', N'', 0)
INSERT [dbo].[Sys_Fields] ([IdEntidad], [IdCampo], [Descripcion], [TipoDato], [LongMax], [Requerido], [PmryKey], [FmtValue], [DftValue], [AliasFld], [AliasQry2], [IndField], [TipoEntidad], [LstTipo], [LstClnaValor], [LstClnaLista], [LstQuery], [Inactivo]) VALUES (N'paQrySalidasRel', N'CiaDocEnt', N'', N'CHAR', 2, 0, 0, N'', N'', N'', N'', 70, N'SP', N'QRY', N'IdCia', N'IdCia+''  ''+Compania', N'Companias WHERE  Inactivo=0 ORDER BY IdCia', 0)
