AttachProcessSubProcess() public method

Creates the sub process.
public AttachProcessSubProcess ( System.Int64 AtulProcessID, System.Int64 AtulSubProcessID, int ProcessSubprocessSortOrder, string NotificationIdentifier, int ResponsibilityOf, int DeadlineOffset, int CreatedBy ) : bool
AtulProcessID System.Int64 The atul process ID.
AtulSubProcessID System.Int64 The atul sub process ID.
ProcessSubprocessSortOrder int The process subprocess sort order.
NotificationIdentifier string The notification identifier.
ResponsibilityOf int The responsibility of ID.
DeadlineOffset int The deadline offset.
CreatedBy int The created by ID.
return bool
Beispiel #1
0
 public long CreateSubProcess(long AtulProcessID, string summary, string description, int sortOrder, string NotificationIdentifier, int ResponsibilityOf, int DeadlineOffset, int CreatedBy, int OwnedBy)
 {
     long subProcessId = 0;
     Atul_v1Data adb = new Atul_v1Data();
     subProcessId = adb.CreateSubProcess(description, summary, CreatedBy, OwnedBy);
     adb.AttachProcessSubProcess(AtulProcessID, subProcessId, sortOrder, NotificationIdentifier, ResponsibilityOf, DeadlineOffset, CreatedBy);
     return subProcessId;
 }
Beispiel #2
0
 /// <summary>
 /// Creates the sub process.
 /// </summary>
 /// <param name="AtulProcessID">The atul process ID.</param>
 /// <param name="AtulSubProcessID">The atul sub process ID.</param>
 /// <param name="ProcessSubprocessSortOrder">The process subprocess sort order.</param>
 /// <param name="NotificationServiceProvideID">The notification service provide ID.</param>
 /// <param name="NotificationIdentifier">The notification identifier.</param>
 /// <param name="ResponsibilityOf">The responsibility of ID.</param>
 /// <param name="DeadlineOffset">The deadline offset.</param>
 /// <param name="CreatedBy">The created by ID.</param>
 /// <returns></returns>
 public bool AttachProcessSubProcess(Int64 AtulProcessID, Int64 AtulSubProcessID, int ProcessSubprocessSortOrder, string NotificationIdentifier, int ResponsibilityOf, int DeadlineOffset, int CreatedBy)
 {
     bool success = false;
     Atul_v1Data adb = new Atul_v1Data();
     success = adb.AttachProcessSubProcess(AtulProcessID, AtulSubProcessID, ProcessSubprocessSortOrder, NotificationIdentifier, ResponsibilityOf, DeadlineOffset, CreatedBy);
     return success;
 }