Question: When I click the ‘Save’ button for a text box I have in the C# snippet
action obsolete in SalesLogix it won’t save, even though the text box
works and shows a value. Here is the code I’m using:
if(this.txtAirfare.Text == “” && this.txtTax.Text == “”)
{
double a = double.Parse(this.txtAirfare.
double b = double.Parse(this.txtTax.Text)
a = 0.0000;
b = 0.0000;
}
else
{
double a;
double b = double.Parse(this.txtAirfare.
double c = double.Parse(this.txtTax.Text)
a = b + c;
this.txtTotal.Text = a.ToString();
}
Why is this happening?
Sage.Entity.Interfaces.
acc.TOTALPROPERTY = a.ToString();
Additionally, if
txtAirFare and txtTax are properties of the entity, access them through the entity model as well.



