public CreateActivity ( long AtulProcessID, long AtulSubProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, bool deadlineResultsInMissed, int AtulActivitySortOrder, int CreatedBy, int OwnedBy, int deadline, int deadlineTypeID ) : long | ||
AtulProcessID | long | The atul process ID. |
AtulSubProcessID | long | The atul sub process ID. |
ActivityDescription | string | The activity description. |
ActivitySummary | string | The activity summary. |
ActivityProcedure | string | The activity procedure. |
deadlineResultsInMissed | bool | if set to |
AtulActivitySortOrder | int | The atul activity sort order. |
CreatedBy | int | The created by ID. |
OwnedBy | int | The owned by ID. |
deadline | int | The deadline. |
deadlineTypeID | int | The deadline type ID. |
return | long |
/// <summary> /// Creates the activity. /// </summary> /// <param name="AtulSubProcessID">The atul sub process ID.</param> /// <param name="ActivityDescription">The activity description.</param> /// <param name="ActivitySummary">The activity summary.</param> /// <param name="ActivityProcedure">The activity procedure.</param> /// <param name="AtulActivitySortOrder">The atul activity sort order.</param> /// <param name="CreatedBy">The created by ID.</param> /// <param name="OwnedBy">The owned by ID.</param> /// <returns></returns> public long CreateActivity(string processID, string subProcessID, string ActivityDescription, string ActivitySummary, string ActivityProcedure, bool deadlineResultsInMissed, int AtulActivitySortOrder, int CreatedBy, int OwnedBy, int deadline, int deadlineTypeID) { long activityId = 0; long AtulProcessID = Convert.ToInt64(processID); long AtulSubProcessID = Convert.ToInt64(subProcessID); Atul_v1Data adb = new Atul_v1Data(); activityId = adb.CreateActivity(AtulProcessID, AtulSubProcessID, ActivityDescription, ActivitySummary, ActivityProcedure, deadlineResultsInMissed, AtulActivitySortOrder, CreatedBy, OwnedBy, deadline, deadlineTypeID); return activityId; }