/// <summary> /// Updates the instance process activity. /// </summary> /// <param name="AtulInstanceProcessActivityID">The atul instance process activity ID.</param> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessActivityID">The atul process activity ID.</param> /// <param name="ProcessActivityCompleted">The process activity completed.</param> /// <param name="ProcessActivityDidNotApply">The process activity did not apply.</param> /// <param name="ProcessActivityDeadlineMissed">The process activity deadline missed.</param> /// <param name="InstanceProcessActivityCompletedBy">The instance process activity completed by.</param> /// <param name="ModifiedBy">The modified by.</param> /// <returns></returns> public string UpdateInstanceProcessActivity(string AtulInstanceProcessActivityID, string AtulInstanceProcessID, string AtulProcessActivityID, string ProcessActivityCompleted, string ProcessActivityDidNotApply, string ProcessActivityDeadlineMissed, string InstanceProcessActivityCompletedBy, string ModifiedBy) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.UpdateInstanceProcessActivity(Convert.ToInt32(AtulInstanceProcessActivityID), Convert.ToInt32(AtulInstanceProcessID), Convert.ToInt32(AtulProcessActivityID), Convert.ToInt32(ProcessActivityCompleted), Convert.ToInt32(ProcessActivityDidNotApply), Convert.ToInt32(ProcessActivityDeadlineMissed), Convert.ToInt32(InstanceProcessActivityCompletedBy), Convert.ToInt32(ModifiedBy)); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Updates the instance process activity. /// </summary> /// <param name="AtulInstanceProcessActivityID">The atul instance process activity ID.</param> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessActivityID">The atul process activity ID.</param> /// <param name="ProcessActivityCompleted">The process activity completed.</param> /// <param name="ProcessActivityDidNotApply">The process activity did not apply.</param> /// <param name="ProcessActivityDeadlineMissed">The process activity deadline missed.</param> /// <param name="InstanceProcessActivityCompletedBy">The instance process activity completed by.</param> /// <param name="ModifiedBy">The modified by.</param> /// <returns></returns> public string UpdateInstanceProcessActivity(int AtulInstanceProcessActivityID, int AtulInstanceProcessID, int AtulProcessActivityID, int ProcessActivityCompleted, int ProcessActivityDidNotApply, int ProcessActivityDeadlineMissed, int InstanceProcessActivityCompletedBy, int ModifiedBy) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.UpdateInstanceProcessActivity(AtulInstanceProcessActivityID, AtulInstanceProcessID, AtulProcessActivityID, ProcessActivityCompleted, ProcessActivityDidNotApply, ProcessActivityDeadlineMissed, InstanceProcessActivityCompletedBy, ModifiedBy); return(JsonMethods.GetJSONString(returnTable)); }