fix selezione motivo KO ad NA x caso esito = OK
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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";
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user