ok x cancellazione fatture (da dettaglio) con EF...
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -71,6 +71,12 @@ namespace MedAP
|
||||
break;
|
||||
case ucEvType.ReqUpdateParent:
|
||||
mod_searchParam.doUpdate();
|
||||
// se ha eliminato indica NON selezionato anche in elenco...
|
||||
if (mod_DocsDetail.idxDoc <= 0)
|
||||
{
|
||||
mod_DocsArchive.resetSelezione();
|
||||
divDetail.Visible = false;
|
||||
}
|
||||
mod_DocsArchive.doUpdate();
|
||||
break;
|
||||
case ucEvType.Selected:
|
||||
|
||||
@@ -189,9 +189,9 @@
|
||||
</div>
|
||||
<div class="col-xs-3 pLZero">
|
||||
<asp:LinkButton ID="ClonaButton" runat="server" CausesValidation="False" ToolTip="Clona/Copia" OnClick="ClonaButton_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler duplicare il documento?", "false") %>'><i class="fa fa-magic fa-2x text-black" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit"><i class="fa fa-pencil-square fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="False" OnClick="InsertButton_Click"><i class="fa fa-plus-square fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="ChiudiButton" runat="server" CausesValidation="False" OnClick="ChiudiButton_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler forzare data pagamento del documento?", "false") %>'><i class="fa fa-minus-square fa-2x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit"><i class="fa fa-pencil-square fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="False" OnClick="InsertButton_Click"><i class="fa fa-plus-square fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="CancellaButton" runat="server" CausesValidation="False" OnClick="CancellaButton_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler eliminare il documento?", "false") %>'><i class="fa fa-minus-square fa-2x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using SteamWare;
|
||||
using MedAP_data;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
@@ -46,14 +47,14 @@ namespace MedAP.WebUserControl
|
||||
BillingProxy.man.taDocs.clone(idxDoc);
|
||||
raiseEvent(ucEvType.New);
|
||||
}
|
||||
protected void ChiudiButton_Click(object sender, EventArgs e)
|
||||
protected void CancellaButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
BillingProxy.man.taDocs.forceSetPagato(idxDoc, DateTime.Now.Date, true);
|
||||
frmViewTestata.DataBind();
|
||||
// cancellazione fattura...
|
||||
MedAPModel.DocumentiDelete(idxDoc);
|
||||
// imposto idxDoc a 0...
|
||||
idxDoc = 0;
|
||||
raiseEvent(ucEvType.ReqUpdateParent);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// elenco colonne del datagrid
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -227,5 +227,135 @@ namespace MedAP_data
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("stp_clienti_update", original_idxCliParameter, ragSocParameter, sessoParameter, pOBirthParameter, dOBirthParameter, p_ivaParameter, c_FiscParameter, viaParameter, localitaParameter, capParameter, provinciaParameter, pagamentoParameter, emailParameter, telParameter, noteParameter, idxGruppoParameter);
|
||||
}
|
||||
|
||||
public virtual int stp_docs_clone(Nullable<int> idxFatt)
|
||||
{
|
||||
var idxFattParameter = idxFatt.HasValue ?
|
||||
new ObjectParameter("IdxFatt", idxFatt) :
|
||||
new ObjectParameter("IdxFatt", typeof(int));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("stp_docs_clone", idxFattParameter);
|
||||
}
|
||||
|
||||
public virtual int stp_docs_delete(Nullable<int> original_idxDoc)
|
||||
{
|
||||
var original_idxDocParameter = original_idxDoc.HasValue ?
|
||||
new ObjectParameter("Original_idxDoc", original_idxDoc) :
|
||||
new ObjectParameter("Original_idxDoc", typeof(int));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("stp_docs_delete", original_idxDocParameter);
|
||||
}
|
||||
|
||||
public virtual ObjectResult<stp_docs_getByKey_Result> stp_docs_getByKey(Nullable<int> idxDoc)
|
||||
{
|
||||
var idxDocParameter = idxDoc.HasValue ?
|
||||
new ObjectParameter("idxDoc", idxDoc) :
|
||||
new ObjectParameter("idxDoc", typeof(int));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<stp_docs_getByKey_Result>("stp_docs_getByKey", idxDocParameter);
|
||||
}
|
||||
|
||||
public virtual ObjectResult<stp_docs_getFilt_Result> stp_docs_getFilt(Nullable<int> anno, Nullable<int> idxCli, string tipo, string gruppo, string ragSoc, Nullable<System.DateTime> inizio, Nullable<System.DateTime> fine, Nullable<int> aperta, string search)
|
||||
{
|
||||
var annoParameter = anno.HasValue ?
|
||||
new ObjectParameter("anno", anno) :
|
||||
new ObjectParameter("anno", typeof(int));
|
||||
|
||||
var idxCliParameter = idxCli.HasValue ?
|
||||
new ObjectParameter("idxCli", idxCli) :
|
||||
new ObjectParameter("idxCli", typeof(int));
|
||||
|
||||
var tipoParameter = tipo != null ?
|
||||
new ObjectParameter("tipo", tipo) :
|
||||
new ObjectParameter("tipo", typeof(string));
|
||||
|
||||
var gruppoParameter = gruppo != null ?
|
||||
new ObjectParameter("gruppo", gruppo) :
|
||||
new ObjectParameter("gruppo", typeof(string));
|
||||
|
||||
var ragSocParameter = ragSoc != null ?
|
||||
new ObjectParameter("ragSoc", ragSoc) :
|
||||
new ObjectParameter("ragSoc", typeof(string));
|
||||
|
||||
var inizioParameter = inizio.HasValue ?
|
||||
new ObjectParameter("inizio", inizio) :
|
||||
new ObjectParameter("inizio", typeof(System.DateTime));
|
||||
|
||||
var fineParameter = fine.HasValue ?
|
||||
new ObjectParameter("fine", fine) :
|
||||
new ObjectParameter("fine", typeof(System.DateTime));
|
||||
|
||||
var apertaParameter = aperta.HasValue ?
|
||||
new ObjectParameter("aperta", aperta) :
|
||||
new ObjectParameter("aperta", typeof(int));
|
||||
|
||||
var searchParameter = search != null ?
|
||||
new ObjectParameter("search", search) :
|
||||
new ObjectParameter("search", typeof(string));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<stp_docs_getFilt_Result>("stp_docs_getFilt", annoParameter, idxCliParameter, tipoParameter, gruppoParameter, ragSocParameter, inizioParameter, fineParameter, apertaParameter, searchParameter);
|
||||
}
|
||||
|
||||
public virtual int stp_docs_insert(Nullable<int> anno, Nullable<int> num, Nullable<int> idxCli, string tipo, Nullable<System.DateTime> emesso, Nullable<double> ritenuta)
|
||||
{
|
||||
var annoParameter = anno.HasValue ?
|
||||
new ObjectParameter("anno", anno) :
|
||||
new ObjectParameter("anno", typeof(int));
|
||||
|
||||
var numParameter = num.HasValue ?
|
||||
new ObjectParameter("num", num) :
|
||||
new ObjectParameter("num", typeof(int));
|
||||
|
||||
var idxCliParameter = idxCli.HasValue ?
|
||||
new ObjectParameter("idxCli", idxCli) :
|
||||
new ObjectParameter("idxCli", typeof(int));
|
||||
|
||||
var tipoParameter = tipo != null ?
|
||||
new ObjectParameter("tipo", tipo) :
|
||||
new ObjectParameter("tipo", typeof(string));
|
||||
|
||||
var emessoParameter = emesso.HasValue ?
|
||||
new ObjectParameter("emesso", emesso) :
|
||||
new ObjectParameter("emesso", typeof(System.DateTime));
|
||||
|
||||
var ritenutaParameter = ritenuta.HasValue ?
|
||||
new ObjectParameter("ritenuta", ritenuta) :
|
||||
new ObjectParameter("ritenuta", typeof(double));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("stp_docs_insert", annoParameter, numParameter, idxCliParameter, tipoParameter, emessoParameter, ritenutaParameter);
|
||||
}
|
||||
|
||||
public virtual int stp_docs_update(Nullable<int> original_idxDoc, Nullable<int> anno, Nullable<int> num, Nullable<int> idxCli, string tipo, Nullable<System.DateTime> emesso, Nullable<double> ritenuta)
|
||||
{
|
||||
var original_idxDocParameter = original_idxDoc.HasValue ?
|
||||
new ObjectParameter("Original_idxDoc", original_idxDoc) :
|
||||
new ObjectParameter("Original_idxDoc", typeof(int));
|
||||
|
||||
var annoParameter = anno.HasValue ?
|
||||
new ObjectParameter("anno", anno) :
|
||||
new ObjectParameter("anno", typeof(int));
|
||||
|
||||
var numParameter = num.HasValue ?
|
||||
new ObjectParameter("num", num) :
|
||||
new ObjectParameter("num", typeof(int));
|
||||
|
||||
var idxCliParameter = idxCli.HasValue ?
|
||||
new ObjectParameter("idxCli", idxCli) :
|
||||
new ObjectParameter("idxCli", typeof(int));
|
||||
|
||||
var tipoParameter = tipo != null ?
|
||||
new ObjectParameter("tipo", tipo) :
|
||||
new ObjectParameter("tipo", typeof(string));
|
||||
|
||||
var emessoParameter = emesso.HasValue ?
|
||||
new ObjectParameter("emesso", emesso) :
|
||||
new ObjectParameter("emesso", typeof(System.DateTime));
|
||||
|
||||
var ritenutaParameter = ritenuta.HasValue ?
|
||||
new ObjectParameter("ritenuta", ritenuta) :
|
||||
new ObjectParameter("ritenuta", typeof(double));
|
||||
|
||||
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("stp_docs_update", original_idxDocParameter, annoParameter, numParameter, idxCliParameter, tipoParameter, emessoParameter, ritenutaParameter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -190,6 +190,43 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<Parameter Name="sconto" Type="real" Mode="In" />
|
||||
<Parameter Name="c_iva" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_clone" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="IdxFatt" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_delete" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="Original_idxDoc" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_getByKey" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="idxDoc" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_getFilt" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="anno" Type="int" Mode="In" />
|
||||
<Parameter Name="idxCli" Type="int" Mode="In" />
|
||||
<Parameter Name="tipo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="gruppo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="ragSoc" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="inizio" Type="datetime" Mode="In" />
|
||||
<Parameter Name="fine" Type="datetime" Mode="In" />
|
||||
<Parameter Name="aperta" Type="int" Mode="In" />
|
||||
<Parameter Name="search" Type="nvarchar" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_insert" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="anno" Type="int" Mode="In" />
|
||||
<Parameter Name="num" Type="int" Mode="In" />
|
||||
<Parameter Name="idxCli" Type="int" Mode="In" />
|
||||
<Parameter Name="tipo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="emesso" Type="datetime" Mode="In" />
|
||||
<Parameter Name="ritenuta" Type="float" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_update" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="Original_idxDoc" Type="int" Mode="In" />
|
||||
<Parameter Name="anno" Type="int" Mode="In" />
|
||||
<Parameter Name="num" Type="int" Mode="In" />
|
||||
<Parameter Name="idxCli" Type="int" Mode="In" />
|
||||
<Parameter Name="tipo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="emesso" Type="datetime" Mode="In" />
|
||||
<Parameter Name="ritenuta" Type="float" Mode="In" />
|
||||
</Function>
|
||||
<EntityContainer Name="MAPModelStoreContainer">
|
||||
<EntitySet Name="Clienti" EntityType="Self.Clienti" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="v_docRowsExpl" EntityType="Self.v_docRowsExpl" store:Type="Views" store:Schema="dbo">
|
||||
@@ -325,6 +362,43 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<Parameter Name="Note" Mode="In" Type="String" />
|
||||
<Parameter Name="idxGruppo" Mode="In" Type="String" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_clone">
|
||||
<Parameter Name="IdxFatt" Mode="In" Type="Int32" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_delete">
|
||||
<Parameter Name="Original_idxDoc" Mode="In" Type="Int32" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_getByKey" ReturnType="Collection(MAPModel.stp_docs_getByKey_Result)">
|
||||
<Parameter Name="idxDoc" Mode="In" Type="Int32" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_getFilt" ReturnType="Collection(MAPModel.stp_docs_getFilt_Result)">
|
||||
<Parameter Name="anno" Mode="In" Type="Int32" />
|
||||
<Parameter Name="idxCli" Mode="In" Type="Int32" />
|
||||
<Parameter Name="tipo" Mode="In" Type="String" />
|
||||
<Parameter Name="gruppo" Mode="In" Type="String" />
|
||||
<Parameter Name="ragSoc" Mode="In" Type="String" />
|
||||
<Parameter Name="inizio" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="fine" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="aperta" Mode="In" Type="Int32" />
|
||||
<Parameter Name="search" Mode="In" Type="String" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_insert">
|
||||
<Parameter Name="anno" Mode="In" Type="Int32" />
|
||||
<Parameter Name="num" Mode="In" Type="Int32" />
|
||||
<Parameter Name="idxCli" Mode="In" Type="Int32" />
|
||||
<Parameter Name="tipo" Mode="In" Type="String" />
|
||||
<Parameter Name="emesso" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="ritenuta" Mode="In" Type="Double" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_update">
|
||||
<Parameter Name="Original_idxDoc" Mode="In" Type="Int32" />
|
||||
<Parameter Name="anno" Mode="In" Type="Int32" />
|
||||
<Parameter Name="num" Mode="In" Type="Int32" />
|
||||
<Parameter Name="idxCli" Mode="In" Type="Int32" />
|
||||
<Parameter Name="tipo" Mode="In" Type="String" />
|
||||
<Parameter Name="emesso" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="ritenuta" Mode="In" Type="Double" />
|
||||
</FunctionImport>
|
||||
</EntityContainer>
|
||||
<EntityType Name="Documenti">
|
||||
<Key>
|
||||
@@ -468,6 +542,46 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<Property Name="email" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="tel" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
</EntityType>
|
||||
<ComplexType Name="stp_docs_getByKey_Result">
|
||||
<Property Type="Int32" Name="idxDoc" Nullable="false" />
|
||||
<Property Type="DateTime" Name="emesso" Nullable="true" />
|
||||
<Property Type="String" Name="Gruppo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="String" Name="RagSoc" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="num" Nullable="false" />
|
||||
<Property Type="Int32" Name="anno" Nullable="false" />
|
||||
<Property Type="Int32" Name="Trim" Nullable="true" />
|
||||
<Property Type="Int32" Name="Mese" Nullable="true" />
|
||||
<Property Type="Decimal" Name="netto" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="iva" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="importo" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="String" Name="tipo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="idxCli" Nullable="false" />
|
||||
<Property Type="Decimal" Name="totPagato" Nullable="false" Precision="19" />
|
||||
<Property Type="Decimal" Name="totScadenze" Nullable="false" Precision="19" />
|
||||
<Property Type="String" Name="Descrizione" Nullable="false" />
|
||||
<Property Type="Double" Name="ritenuta" Nullable="false" />
|
||||
<Property Type="Decimal" Name="CostiAss" Nullable="false" Precision="19" />
|
||||
</ComplexType>
|
||||
<ComplexType Name="stp_docs_getFilt_Result">
|
||||
<Property Type="Int32" Name="idxDoc" Nullable="false" />
|
||||
<Property Type="DateTime" Name="emesso" Nullable="true" />
|
||||
<Property Type="String" Name="Gruppo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="String" Name="RagSoc" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="num" Nullable="false" />
|
||||
<Property Type="Int32" Name="anno" Nullable="false" />
|
||||
<Property Type="Int32" Name="Trim" Nullable="true" />
|
||||
<Property Type="Int32" Name="Mese" Nullable="true" />
|
||||
<Property Type="Decimal" Name="netto" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="iva" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="importo" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="String" Name="tipo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="idxCli" Nullable="false" />
|
||||
<Property Type="Decimal" Name="totPagato" Nullable="false" Precision="19" />
|
||||
<Property Type="Decimal" Name="totScadenze" Nullable="false" Precision="19" />
|
||||
<Property Type="String" Name="Descrizione" Nullable="false" />
|
||||
<Property Type="Double" Name="ritenuta" Nullable="false" />
|
||||
<Property Type="Decimal" Name="CostiAss" Nullable="false" Precision="19" />
|
||||
</ComplexType>
|
||||
</Schema>
|
||||
</edmx:ConceptualModels>
|
||||
<!-- C-S mapping content -->
|
||||
@@ -582,6 +696,58 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<FunctionImportMapping FunctionImportName="stp_clienti_delete" FunctionName="MAPModel.Store.stp_clienti_delete" />
|
||||
<FunctionImportMapping FunctionImportName="stp_clienti_insert" FunctionName="MAPModel.Store.stp_clienti_insert" />
|
||||
<FunctionImportMapping FunctionImportName="stp_clienti_update" FunctionName="MAPModel.Store.stp_clienti_update" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_clone" FunctionName="MAPModel.Store.stp_docs_clone" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_delete" FunctionName="MAPModel.Store.stp_docs_delete" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_getByKey" FunctionName="MAPModel.Store.stp_docs_getByKey">
|
||||
<ResultMapping>
|
||||
<ComplexTypeMapping TypeName="MAPModel.stp_docs_getByKey_Result">
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
<ScalarProperty Name="emesso" ColumnName="emesso" />
|
||||
<ScalarProperty Name="Gruppo" ColumnName="Gruppo" />
|
||||
<ScalarProperty Name="RagSoc" ColumnName="RagSoc" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="anno" ColumnName="anno" />
|
||||
<ScalarProperty Name="Trim" ColumnName="Trim" />
|
||||
<ScalarProperty Name="Mese" ColumnName="Mese" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="tipo" ColumnName="tipo" />
|
||||
<ScalarProperty Name="idxCli" ColumnName="idxCli" />
|
||||
<ScalarProperty Name="totPagato" ColumnName="totPagato" />
|
||||
<ScalarProperty Name="totScadenze" ColumnName="totScadenze" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="ritenuta" ColumnName="ritenuta" />
|
||||
<ScalarProperty Name="CostiAss" ColumnName="CostiAss" />
|
||||
</ComplexTypeMapping>
|
||||
</ResultMapping>
|
||||
</FunctionImportMapping>
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_getFilt" FunctionName="MAPModel.Store.stp_docs_getFilt">
|
||||
<ResultMapping>
|
||||
<ComplexTypeMapping TypeName="MAPModel.stp_docs_getFilt_Result">
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
<ScalarProperty Name="emesso" ColumnName="emesso" />
|
||||
<ScalarProperty Name="Gruppo" ColumnName="Gruppo" />
|
||||
<ScalarProperty Name="RagSoc" ColumnName="RagSoc" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="anno" ColumnName="anno" />
|
||||
<ScalarProperty Name="Trim" ColumnName="Trim" />
|
||||
<ScalarProperty Name="Mese" ColumnName="Mese" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="tipo" ColumnName="tipo" />
|
||||
<ScalarProperty Name="idxCli" ColumnName="idxCli" />
|
||||
<ScalarProperty Name="totPagato" ColumnName="totPagato" />
|
||||
<ScalarProperty Name="totScadenze" ColumnName="totScadenze" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="ritenuta" ColumnName="ritenuta" />
|
||||
<ScalarProperty Name="CostiAss" ColumnName="CostiAss" />
|
||||
</ComplexTypeMapping>
|
||||
</ResultMapping>
|
||||
</FunctionImportMapping>
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_insert" FunctionName="MAPModel.Store.stp_docs_insert" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_update" FunctionName="MAPModel.Store.stp_docs_update" />
|
||||
</EntityContainerMapping>
|
||||
</Mapping>
|
||||
</edmx:Mappings>
|
||||
|
||||
+80
-25
@@ -114,31 +114,7 @@ namespace MedAP_data
|
||||
// refresh EF context
|
||||
((IObjectContextAdapter)ctx).ObjectContext.Refresh(RefreshMode.StoreWins, ctx.Clienti);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region funzioni TEMPLATE
|
||||
|
||||
/// <summary>
|
||||
/// elenco completo
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable<DocTemplate> ElencoDocTemplate()
|
||||
{
|
||||
var result = from r in ctx.DocTemplate.OrderBy(s => s.Descrizione) select r;
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// elenco completo
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable<RowTemplate> ElencoRowTemplate()
|
||||
{
|
||||
var result = from r in ctx.RowTemplate.OrderBy(s => s.Descrizione) select r;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region funzioni Documenti
|
||||
@@ -192,6 +168,62 @@ namespace MedAP_data
|
||||
}
|
||||
return query.Count();
|
||||
}
|
||||
/// <summary>
|
||||
/// Restituisce DOCUMENTO specifico
|
||||
/// </summary>
|
||||
/// <param name="idxDoc"></param>
|
||||
/// <returns></returns>
|
||||
public static Clienti DocumentoSel(int idxDoc)
|
||||
{
|
||||
IQueryable<Clienti> query;
|
||||
query = ctx.Clienti.Where(s => s.idxCli == idxDoc);
|
||||
var result = from r in query select r;
|
||||
return result.FirstOrDefault();
|
||||
}
|
||||
/// <summary>
|
||||
/// Add record DOCUMENTO
|
||||
/// </summary>
|
||||
/// <param name="rigaDoc"></param>
|
||||
public static void DocumentiInsert(Documenti rigaDoc)
|
||||
{
|
||||
// imposto parametri opzionali...
|
||||
//rigaDoc.Pagamento = "";
|
||||
//rigaDoc.idxGruppo = "";
|
||||
ctx.Documenti.Add(rigaDoc);
|
||||
ctx.SaveChanges();
|
||||
}
|
||||
/// <summary>
|
||||
/// Update record DOCUMENTO
|
||||
/// </summary>
|
||||
/// <param name="rigaDoc"></param>
|
||||
public static void DocumentiUpdate(Documenti rigaDoc)
|
||||
{
|
||||
//rigaDoc.Pagamento = "";
|
||||
//rigaDoc.idxGruppo = "";
|
||||
ctx.stp_docs_update(rigaDoc.idxDoc, rigaDoc.anno, rigaDoc.num, rigaDoc.idxCli, rigaDoc.tipo, rigaDoc.emesso, rigaDoc.ritenuta);
|
||||
// refresh EF context
|
||||
((IObjectContextAdapter)ctx).ObjectContext.Refresh(RefreshMode.StoreWins, ctx.Documenti);
|
||||
}
|
||||
/// <summary>
|
||||
/// Delete record DOCUMENTO
|
||||
/// </summary>
|
||||
/// <param name="rigaDoc"></param>
|
||||
public static void DocumentiDelete(Documenti rigaDoc)
|
||||
{
|
||||
ctx.stp_docs_delete(rigaDoc.idxDoc);
|
||||
// refresh EF context
|
||||
((IObjectContextAdapter)ctx).ObjectContext.Refresh(RefreshMode.StoreWins, ctx.Documenti);
|
||||
}
|
||||
/// <summary>
|
||||
/// Delete record DOCUMENTO da chiave
|
||||
/// </summary>
|
||||
/// <param name="rigaDoc"></param>
|
||||
public static void DocumentiDelete(int idxDoc)
|
||||
{
|
||||
ctx.stp_docs_delete(idxDoc);
|
||||
// refresh EF context
|
||||
((IObjectContextAdapter)ctx).ObjectContext.Refresh(RefreshMode.StoreWins, ctx.Documenti);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -280,5 +312,28 @@ namespace MedAP_data
|
||||
|
||||
#endregion
|
||||
|
||||
#region funzioni TEMPLATE
|
||||
|
||||
/// <summary>
|
||||
/// elenco completo
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable<DocTemplate> ElencoDocTemplate()
|
||||
{
|
||||
var result = from r in ctx.DocTemplate.OrderBy(s => s.Descrizione) select r;
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// elenco completo
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable<RowTemplate> ElencoRowTemplate()
|
||||
{
|
||||
var result = from r in ctx.RowTemplate.OrderBy(s => s.Descrizione) select r;
|
||||
return result;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,6 +84,12 @@
|
||||
<Compile Include="stp_docRows_getByIdxDoc_Result.cs">
|
||||
<DependentUpon>APModel.tt</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="stp_docs_getByKey_Result.cs">
|
||||
<DependentUpon>APModel.tt</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="stp_docs_getFilt_Result.cs">
|
||||
<DependentUpon>APModel.tt</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EntityDeploy Include="APModel.edmx">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
8ce9d2598119c96968f8e6163d1785ede03835f4
|
||||
7b11ed557e1b1429d07201c7c03cbeb614a5cd7a
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -57,6 +57,43 @@
|
||||
<Parameter Name="Note" Mode="In" Type="String" />
|
||||
<Parameter Name="idxGruppo" Mode="In" Type="String" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_clone">
|
||||
<Parameter Name="IdxFatt" Mode="In" Type="Int32" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_delete">
|
||||
<Parameter Name="Original_idxDoc" Mode="In" Type="Int32" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_getByKey" ReturnType="Collection(MAPModel.stp_docs_getByKey_Result)">
|
||||
<Parameter Name="idxDoc" Mode="In" Type="Int32" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_getFilt" ReturnType="Collection(MAPModel.stp_docs_getFilt_Result)">
|
||||
<Parameter Name="anno" Mode="In" Type="Int32" />
|
||||
<Parameter Name="idxCli" Mode="In" Type="Int32" />
|
||||
<Parameter Name="tipo" Mode="In" Type="String" />
|
||||
<Parameter Name="gruppo" Mode="In" Type="String" />
|
||||
<Parameter Name="ragSoc" Mode="In" Type="String" />
|
||||
<Parameter Name="inizio" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="fine" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="aperta" Mode="In" Type="Int32" />
|
||||
<Parameter Name="search" Mode="In" Type="String" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_insert">
|
||||
<Parameter Name="anno" Mode="In" Type="Int32" />
|
||||
<Parameter Name="num" Mode="In" Type="Int32" />
|
||||
<Parameter Name="idxCli" Mode="In" Type="Int32" />
|
||||
<Parameter Name="tipo" Mode="In" Type="String" />
|
||||
<Parameter Name="emesso" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="ritenuta" Mode="In" Type="Double" />
|
||||
</FunctionImport>
|
||||
<FunctionImport Name="stp_docs_update">
|
||||
<Parameter Name="Original_idxDoc" Mode="In" Type="Int32" />
|
||||
<Parameter Name="anno" Mode="In" Type="Int32" />
|
||||
<Parameter Name="num" Mode="In" Type="Int32" />
|
||||
<Parameter Name="idxCli" Mode="In" Type="Int32" />
|
||||
<Parameter Name="tipo" Mode="In" Type="String" />
|
||||
<Parameter Name="emesso" Mode="In" Type="DateTime" />
|
||||
<Parameter Name="ritenuta" Mode="In" Type="Double" />
|
||||
</FunctionImport>
|
||||
</EntityContainer>
|
||||
<EntityType Name="Documenti">
|
||||
<Key>
|
||||
@@ -200,4 +237,44 @@
|
||||
<Property Name="email" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="tel" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
</EntityType>
|
||||
<ComplexType Name="stp_docs_getByKey_Result">
|
||||
<Property Type="Int32" Name="idxDoc" Nullable="false" />
|
||||
<Property Type="DateTime" Name="emesso" Nullable="true" />
|
||||
<Property Type="String" Name="Gruppo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="String" Name="RagSoc" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="num" Nullable="false" />
|
||||
<Property Type="Int32" Name="anno" Nullable="false" />
|
||||
<Property Type="Int32" Name="Trim" Nullable="true" />
|
||||
<Property Type="Int32" Name="Mese" Nullable="true" />
|
||||
<Property Type="Decimal" Name="netto" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="iva" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="importo" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="String" Name="tipo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="idxCli" Nullable="false" />
|
||||
<Property Type="Decimal" Name="totPagato" Nullable="false" Precision="19" />
|
||||
<Property Type="Decimal" Name="totScadenze" Nullable="false" Precision="19" />
|
||||
<Property Type="String" Name="Descrizione" Nullable="false" />
|
||||
<Property Type="Double" Name="ritenuta" Nullable="false" />
|
||||
<Property Type="Decimal" Name="CostiAss" Nullable="false" Precision="19" />
|
||||
</ComplexType>
|
||||
<ComplexType Name="stp_docs_getFilt_Result">
|
||||
<Property Type="Int32" Name="idxDoc" Nullable="false" />
|
||||
<Property Type="DateTime" Name="emesso" Nullable="true" />
|
||||
<Property Type="String" Name="Gruppo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="String" Name="RagSoc" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="num" Nullable="false" />
|
||||
<Property Type="Int32" Name="anno" Nullable="false" />
|
||||
<Property Type="Int32" Name="Trim" Nullable="true" />
|
||||
<Property Type="Int32" Name="Mese" Nullable="true" />
|
||||
<Property Type="Decimal" Name="netto" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="iva" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="Decimal" Name="importo" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Type="String" Name="tipo" Nullable="false" MaxLength="50" />
|
||||
<Property Type="Int32" Name="idxCli" Nullable="false" />
|
||||
<Property Type="Decimal" Name="totPagato" Nullable="false" Precision="19" />
|
||||
<Property Type="Decimal" Name="totScadenze" Nullable="false" Precision="19" />
|
||||
<Property Type="String" Name="Descrizione" Nullable="false" />
|
||||
<Property Type="Double" Name="ritenuta" Nullable="false" />
|
||||
<Property Type="Decimal" Name="CostiAss" Nullable="false" Precision="19" />
|
||||
</ComplexType>
|
||||
</Schema>
|
||||
@@ -108,5 +108,57 @@
|
||||
<FunctionImportMapping FunctionImportName="stp_clienti_delete" FunctionName="MAPModel.Store.stp_clienti_delete" />
|
||||
<FunctionImportMapping FunctionImportName="stp_clienti_insert" FunctionName="MAPModel.Store.stp_clienti_insert" />
|
||||
<FunctionImportMapping FunctionImportName="stp_clienti_update" FunctionName="MAPModel.Store.stp_clienti_update" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_clone" FunctionName="MAPModel.Store.stp_docs_clone" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_delete" FunctionName="MAPModel.Store.stp_docs_delete" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_getByKey" FunctionName="MAPModel.Store.stp_docs_getByKey">
|
||||
<ResultMapping>
|
||||
<ComplexTypeMapping TypeName="MAPModel.stp_docs_getByKey_Result">
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
<ScalarProperty Name="emesso" ColumnName="emesso" />
|
||||
<ScalarProperty Name="Gruppo" ColumnName="Gruppo" />
|
||||
<ScalarProperty Name="RagSoc" ColumnName="RagSoc" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="anno" ColumnName="anno" />
|
||||
<ScalarProperty Name="Trim" ColumnName="Trim" />
|
||||
<ScalarProperty Name="Mese" ColumnName="Mese" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="tipo" ColumnName="tipo" />
|
||||
<ScalarProperty Name="idxCli" ColumnName="idxCli" />
|
||||
<ScalarProperty Name="totPagato" ColumnName="totPagato" />
|
||||
<ScalarProperty Name="totScadenze" ColumnName="totScadenze" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="ritenuta" ColumnName="ritenuta" />
|
||||
<ScalarProperty Name="CostiAss" ColumnName="CostiAss" />
|
||||
</ComplexTypeMapping>
|
||||
</ResultMapping>
|
||||
</FunctionImportMapping>
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_getFilt" FunctionName="MAPModel.Store.stp_docs_getFilt">
|
||||
<ResultMapping>
|
||||
<ComplexTypeMapping TypeName="MAPModel.stp_docs_getFilt_Result">
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
<ScalarProperty Name="emesso" ColumnName="emesso" />
|
||||
<ScalarProperty Name="Gruppo" ColumnName="Gruppo" />
|
||||
<ScalarProperty Name="RagSoc" ColumnName="RagSoc" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="anno" ColumnName="anno" />
|
||||
<ScalarProperty Name="Trim" ColumnName="Trim" />
|
||||
<ScalarProperty Name="Mese" ColumnName="Mese" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="tipo" ColumnName="tipo" />
|
||||
<ScalarProperty Name="idxCli" ColumnName="idxCli" />
|
||||
<ScalarProperty Name="totPagato" ColumnName="totPagato" />
|
||||
<ScalarProperty Name="totScadenze" ColumnName="totScadenze" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="ritenuta" ColumnName="ritenuta" />
|
||||
<ScalarProperty Name="CostiAss" ColumnName="CostiAss" />
|
||||
</ComplexTypeMapping>
|
||||
</ResultMapping>
|
||||
</FunctionImportMapping>
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_insert" FunctionName="MAPModel.Store.stp_docs_insert" />
|
||||
<FunctionImportMapping FunctionImportName="stp_docs_update" FunctionName="MAPModel.Store.stp_docs_update" />
|
||||
</EntityContainerMapping>
|
||||
</Mapping>
|
||||
@@ -185,6 +185,43 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<Parameter Name="sconto" Type="real" Mode="In" />
|
||||
<Parameter Name="c_iva" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_clone" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="IdxFatt" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_delete" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="Original_idxDoc" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_getByKey" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="idxDoc" Type="int" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_getFilt" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="anno" Type="int" Mode="In" />
|
||||
<Parameter Name="idxCli" Type="int" Mode="In" />
|
||||
<Parameter Name="tipo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="gruppo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="ragSoc" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="inizio" Type="datetime" Mode="In" />
|
||||
<Parameter Name="fine" Type="datetime" Mode="In" />
|
||||
<Parameter Name="aperta" Type="int" Mode="In" />
|
||||
<Parameter Name="search" Type="nvarchar" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_insert" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="anno" Type="int" Mode="In" />
|
||||
<Parameter Name="num" Type="int" Mode="In" />
|
||||
<Parameter Name="idxCli" Type="int" Mode="In" />
|
||||
<Parameter Name="tipo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="emesso" Type="datetime" Mode="In" />
|
||||
<Parameter Name="ritenuta" Type="float" Mode="In" />
|
||||
</Function>
|
||||
<Function Name="stp_docs_update" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
||||
<Parameter Name="Original_idxDoc" Type="int" Mode="In" />
|
||||
<Parameter Name="anno" Type="int" Mode="In" />
|
||||
<Parameter Name="num" Type="int" Mode="In" />
|
||||
<Parameter Name="idxCli" Type="int" Mode="In" />
|
||||
<Parameter Name="tipo" Type="nvarchar" Mode="In" />
|
||||
<Parameter Name="emesso" Type="datetime" Mode="In" />
|
||||
<Parameter Name="ritenuta" Type="float" Mode="In" />
|
||||
</Function>
|
||||
<EntityContainer Name="MAPModelStoreContainer">
|
||||
<EntitySet Name="Clienti" EntityType="Self.Clienti" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="v_docRowsExpl" EntityType="Self.v_docRowsExpl" store:Type="Views" store:Schema="dbo">
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Codice generato da un modello.
|
||||
//
|
||||
// Le modifiche manuali a questo file potrebbero causare un comportamento imprevisto dell'applicazione.
|
||||
// Se il codice viene rigenerato, le modifiche manuali al file verranno sovrascritte.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MedAP_data
|
||||
{
|
||||
using System;
|
||||
|
||||
public partial class stp_docs_getByKey_Result
|
||||
{
|
||||
public int idxDoc { get; set; }
|
||||
public Nullable<System.DateTime> emesso { get; set; }
|
||||
public string Gruppo { get; set; }
|
||||
public string RagSoc { get; set; }
|
||||
public int num { get; set; }
|
||||
public int anno { get; set; }
|
||||
public Nullable<int> Trim { get; set; }
|
||||
public Nullable<int> Mese { get; set; }
|
||||
public decimal netto { get; set; }
|
||||
public decimal iva { get; set; }
|
||||
public decimal importo { get; set; }
|
||||
public string tipo { get; set; }
|
||||
public int idxCli { get; set; }
|
||||
public decimal totPagato { get; set; }
|
||||
public decimal totScadenze { get; set; }
|
||||
public string Descrizione { get; set; }
|
||||
public double ritenuta { get; set; }
|
||||
public decimal CostiAss { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Codice generato da un modello.
|
||||
//
|
||||
// Le modifiche manuali a questo file potrebbero causare un comportamento imprevisto dell'applicazione.
|
||||
// Se il codice viene rigenerato, le modifiche manuali al file verranno sovrascritte.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MedAP_data
|
||||
{
|
||||
using System;
|
||||
|
||||
public partial class stp_docs_getFilt_Result
|
||||
{
|
||||
public int idxDoc { get; set; }
|
||||
public Nullable<System.DateTime> emesso { get; set; }
|
||||
public string Gruppo { get; set; }
|
||||
public string RagSoc { get; set; }
|
||||
public int num { get; set; }
|
||||
public int anno { get; set; }
|
||||
public Nullable<int> Trim { get; set; }
|
||||
public Nullable<int> Mese { get; set; }
|
||||
public decimal netto { get; set; }
|
||||
public decimal iva { get; set; }
|
||||
public decimal importo { get; set; }
|
||||
public string tipo { get; set; }
|
||||
public int idxCli { get; set; }
|
||||
public decimal totPagato { get; set; }
|
||||
public decimal totScadenze { get; set; }
|
||||
public string Descrizione { get; set; }
|
||||
public double ritenuta { get; set; }
|
||||
public decimal CostiAss { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user