INSERT [dbo].[Sys_Fields] ([IdEntidad], [IdCampo], [Descripcion], [TipoDato], [LongMax], [Requerido], [PmryKey], [FmtValue], [DftValue], [AliasFld], [AliasQry2], [IndField], [TipoEntidad], [LstTipo], [LstClnaValor], [LstClnaLista], [LstQuery], [Inactivo]) VALUES (N'paQryTraCumplidoRelDet', N'D.CodCCosto', N'', N'VARCHAR', 16, 0, 0, N'', N'', N'', N'', 138, N'SP', N'QRY', N'IdCCosto', N'CCosto+'' ''+IdCCosto', N'CentroCosto WHERE Inactivo=0 ORDER BY Ccosto', 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'paQryTraCumplidoRelDet', N'D.CodSubCos', N'', N'VARCHAR', 16, 0, 0, N'', N'', N'', N'', 139, N'SP', N'QRY', N'IdSubCos', N'SubCosto+'' ''+IdSubCos', N'SubCentros WHERE Inactivo=0 ORDER BY SubCosto', 0)
