Compare commits
No commits in common. "factura-e/firmas-e-modificacion-edmx" and "master" have entirely different histories.
factura-e/
...
master
|
|
@ -1524,7 +1524,6 @@ namespace Exferia_Aplicacion.General
|
||||||
public static string G_STR_OPCION_GEN_CAMBIARCLIENTE = "GEN_CAMBIARCLIENTE";
|
public static string G_STR_OPCION_GEN_CAMBIARCLIENTE = "GEN_CAMBIARCLIENTE";
|
||||||
public static string G_STR_OPCION_GEN_CONEXION = "GEN_CONEXION";
|
public static string G_STR_OPCION_GEN_CONEXION = "GEN_CONEXION";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACION_INFORMES = "GEN_CONFIGURACION_INFORMES";
|
public static string G_STR_OPCION_GEN_CONFIGURACION_INFORMES = "GEN_CONFIGURACION_INFORMES";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACION_FIRMAS_DIGITALES = "GEN_CONFIGURACION_FIRMAS_DIGITALES";
|
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACIONEMAIL = "GEN_CONFIGURACIONEMAIL";
|
public static string G_STR_OPCION_GEN_CONFIGURACIONEMAIL = "GEN_CONFIGURACIONEMAIL";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACION_SW_SIGMA = "GEN_CONFIGURACION_SW_SIGMA";
|
public static string G_STR_OPCION_GEN_CONFIGURACION_SW_SIGMA = "GEN_CONFIGURACION_SW_SIGMA";
|
||||||
public static string G_STR_OPCION_GEN_CONFIGURACIONESQUEMA_MENU = "GEN_CONFIGURACIONESQUEMA_MENU";
|
public static string G_STR_OPCION_GEN_CONFIGURACIONESQUEMA_MENU = "GEN_CONFIGURACIONESQUEMA_MENU";
|
||||||
|
|
@ -2113,8 +2112,6 @@ namespace Exferia_Aplicacion.General
|
||||||
|
|
||||||
public static long G_LNG_RUTA_CARTASNOTIFICACIONTASAANUAL = 13;
|
public static long G_LNG_RUTA_CARTASNOTIFICACIONTASAANUAL = 13;
|
||||||
public static long G_LNG_RUTA_Modelo347 = 14;
|
public static long G_LNG_RUTA_Modelo347 = 14;
|
||||||
public static long G_LNG_RUTA_FACTURA_E_IN = 15;
|
|
||||||
public static long G_LNG_RUTA__FACTURA_E_OUT = 16;
|
|
||||||
|
|
||||||
public static List<INF_Rutas> G_LST_RUTAS = null;
|
public static List<INF_Rutas> G_LST_RUTAS = null;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<ClassDiagram />
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
// T4 code generation is enabled for model 'D:\desa\Exferia\Exferia\Exferia_EntityFramework\Exferia_EntityFramework\EF_BaseDatos.edmx'.
|
// La generación de código T4 está habilitada para el modelo 'C:\Proyectos\Visual Studio 2015\Projects\Exferia_Librerias_Proyectos\Exferia_EntityFramework\Exferia_EntityFramework\EF_BaseDatos.edmx'.
|
||||||
// To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
|
// Para habilitar la generación de código heredada, cambie el valor de la propiedad del diseñador 'Estrategia de generación de código'
|
||||||
// property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
|
// por 'ObjectContext heredado'. Esta propiedad está disponible en la ventana Propiedades cuando se abre
|
||||||
// is open in the designer.
|
// el modelo en el diseñador.
|
||||||
|
|
||||||
// If no context and entity classes have been generated, it may be because you created an empty model but
|
// Si no se ha generado ninguna clase de contexto y de entidad, puede que haya creado un modelo vacío pero
|
||||||
// have not yet chosen which version of Entity Framework to use. To generate a context class and entity
|
// no haya elegido todavía la versión de Entity Framework que se va a usar. Para generar una clase de contexto y clases de entidad
|
||||||
// classes for your model, open the model in the designer, right-click on the designer surface, and
|
// para el modelo, abra el modelo en el diseñador, haga clic con el botón secundario en la superficie del diseñador y
|
||||||
// select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation
|
// seleccione 'Actualizar modelo desde base de datos...', 'Generar base de datos desde modelo...' o 'Agregar elemento de generación
|
||||||
// Item...'.
|
// de código...'.
|
||||||
|
|
@ -2006,17 +2006,6 @@
|
||||||
<Property Name="opcion" Type="varchar" MaxLength="100" Nullable="false" />
|
<Property Name="opcion" Type="varchar" MaxLength="100" Nullable="false" />
|
||||||
<Property Name="nombreCampoCodigo" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="nombreCampoCodigo" Type="varchar" MaxLength="50" Nullable="false" />
|
||||||
</EntityType>
|
</EntityType>
|
||||||
<EntityType Name="GEN_Firmas_Electronicas">
|
|
||||||
<Key>
|
|
||||||
<PropertyRef Name="id" />
|
|
||||||
</Key>
|
|
||||||
<Property Name="id" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
||||||
<Property Name="codigo" Type="varchar" MaxLength="10" Nullable="false" />
|
|
||||||
<Property Name="descripcion" Type="varchar" MaxLength="50" Nullable="false" />
|
|
||||||
<Property Name="fecha_fin" Type="datetime" />
|
|
||||||
<Property Name="idEmpresa" Type="bigint" Nullable="false"/>
|
|
||||||
<Property Name="text_perm" Type="text"/>
|
|
||||||
</EntityType>
|
|
||||||
<EntityType Name="GEN_Configuracion_Informes">
|
<EntityType Name="GEN_Configuracion_Informes">
|
||||||
<Key>
|
<Key>
|
||||||
<PropertyRef Name="id" />
|
<PropertyRef Name="id" />
|
||||||
|
|
@ -12462,19 +12451,7 @@
|
||||||
</Dependent>
|
</Dependent>
|
||||||
</ReferentialConstraint>
|
</ReferentialConstraint>
|
||||||
</Association>
|
</Association>
|
||||||
<Association Name="FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
<Association Name="FK_GEN_Control_GEN_PerfilesFuncionalidad">
|
||||||
<End Role="GEN_Empresas" Type="Self.GEN_Empresas" Multiplicity="1" />
|
|
||||||
<End Role="GEN_Firmas_Electronicas" Type="Self.GEN_Firmas_Electronicas" Multiplicity="*" />
|
|
||||||
<ReferentialConstraint>
|
|
||||||
<Principal Role="GEN_Empresas">
|
|
||||||
<PropertyRef Name="id" />
|
|
||||||
</Principal>
|
|
||||||
<Dependent Role="GEN_Firmas_Electronicas">
|
|
||||||
<PropertyRef Name="idEmpresa" />
|
|
||||||
</Dependent>
|
|
||||||
</ReferentialConstraint>
|
|
||||||
</Association>
|
|
||||||
<Association Name="FK_GEN_Control_GEN_PerfilesFuncionalidad">
|
|
||||||
<End Role="GEN_PerfilesFuncionalidad" Type="Self.GEN_PerfilesFuncionalidad" Multiplicity="1" />
|
<End Role="GEN_PerfilesFuncionalidad" Type="Self.GEN_PerfilesFuncionalidad" Multiplicity="1" />
|
||||||
<End Role="GEN_Control" Type="Self.GEN_Control" Multiplicity="*" />
|
<End Role="GEN_Control" Type="Self.GEN_Control" Multiplicity="*" />
|
||||||
<ReferentialConstraint>
|
<ReferentialConstraint>
|
||||||
|
|
@ -26676,7 +26653,6 @@
|
||||||
<EntitySet Name="GEN_Almacenes" EntityType="Self.GEN_Almacenes" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="GEN_Almacenes" EntityType="Self.GEN_Almacenes" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="GEN_Configuracion_CampoCodigo" EntityType="Self.GEN_Configuracion_CampoCodigo" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="GEN_Configuracion_CampoCodigo" EntityType="Self.GEN_Configuracion_CampoCodigo" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="GEN_Configuracion_Informes" EntityType="Self.GEN_Configuracion_Informes" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="GEN_Configuracion_Informes" EntityType="Self.GEN_Configuracion_Informes" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="GEN_Firmas_Electronicas" EntityType="Self.GEN_Firmas_Electronicas" Schema="dbo" store:Type="Tables" />
|
|
||||||
<EntitySet Name="GEN_Configuracion_SW_Sigma" EntityType="Self.GEN_Configuracion_SW_Sigma" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="GEN_Configuracion_SW_Sigma" EntityType="Self.GEN_Configuracion_SW_Sigma" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="GEN_ConfiguracionesEmails" EntityType="Self.GEN_ConfiguracionesEmails" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="GEN_ConfiguracionesEmails" EntityType="Self.GEN_ConfiguracionesEmails" Schema="dbo" store:Type="Tables" />
|
||||||
<EntitySet Name="GEN_Control" EntityType="Self.GEN_Control" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="GEN_Control" EntityType="Self.GEN_Control" Schema="dbo" store:Type="Tables" />
|
||||||
|
|
@ -28502,10 +28478,6 @@
|
||||||
<End Role="GEN_EjerciciosActivos_Empresa" EntitySet="GEN_EjerciciosActivos_Empresa" />
|
<End Role="GEN_EjerciciosActivos_Empresa" EntitySet="GEN_EjerciciosActivos_Empresa" />
|
||||||
<End Role="GEN_Configuracion_Informes" EntitySet="GEN_Configuracion_Informes" />
|
<End Role="GEN_Configuracion_Informes" EntitySet="GEN_Configuracion_Informes" />
|
||||||
</AssociationSet>
|
</AssociationSet>
|
||||||
<AssociationSet Name="FK_GEN_Firmas_Electronicas_GEN_Empresas" Association="Self.FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
|
||||||
<End Role="GEN_Empresas" EntitySet="GEN_Empresas" />
|
|
||||||
<End Role="GEN_Firmas_Electronicas" EntitySet="GEN_Firmas_Electronicas" />
|
|
||||||
</AssociationSet>
|
|
||||||
<AssociationSet Name="FK_GEN_Control_GEN_PerfilesFuncionalidad" Association="Self.FK_GEN_Control_GEN_PerfilesFuncionalidad">
|
<AssociationSet Name="FK_GEN_Control_GEN_PerfilesFuncionalidad" Association="Self.FK_GEN_Control_GEN_PerfilesFuncionalidad">
|
||||||
<End Role="GEN_PerfilesFuncionalidad" EntitySet="GEN_PerfilesFuncionalidad" />
|
<End Role="GEN_PerfilesFuncionalidad" EntitySet="GEN_PerfilesFuncionalidad" />
|
||||||
<End Role="GEN_Control" EntitySet="GEN_Control" />
|
<End Role="GEN_Control" EntitySet="GEN_Control" />
|
||||||
|
|
@ -37400,7 +37372,6 @@
|
||||||
<End Role="EPD_Procedimientos" EntitySet="EPD_Procedimientos" />
|
<End Role="EPD_Procedimientos" EntitySet="EPD_Procedimientos" />
|
||||||
</AssociationSet>
|
</AssociationSet>
|
||||||
<EntitySet Name="GEN_Configuracion_Informes" EntityType="SigmaERP2017Model.GEN_Configuracion_Informes" />
|
<EntitySet Name="GEN_Configuracion_Informes" EntityType="SigmaERP2017Model.GEN_Configuracion_Informes" />
|
||||||
<EntitySet Name="GEN_Firmas_Electronicas" EntityType="SigmaERP2017Model.GEN_Firmas_Electronicas" />
|
|
||||||
<EntitySet Name="MYT_Configuracion_Informes" EntityType="SigmaERP2017Model.MYT_Configuracion_Informes" />
|
<EntitySet Name="MYT_Configuracion_Informes" EntityType="SigmaERP2017Model.MYT_Configuracion_Informes" />
|
||||||
<EntitySet Name="CTA_DiarioCabecera" EntityType="SigmaERP2017Model.CTA_DiarioCabecera" />
|
<EntitySet Name="CTA_DiarioCabecera" EntityType="SigmaERP2017Model.CTA_DiarioCabecera" />
|
||||||
<AssociationSet Name="FK_CTA_DiarioCabecera_CTA_PredefinidosFicheros" Association="SigmaERP2017Model.FK_CTA_DiarioCabecera_CTA_PredefinidosFicheros">
|
<AssociationSet Name="FK_CTA_DiarioCabecera_CTA_PredefinidosFicheros" Association="SigmaERP2017Model.FK_CTA_DiarioCabecera_CTA_PredefinidosFicheros">
|
||||||
|
|
@ -38822,10 +38793,6 @@
|
||||||
<AssociationSet Name="FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa" Association="SigmaERP2017Model.FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa">
|
<AssociationSet Name="FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa" Association="SigmaERP2017Model.FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa">
|
||||||
<End Role="GEN_EjerciciosActivos_Empresa" EntitySet="GEN_EjerciciosActivos_Empresa" />
|
<End Role="GEN_EjerciciosActivos_Empresa" EntitySet="GEN_EjerciciosActivos_Empresa" />
|
||||||
<End Role="GEN_Configuracion_Informes" EntitySet="GEN_Configuracion_Informes" />
|
<End Role="GEN_Configuracion_Informes" EntitySet="GEN_Configuracion_Informes" />
|
||||||
</AssociationSet>
|
|
||||||
<AssociationSet Name="FK_GEN_Firmas_Electronicas_GEN_Empresas" Association="SigmaERP2017Model.FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
|
||||||
<End Role="GEN_Empresas" EntitySet="GEN_Empresas" />
|
|
||||||
<End Role="GEN_Firmas_Electronicas" EntitySet="GEN_Firmas_Electronicas" />
|
|
||||||
</AssociationSet>
|
</AssociationSet>
|
||||||
<AssociationSet Name="FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas" Association="SigmaERP2017Model.FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas">
|
<AssociationSet Name="FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas" Association="SigmaERP2017Model.FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas">
|
||||||
<End Role="GEN_Empresas" EntitySet="GEN_Empresas" />
|
<End Role="GEN_Empresas" EntitySet="GEN_Empresas" />
|
||||||
|
|
@ -50425,7 +50392,6 @@
|
||||||
<Property Name="fechaBorrado" Type="DateTime" Precision="3" />
|
<Property Name="fechaBorrado" Type="DateTime" Precision="3" />
|
||||||
<Property Name="NRBE" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
<Property Name="NRBE" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
||||||
<Property Name="permiteCobrarAlbaran" Type="Boolean" />
|
<Property Name="permiteCobrarAlbaran" Type="Boolean" />
|
||||||
<NavigationProperty Name="GEN_Firmas_Electronicas" Relationship="SigmaERP2017Model.FK_GEN_Firmas_Electronicas_GEN_Empresas" FromRole="GEN_Empresas" ToRole="GEN_Firmas_Electronicas" />
|
|
||||||
<NavigationProperty Name="CRM_ClientesPotenciales" Relationship="SigmaERP2017Model.FK_CRM_ClientesPotenciales_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CRM_ClientesPotenciales" />
|
<NavigationProperty Name="CRM_ClientesPotenciales" Relationship="SigmaERP2017Model.FK_CRM_ClientesPotenciales_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CRM_ClientesPotenciales" />
|
||||||
<NavigationProperty Name="CRM_Terminales" Relationship="SigmaERP2017Model.FK_CRM_Terminales_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CRM_Terminales" />
|
<NavigationProperty Name="CRM_Terminales" Relationship="SigmaERP2017Model.FK_CRM_Terminales_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CRM_Terminales" />
|
||||||
<NavigationProperty Name="CTA_AmortizacionesCabecera" Relationship="SigmaERP2017Model.FK_CTA_AmortizacionesCabecera_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CTA_AmortizacionesCabecera" />
|
<NavigationProperty Name="CTA_AmortizacionesCabecera" Relationship="SigmaERP2017Model.FK_CTA_AmortizacionesCabecera_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CTA_AmortizacionesCabecera" />
|
||||||
|
|
@ -57064,18 +57030,6 @@
|
||||||
<Property Name="venta_Factura_Informe_TextoFinal" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
<Property Name="venta_Factura_Informe_TextoFinal" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
||||||
<NavigationProperty Name="GEN_EjerciciosActivos_Empresa" Relationship="SigmaERP2017Model.FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa" FromRole="GEN_Configuracion_Informes" ToRole="GEN_EjerciciosActivos_Empresa" />
|
<NavigationProperty Name="GEN_EjerciciosActivos_Empresa" Relationship="SigmaERP2017Model.FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa" FromRole="GEN_Configuracion_Informes" ToRole="GEN_EjerciciosActivos_Empresa" />
|
||||||
</EntityType>
|
</EntityType>
|
||||||
<EntityType Name="GEN_Firmas_Electronicas">
|
|
||||||
<Key>
|
|
||||||
<PropertyRef Name="id" />
|
|
||||||
</Key>
|
|
||||||
<Property Name="id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
||||||
<Property Name="codigo" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="false" />
|
|
||||||
<Property Name="descripcion" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
|
||||||
<Property Name="idEmpresa" Type="Int64" Nullable="false" />
|
|
||||||
<Property Name="fecha_fin" Type="DateTime" Precision="3" />
|
|
||||||
<Property Name="text_perm" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
|
||||||
<NavigationProperty Name="GEN_Empresas" Relationship="SigmaERP2017Model.FK_GEN_Firmas_Electronicas_GEN_Empresas" FromRole="GEN_Firmas_Electronicas" ToRole="GEN_Empresas" />
|
|
||||||
</EntityType>
|
|
||||||
<EntityType Name="MYT_Configuracion_Informes">
|
<EntityType Name="MYT_Configuracion_Informes">
|
||||||
<Key>
|
<Key>
|
||||||
<PropertyRef Name="id" />
|
<PropertyRef Name="id" />
|
||||||
|
|
@ -63041,18 +62995,6 @@
|
||||||
</Dependent>
|
</Dependent>
|
||||||
</ReferentialConstraint>
|
</ReferentialConstraint>
|
||||||
</Association>
|
</Association>
|
||||||
<Association Name="FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
|
||||||
<End Type="SigmaERP2017Model.GEN_Empresas" Role="GEN_Empresas" Multiplicity="1" />
|
|
||||||
<End Type="SigmaERP2017Model.GEN_Firmas_Electronicas" Role="GEN_Firmas_Electronicas" Multiplicity="*" />
|
|
||||||
<ReferentialConstraint>
|
|
||||||
<Principal Role="GEN_Empresas">
|
|
||||||
<PropertyRef Name="id" />
|
|
||||||
</Principal>
|
|
||||||
<Dependent Role="GEN_Firmas_Electronicas">
|
|
||||||
<PropertyRef Name="idEmpresa" />
|
|
||||||
</Dependent>
|
|
||||||
</ReferentialConstraint>
|
|
||||||
</Association>
|
|
||||||
<Association Name="FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas">
|
<Association Name="FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas">
|
||||||
<End Type="SigmaERP2017Model.GEN_Empresas" Role="GEN_Empresas" Multiplicity="1" />
|
<End Type="SigmaERP2017Model.GEN_Empresas" Role="GEN_Empresas" Multiplicity="1" />
|
||||||
<End Type="SigmaERP2017Model.GEN_EjerciciosActivos_Empresa" Role="GEN_EjerciciosActivos_Empresa" Multiplicity="*" />
|
<End Type="SigmaERP2017Model.GEN_EjerciciosActivos_Empresa" Role="GEN_EjerciciosActivos_Empresa" Multiplicity="*" />
|
||||||
|
|
@ -74704,18 +74646,6 @@
|
||||||
</MappingFragment>
|
</MappingFragment>
|
||||||
</EntityTypeMapping>
|
</EntityTypeMapping>
|
||||||
</EntitySetMapping>
|
</EntitySetMapping>
|
||||||
<EntitySetMapping Name="GEN_Firmas_Electronicas">
|
|
||||||
<EntityTypeMapping TypeName="SigmaERP2017Model.GEN_Firmas_Electronicas">
|
|
||||||
<MappingFragment StoreEntitySet="GEN_Firmas_Electronicas">
|
|
||||||
<ScalarProperty Name="text_perm" ColumnName="text_perm" />
|
|
||||||
<ScalarProperty Name="idEmpresa" ColumnName="idEmpresa" />
|
|
||||||
<ScalarProperty Name="fecha_fin" ColumnName="fecha_fin" />
|
|
||||||
<ScalarProperty Name="descripcion" ColumnName="descripcion" />
|
|
||||||
<ScalarProperty Name="codigo" ColumnName="codigo" />
|
|
||||||
<ScalarProperty Name="id" ColumnName="id" />
|
|
||||||
</MappingFragment>
|
|
||||||
</EntityTypeMapping>
|
|
||||||
</EntitySetMapping>
|
|
||||||
<EntitySetMapping Name="MYT_Configuracion_Informes">
|
<EntitySetMapping Name="MYT_Configuracion_Informes">
|
||||||
<EntityTypeMapping TypeName="SigmaERP2017Model.MYT_Configuracion_Informes">
|
<EntityTypeMapping TypeName="SigmaERP2017Model.MYT_Configuracion_Informes">
|
||||||
<MappingFragment StoreEntitySet="MYT_Configuracion_Informes">
|
<MappingFragment StoreEntitySet="MYT_Configuracion_Informes">
|
||||||
|
|
|
||||||
|
|
@ -1714,7 +1714,6 @@
|
||||||
<Compile Include="Script_Actualizacion\Scripts_Version_1419.cs" />
|
<Compile Include="Script_Actualizacion\Scripts_Version_1419.cs" />
|
||||||
<Compile Include="Script_Actualizacion\Scripts_Version_1418.cs" />
|
<Compile Include="Script_Actualizacion\Scripts_Version_1418.cs" />
|
||||||
<Compile Include="Script_Actualizacion\Scripts_Version_1417.cs" />
|
<Compile Include="Script_Actualizacion\Scripts_Version_1417.cs" />
|
||||||
<Compile Include="Script_Actualizacion\Scripts_Version_1440.cs" />
|
|
||||||
<Compile Include="Script_Actualizacion\Versiones_EF.cs" />
|
<Compile Include="Script_Actualizacion\Versiones_EF.cs" />
|
||||||
<Compile Include="Script_Iniciales\Scripts_Iniciales.cs" />
|
<Compile Include="Script_Iniciales\Scripts_Iniciales.cs" />
|
||||||
<Compile Include="SGA_InventarioCabecera_TMP.cs">
|
<Compile Include="SGA_InventarioCabecera_TMP.cs">
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated from a template.
|
// Este código se generó a partir de una plantilla.
|
||||||
//
|
//
|
||||||
// Manual changes to this file may cause unexpected behavior in your application.
|
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
|
||||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
// Los cambios manuales en este archivo se sobrescribirán si se regenera el código.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
@ -16,7 +16,6 @@ namespace Exferia_EntityFramework
|
||||||
{
|
{
|
||||||
public GEN_Empresas()
|
public GEN_Empresas()
|
||||||
{
|
{
|
||||||
this.GEN_Firmas_Electronicas = new HashSet<GEN_Firmas_Electronicas>();
|
|
||||||
this.CRM_ClientesPotenciales = new HashSet<CRM_ClientesPotenciales>();
|
this.CRM_ClientesPotenciales = new HashSet<CRM_ClientesPotenciales>();
|
||||||
this.CRM_Terminales = new HashSet<CRM_Terminales>();
|
this.CRM_Terminales = new HashSet<CRM_Terminales>();
|
||||||
this.CTA_AmortizacionesCabecera = new HashSet<CTA_AmortizacionesCabecera>();
|
this.CTA_AmortizacionesCabecera = new HashSet<CTA_AmortizacionesCabecera>();
|
||||||
|
|
@ -194,7 +193,6 @@ namespace Exferia_EntityFramework
|
||||||
public string NRBE { get; set; }
|
public string NRBE { get; set; }
|
||||||
public Nullable<bool> permiteCobrarAlbaran { get; set; }
|
public Nullable<bool> permiteCobrarAlbaran { get; set; }
|
||||||
|
|
||||||
public virtual ICollection<GEN_Firmas_Electronicas> GEN_Firmas_Electronicas { get; set; }
|
|
||||||
public virtual ICollection<CRM_ClientesPotenciales> CRM_ClientesPotenciales { get; set; }
|
public virtual ICollection<CRM_ClientesPotenciales> CRM_ClientesPotenciales { get; set; }
|
||||||
public virtual ICollection<CRM_Terminales> CRM_Terminales { get; set; }
|
public virtual ICollection<CRM_Terminales> CRM_Terminales { get; set; }
|
||||||
public virtual ICollection<CTA_AmortizacionesCabecera> CTA_AmortizacionesCabecera { get; set; }
|
public virtual ICollection<CTA_AmortizacionesCabecera> CTA_AmortizacionesCabecera { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
|
||||||
// This code was generated from a template.
|
|
||||||
//
|
|
||||||
// Manual changes to this file may cause unexpected behavior in your application.
|
|
||||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
|
||||||
// </auto-generated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Exferia_EntityFramework
|
|
||||||
{
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
public partial class GEN_Firmas_Electronicas
|
|
||||||
{
|
|
||||||
public long id { get; set; }
|
|
||||||
public string codigo { get; set; }
|
|
||||||
public string descripcion { get; set; }
|
|
||||||
public long idEmpresa { get; set; }
|
|
||||||
public Nullable<System.DateTime> fecha_fin { get; set; }
|
|
||||||
public string text_perm { get; set; }
|
|
||||||
|
|
||||||
public virtual GEN_Empresas GEN_Empresas { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,81 +0,0 @@
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Exferia_EntityFramework.Script_Actualizacion
|
|
||||||
{
|
|
||||||
class Scripts_Version_1440
|
|
||||||
{
|
|
||||||
public static Version G_VRS_VERSION = new Version("1.4.4.0");
|
|
||||||
public static long G_LNG_VERSION = 1437;
|
|
||||||
public static int G_INT_TIPO = 0;
|
|
||||||
public static string G_STR_SCRIPT =
|
|
||||||
//creaccion de rutas--------------------------------
|
|
||||||
$@"
|
|
||||||
IF (exists
|
|
||||||
(
|
|
||||||
SELECT *
|
|
||||||
FROM INFORMATION_SCHEMA.TABLES
|
|
||||||
WHERE TABLE_NAME = 'INF_Rutas'
|
|
||||||
)
|
|
||||||
) AND
|
|
||||||
(not exists
|
|
||||||
(
|
|
||||||
SELECT *
|
|
||||||
FROM INF_Rutas
|
|
||||||
WHERE id = 15
|
|
||||||
)
|
|
||||||
)
|
|
||||||
BEGIN
|
|
||||||
INSERT INTO INF_Rutas(id, codigo, descripcion, rutaFichero) VALUES (15, 15, 'Recepción de facturas electrónicas', 'C:\Pruebas\factura-e-recep')
|
|
||||||
END
|
|
||||||
IF (exists
|
|
||||||
(
|
|
||||||
SELECT *
|
|
||||||
FROM INFORMATION_SCHEMA.TABLES
|
|
||||||
WHERE TABLE_NAME = 'INF_Rutas'
|
|
||||||
)
|
|
||||||
) AND
|
|
||||||
(not exists
|
|
||||||
(
|
|
||||||
SELECT *
|
|
||||||
FROM INF_Rutas
|
|
||||||
WHERE id = 16
|
|
||||||
)
|
|
||||||
)
|
|
||||||
BEGIN
|
|
||||||
INSERT INTO INF_Rutas(id, codigo, descripcion, rutaFichero) VALUES (16, 16, 'Emisión de facturas electrónicas', 'C:\Pruebas\factura-e-emi')
|
|
||||||
END
|
|
||||||
"+
|
|
||||||
//CREAR TABLA GEN_Firmas_Electronicas---------------------------------------------------
|
|
||||||
" IF not exists " +
|
|
||||||
" ( " +
|
|
||||||
" SELECT * " +
|
|
||||||
" FROM INFORMATION_SCHEMA.TABLES " +
|
|
||||||
" WHERE TABLE_NAME = 'GEN_Firmas_Electronicas' " +
|
|
||||||
" ) " +
|
|
||||||
" BEGIN " +
|
|
||||||
" CREATE TABLE[dbo].[GEN_Firmas_Electronicas]" +
|
|
||||||
" (" +
|
|
||||||
" [id][bigint] IDENTITY(1,1) NOT NULL," +
|
|
||||||
" [codigo] [varchar](10) NOT NULL," +
|
|
||||||
" [descripcion] [varchar](50) NOT NULL," +
|
|
||||||
" [fecha_fin] [datetime] NOT NULL," +
|
|
||||||
" [idEmpresa] [bigint] NULL," +
|
|
||||||
" [text_perm][text] NULL," +
|
|
||||||
" CONSTRAINT[PK_GEN_Firmas_Electronicas] PRIMARY KEY CLUSTERED" +
|
|
||||||
" (" +
|
|
||||||
" [id] ASC" +
|
|
||||||
" )WITH(PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON[PRIMARY]" +
|
|
||||||
" ) ON[PRIMARY]" +
|
|
||||||
/*
|
|
||||||
" ALTER TABLE[dbo].[GEN_Configuracion_Informes] WITH CHECK ADD CONSTRAINT[FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa] FOREIGN KEY([idEjercicio]) REFERENCES[dbo].[GEN_EjerciciosActivos_Empresa] ([id])" +
|
|
||||||
" ALTER TABLE[dbo].[GEN_Configuracion_Informes] CHECK CONSTRAINT[FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa]" +
|
|
||||||
*/
|
|
||||||
" END "
|
|
||||||
;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -38,8 +38,6 @@
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes = new Exferia_Controles.Exferia_Button();
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes = new Exferia_Controles.Exferia_Button();
|
||||||
this.exferia_Label5 = new Exferia_Controles.Exferia_Label();
|
this.exferia_Label5 = new Exferia_Controles.Exferia_Label();
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma = new Exferia_Controles.Exferia_Button();
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma = new Exferia_Controles.Exferia_Button();
|
||||||
this.exferia_Button1 = new Exferia_Controles.Exferia_Button();
|
|
||||||
this.exferia_Label6 = new Exferia_Controles.Exferia_Label();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// ex_btn_P_ConfiguracioGeneral_ConfiguracionCampoCodigo
|
// ex_btn_P_ConfiguracioGeneral_ConfiguracionCampoCodigo
|
||||||
|
|
@ -192,42 +190,10 @@
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.UseVisualStyleBackColor = false;
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.UseVisualStyleBackColor = false;
|
||||||
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.Click += new System.EventHandler(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma_Click);
|
this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma.Click += new System.EventHandler(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma_Click);
|
||||||
//
|
//
|
||||||
// firmas digitales
|
|
||||||
//
|
|
||||||
this.exferia_Button1.BackColor = System.Drawing.Color.Maroon;
|
|
||||||
this.exferia_Button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|
||||||
this.exferia_Button1.Exferia_Button_Bloqueable = true;
|
|
||||||
this.exferia_Button1.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_IMPRIMIR_VERTICAL;
|
|
||||||
this.exferia_Button1.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
|
|
||||||
this.exferia_Button1.Exferia_Button_ReadOnly = false;
|
|
||||||
this.exferia_Button1.Exferia_Button_TabStop = false;
|
|
||||||
this.exferia_Button1.Exferia_Button_ToolTip = "Configuración de informes";
|
|
||||||
this.exferia_Button1.FlatAppearance.BorderSize = 0;
|
|
||||||
this.exferia_Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
||||||
this.exferia_Button1.Location = new System.Drawing.Point(12, 285);
|
|
||||||
this.exferia_Button1.Name = "exferia_Button1";
|
|
||||||
this.exferia_Button1.Size = new System.Drawing.Size(31, 36);
|
|
||||||
this.exferia_Button1.TabIndex = 55;
|
|
||||||
this.exferia_Button1.TabStop = false;
|
|
||||||
this.exferia_Button1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
|
||||||
this.exferia_Button1.UseVisualStyleBackColor = false;
|
|
||||||
this.exferia_Button1.Click += new System.EventHandler(this.firmasDigitales_Click);
|
|
||||||
//
|
|
||||||
// firmas digitales
|
|
||||||
//
|
|
||||||
this.exferia_Label6.AutoSize = true;
|
|
||||||
this.exferia_Label6.Location = new System.Drawing.Point(48, 308);
|
|
||||||
this.exferia_Label6.Name = "exferia_Label6";
|
|
||||||
this.exferia_Label6.Size = new System.Drawing.Size(78, 13);
|
|
||||||
this.exferia_Label6.TabIndex = 56;
|
|
||||||
this.exferia_Label6.Text = "Firmas digitales";
|
|
||||||
//
|
|
||||||
// P_ConfiguracionGeneral
|
// P_ConfiguracionGeneral
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.ClientSize = new System.Drawing.Size(797, 670);
|
this.ClientSize = new System.Drawing.Size(797, 670);
|
||||||
this.Controls.Add(this.exferia_Label6);
|
|
||||||
this.Controls.Add(this.exferia_Button1);
|
|
||||||
this.Controls.Add(this.exferia_Label5);
|
this.Controls.Add(this.exferia_Label5);
|
||||||
this.Controls.Add(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma);
|
this.Controls.Add(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma);
|
||||||
this.Controls.Add(this.exferia_Label4);
|
this.Controls.Add(this.exferia_Label4);
|
||||||
|
|
@ -249,8 +215,6 @@
|
||||||
this.Controls.SetChildIndex(this.exferia_Label4, 0);
|
this.Controls.SetChildIndex(this.exferia_Label4, 0);
|
||||||
this.Controls.SetChildIndex(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma, 0);
|
this.Controls.SetChildIndex(this.ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma, 0);
|
||||||
this.Controls.SetChildIndex(this.exferia_Label5, 0);
|
this.Controls.SetChildIndex(this.exferia_Label5, 0);
|
||||||
this.Controls.SetChildIndex(this.exferia_Button1, 0);
|
|
||||||
this.Controls.SetChildIndex(this.exferia_Label6, 0);
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
|
@ -268,7 +232,5 @@
|
||||||
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes;
|
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionInformes;
|
||||||
private Exferia_Controles.Exferia_Label exferia_Label5;
|
private Exferia_Controles.Exferia_Label exferia_Label5;
|
||||||
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma;
|
private Exferia_Controles.Exferia_Button ex_btn_P_ConfiguracioGeneral_ConfiguracionSWSigma;
|
||||||
private Exferia_Controles.Exferia_Button exferia_Button1;
|
|
||||||
private Exferia_Controles.Exferia_Label exferia_Label6;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -246,41 +246,8 @@ namespace Exferia_General._3_Vistas
|
||||||
Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionGeneral) + "/" + nameof(ConfiguracionDireccionesSWSigma));
|
Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionGeneral) + "/" + nameof(ConfiguracionDireccionesSWSigma));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private void firmasDigitales_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
ConfiguracionFirmasDigitales();
|
|
||||||
}
|
|
||||||
private void ConfiguracionFirmasDigitales()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
INTERNO_OpcionesDetalle_Modelo mdl_INTERNO_OpcionesDetalle_Modelo = Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_GEN_CONFIGURACION_FIRMAS_DIGITALES);
|
|
||||||
if (mdl_INTERNO_OpcionesDetalle_Modelo != null)
|
|
||||||
{
|
|
||||||
|
|
||||||
//Cargamos el ensamblado
|
|
||||||
Assembly m_assembly = Assembly.LoadFrom(Variables.G_STR_LIBRERIA_RUTAINICIAL + @"\" + Variables.G_STR_LIBRERIA_GENERAL + ".dll");
|
|
||||||
//Obtenemos el tipo de la clase
|
|
||||||
Type m_type = m_assembly.GetType(Variables.G_STR_LIBRERIA_GENERAL + "." + Variables.G_STR_LIBRERIA_OPCIONES);
|
|
||||||
//creamos la instancia
|
|
||||||
var obj_Clase = Activator.CreateInstance(m_type);
|
|
||||||
//Cargamos el metodo solicitado
|
|
||||||
MethodInfo obj_MethodInfo = obj_Clase.GetType().GetMethod(Variables.G_STR_LIBRERIA_OPCIONES_PROCEDIMIENTO_CARGAR_LISTADO, BindingFlags.Instance | BindingFlags.NonPublic);
|
|
||||||
|
|
||||||
//Obtener valores
|
|
||||||
object[] arr_Parametros = { mdl_INTERNO_OpcionesDetalle_Modelo.opcion, false, 0, null, Variables.G_MDL_INTERNO_VALORESGENERALES_MODELO, Variables.G_DTT_FECHA_INICIAL_PORDEFECTO, "", "", false, false, null, null, null, null, null, null };
|
|
||||||
//Pasamos los parametros al metodo y lo ejecutamos
|
|
||||||
obj_MethodInfo.Invoke(obj_Clase, arr_Parametros);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Control_Errores.Errores_Log("", ex, nameof(P_ConfiguracionGeneral) + "/" + nameof(ConfiguracionFirmasDigitales));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1114,7 +1114,7 @@ namespace Exferia_Ventas._1_Datos
|
||||||
_lst_ids);
|
_lst_ids);
|
||||||
|
|
||||||
|
|
||||||
string cif = "cif";// nameof(INTERNO_VTA_FacturasCabecera_Listado_Modelo.MAE_Clientes.cif);
|
|
||||||
|
|
||||||
string str_SQL =
|
string str_SQL =
|
||||||
" SELECT " +
|
" SELECT " +
|
||||||
|
|
@ -1202,14 +1202,14 @@ namespace Exferia_Ventas._1_Datos
|
||||||
) +
|
) +
|
||||||
//Cliente_Cif
|
//Cliente_Cif
|
||||||
(
|
(
|
||||||
(_lst_CamposConRelacionABuscar.Contains(cif/*nameof(INTERNO_VTA_FacturasCabecera_Listado_Modelo.MAE_Clientes.cif)*/))
|
(_lst_CamposConRelacionABuscar.Contains(nameof(INTERNO_VTA_FacturasCabecera_Listado_Modelo.MAE_Clientes.cif)))
|
||||||
?
|
?
|
||||||
(
|
(
|
||||||
cif/*nameof(INTERNO_VTA_FacturasCabecera_Listado_Modelo.MAE_Clientes.cif)*/ + " = " + nameof(MAE_Clientes) + "." + nameof(MAE_Clientes.cif) + ","
|
nameof(INTERNO_VTA_FacturasCabecera_Listado_Modelo.MAE_Clientes.cif) + " = " + nameof(MAE_Clientes) + "." + nameof(MAE_Clientes.cif) + ","
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
(
|
(
|
||||||
cif/*nameof(INTERNO_VTA_FacturasCabecera_Listado_Modelo.MAE_Clientes.cif)*/ + " = '',"
|
nameof(INTERNO_VTA_FacturasCabecera_Listado_Modelo.MAE_Clientes.cif) + " = '',"
|
||||||
)
|
)
|
||||||
) +
|
) +
|
||||||
//Socio
|
//Socio
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue