fix selezione motivo KO ad NA x caso esito = OK

This commit is contained in:
Samuele E. Locatelli
2015-05-29 10:21:44 +02:00
parent 295ee180bf
commit 50a8649e0b
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -201,7 +201,7 @@
</div>
</InsertItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateHeadSim" OnUpdated="odsQuotes_Updated" InsertMethod="insertNew" OnInserting="odsQuotes_Inserting">
<asp:ObjectDataSource ID="odsQuotes" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByKey" TypeName="C2P_Data.DS_QuotesTableAdapters.QuoteFull_QTableAdapter" UpdateMethod="updateHeadSim" OnUpdated="odsQuotes_Updated" InsertMethod="insertNew" OnInserting="odsQuotes_Inserting" OnUpdating="odsQuotes_Updating">
<InsertParameters>
<asp:Parameter Name="QuoteType" Type="String" DefaultValue="S" />
<asp:Parameter Name="CodClient" Type="String" />
+1 -1
View File
@@ -218,7 +218,7 @@ namespace C2P.WebUserControls
protected void odsQuotes_Updating(object sender, ObjectDataSourceMethodEventArgs e)
{
// intercetto: se esito offerta è OK allora fausa KO è NA...
// intercetto: se esito offerta è OK allora causa KO è NA...
if (e.InputParameters["OfferResult"].ToString() == "OK")
{
e.InputParameters["KoReason"] = "NA";
BIN
View File
Binary file not shown.