/// <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> /// Inserts the instance process activity. /// </summary> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessActivityID">The atul process activity ID.</param> /// <param name="InstanceProcessActivityCompletedBy">The instance process activity completed by.</param> /// <param name="CreatedBy">The created by.</param> /// <returns></returns> public string InsertInstanceProcessActivity(string AtulInstanceProcessID, string AtulProcessActivityID, string InstanceProcessActivityCompletedBy, string CreatedBy) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.InsertInstanceProcessActivity(Convert.ToInt32(AtulInstanceProcessID), Convert.ToInt32(AtulProcessActivityID), Convert.ToInt32(InstanceProcessActivityCompletedBy), Convert.ToInt32(CreatedBy)); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Updates the instance process. /// </summary> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessID">The atul process ID.</param> /// <param name="ModifiedBy">The modified by.</param> /// <param name="OwnedBy">The owned by.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <returns></returns> public string UpdateInstanceProcess(string AtulInstanceProcessID, string AtulProcessID, string ModifiedBy, string OwnedBy, string AtulProcessStatusID) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.UpdateInstanceProcess(Convert.ToInt32(AtulInstanceProcessID), Convert.ToInt32(AtulProcessID), Convert.ToInt32(ModifiedBy), Convert.ToInt32(OwnedBy), Convert.ToInt32(AtulProcessStatusID)); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Updates the running process specification. /// TODO: MAtch to docs, discuss with Cory /// </summary> /// <returns></returns> public string UpdateRunningProcessSpecification() { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.UpdateRunningProcessSpecification(); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Gets the instance process by ID. /// </summary> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <returns></returns> public string GetInstanceProcessByID(string AtulInstanceProcessID) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.GetInstanceProcessByID(Convert.ToInt32(AtulInstanceProcessID)); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Updates the instance process. /// </summary> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessID">The atul process ID.</param> /// <param name="ModifiedBy">The modified by.</param> /// <param name="OwnedBy">The owned by.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <returns></returns> public string UpdateInstanceProcess(int AtulInstanceProcessID, int AtulProcessID, int ModifiedBy, int OwnedBy, int AtulProcessStatusID) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.UpdateInstanceProcess(AtulInstanceProcessID, AtulProcessID, ModifiedBy, OwnedBy, AtulProcessStatusID); 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)); }
/// <summary> /// Sets the activity man minutes. /// TODO: Add man minute column, update proc(s) /// </summary> /// <returns></returns> public string SetActivityManMinutes() { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.SetActivityManMinutes(); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Sets the activity prerequsite activity group. /// TODO: Request proc to set prereq group Params: ActivityID, GroupID /// </summary> /// <returns></returns> public string SetActivityPrerequsiteActivityGroup() { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.SetActivityPrerequsiteActivityGroup(); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Inserts the instance process activity. /// </summary> /// <param name="AtulInstanceProcessID">The atul instance process ID.</param> /// <param name="AtulProcessActivityID">The atul process activity ID.</param> /// <param name="InstanceProcessActivityCompletedBy">The instance process activity completed by.</param> /// <param name="CreatedBy">The created by.</param> /// <returns></returns> public string InsertInstanceProcessActivity(int AtulInstanceProcessID, int AtulProcessActivityID, int InstanceProcessActivityCompletedBy, int CreatedBy) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.InsertInstanceProcessActivity(AtulInstanceProcessID, AtulProcessActivityID, InstanceProcessActivityCompletedBy, CreatedBy); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Inserts the instance process. /// </summary> /// <param name="AtulProcessID">The atul process ID.</param> /// <param name="CreatedBy">The created by.</param> /// <param name="OwnedBy">The owned by.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <returns></returns> public string InsertInstanceProcess(int AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID) { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.InsertInstanceProcess(AtulProcessID, CreatedBy, OwnedBy, AtulProcessStatusID); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Gets all process sub process activity. /// TODO: New proc needed to get a subprocess's activities /// </summary> /// <returns></returns> public string GetAllProcessSubProcessActivity() { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.GetAllProcessSubProcessActivity(); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Gets all instance process. /// </summary> /// <returns></returns> public string GetAllInstanceProcess() { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.GetAllInstanceProcess(); return(JsonMethods.GetJSONString(returnTable)); }
/// <summary> /// Enables the activity automation. /// TODO: Find/Define appliciable attribute /// </summary> /// <returns></returns> public string EnableActivityAutomation() { DataTable returnTable = new DataTable(); Atul_v1Data adb = new Atul_v1Data(); returnTable = adb.EnableActivityAutomation(); return(JsonMethods.GetJSONString(returnTable)); }