コード例 #1
0
ファイル: AtulRest.svc.cs プロジェクト: jrgallego21/ATUL
        /// <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);
        }