I'm trying to save the Serial number inside the Default CLient generated code - but somehow the serial number that i save, is not the correct one, the eventid is always off by a couple of number ?
Could someone explain why ? and how ?
Thx.
public void Main(ClientEventContext K2)
{
try
{
HTTPFunction(K2);
}
catch (System.Exception ex)
{
throw new System.Exception(ex.Message);
}
}
public void HTTPFunction(ClientEventContext K2)
{
Forecast_Object.Mission_Main oAssembly = new Forecast_Object.Mission_Main();
oAssembly.scon = scon;
string strURL = "";
strURL = "http://wsmrc2wsdmvm001:8095/ForecastCalendar/SchedulerApproval.aspx?sn={SERIALNO}";
string sSerialNumber = K2.SerialNumber;
strURL = strURL.Replace("{SERIALNO}",sSerialNumber);
oAssembly.K2Serial_Number = sSerialNumber;
oAssembly.update();
K2.AddWorklist("ASP",System.Web.HttpUtility.UrlPathEncode(strURL));
K2 Serial Number
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

