ITK Function Reference

(V10000.1.0.60_20160308.00)
Data Structures | Typedefs | Functions
schmgt_itk.h File Reference
#include <tc/tc_startup.h>
#include <itk/mem.h>
#include <schmgt/libschmgt_exports.h>
#include <schmgt/libschmgt_undef.h>

Go to the source code of this file.

Data Structures

struct  ExecUpdateRequest_s
 
struct  ExecutionUpdateRequest_s
 
struct  ProxyCreate_s
 

Typedefs

typedef struct ExecUpdateRequest_s ExecUpdateRequest_t
 
typedef struct
ExecutionUpdateRequest_s 
ExecutionUpdateRequest_t
 
typedef struct ProxyCreate_s ProxyCreate_t
 

Functions

SCHMGT_API int SCHMGT_copyTaskWithPasteSpecial (tag_t fromSchedule, tag_t *tasks, int numberOfTasks, tag_t toSchedule, tag_t targetTask, int pasteType, int numberOfCopies, logical offsetCalculate, logical includeAssignments, logical includeDependencies, logical includeDeliverables, logical useExistingDeliverables, logical updateMembership, logical resetDeliverables, logical copyWorkflow, logical copyCost, logical asynchRecalculateSchedule, int *numberOfIfails, int **ifails, tag_t **failedTasks, int *numberOfCreatedTasks, tag_t **createdTasks)
 
SCHMGT_API int SCHMGT_create_proxy_tasks (ProxyCreate_t *createContainers, int numberOfCreates, tag_t **createdProxies)
 
SCHMGT_API int SCHMGT_initialize_actual_finish_date (tag_t task)
 
SCHMGT_API int SCHMGT_initialize_actual_start_date (tag_t task)
 
SCHMGT_API int SCHMGT_set_percent_complete (tag_t task, double pcomplete)
 
SCHMGT_API int SCHMGT_set_schedule_status (tag_t schedule, char *status)
 
SCHMGT_API int SCHMGT_set_task_status (tag_t task, char *status)
 
SCHMGT_API int SCHMGT_set_work_complete (tag_t task, int wcomplete)
 
SCHMGT_API int SCHMGT_update_task_exec_data (tag_t task, logical updateAS, date_t newAS, logical updateAF, date_t newAF, int updateAW, double newPC, int newStatus, int newWC, int newWR)
 
SCHMGT_API int SCHMGT_update_task_exec_data1 (tag_t task, logical updateAS, date_t newAS, logical updateAF, date_t newAF, int updateAW, double newPC, int newWC, int newWR, char *fnd0status)
 
SCHMGT_API int SCHMGT_update_tasks_exec_data (ExecUpdateRequest_t *request, int size)
 
SCHMGT_API int SCHMGT_update_tasks_exec_data1 (ExecutionUpdateRequest_t *request, int size, int *noTaksUpdated, tag_t **updatedTasks)
 

Detailed Description

library exports header file

Definition in file schmgt_itk.h.

Typedef Documentation

The request to update the information in a Schedule Task.

The request to update the information in a Schedule Task.

typedef struct ProxyCreate_s ProxyCreate_t

Function Documentation

SCHMGT_API int SCHMGT_copyTaskWithPasteSpecial ( tag_t  fromSchedule,
tag_t tasks,
int  numberOfTasks,
tag_t  toSchedule,
tag_t  targetTask,
int  pasteType,
int  numberOfCopies,
logical  offsetCalculate,
logical  includeAssignments,
logical  includeDependencies,
logical  includeDeliverables,
logical  useExistingDeliverables,
logical  updateMembership,
logical  resetDeliverables,
logical  copyWorkflow,
logical  copyCost,
logical  asynchRecalculateSchedule,
int *  numberOfIfails,
int **  ifails,
tag_t **  failedTasks,
int *  numberOfCreatedTasks,
tag_t **  createdTasks 
)

This ITK will perform paste operation of copied schedule tasks to target Schedule task. Target Schedule task may be a normal task or Summary task or Schedule Summary task. Copied Schedule tasks may be normal tasks or Summary task with recursively having child tasks and summary tasks or Schedule Summary task. As per the logical options provided it will perform creating dependencies, creating Assignments, creating Members, etc.

Parameters
fromSchedule(I) The tag of the selected Schedule
tasks(I) The list of Schedule tasks to paste
numberOfTasks(I) The number of tasks to paste
toSchedule(I) The tag of the target Schedule
targetTask(I) The tag of the target Schedule Task
pasteType(I) The option for paste Type
numberOfCopies(I) The number of times the paste operation to perform
offsetCalculate(I) The option to calculate the offset of the Tasks
includeAssignments(I) The option to create new Assignments
includeDependencies(I) The option to create new Dependencies
includeDeliverables(I) The option to create new Deliverables
useExistingDeliverables(I) The option to use existing Deliverables
updateMembership(I) The option to create new members
resetDeliverables(I) The option to reset the Deliverables
copyWorkflow(I) The option to copy work flow content
copyCost(I) The option to copy cost information
asynchRecalculateSchedule(I) The option to execute the validation of Schedule Engine
numberOfIfails(O) The number of ifails and failed tasks
ifails(OF) numberOfIfails The ifail values for failed tasks
failedTasks(OF) numberOfIfails The failed tasks list
numberOfCreatedTasks(O) The number of created Schedule tasks
createdTasks(OF) numberOfCreatedTasks The list of created Schedule tasks
SCHMGT_API int SCHMGT_create_proxy_tasks ( ProxyCreate_t createContainers,
int  numberOfCreates,
tag_t **  createdProxies 
)

This function creates FND0ProxyTasks.

Parameters
createContainers(I) The create containers
numberOfCreates(I) The number of created
createdProxies(OF) The created proxy tasks
SCHMGT_API int SCHMGT_initialize_actual_finish_date ( tag_t  task)

This function sets the Actual finish date of the schedule task.

Parameters
task(I) The schedule task tag
SCHMGT_API int SCHMGT_initialize_actual_start_date ( tag_t  task)

This function sets the Actual start date of the schedule task.

Parameters
task(I) The schedule task tag
SCHMGT_API int SCHMGT_set_percent_complete ( tag_t  task,
double  pcomplete 
)

This function sets the percent complete of the schedule task.

Parameters
task(I) The schedule task tag
pcomplete(I) percent complete of the task
SCHMGT_API int SCHMGT_set_schedule_status ( tag_t  schedule,
char *  status 
)

This function sets the status of the schedule.

Parameters
schedule(I) The schedule tag
status(I) Status of the schedule
SCHMGT_API int SCHMGT_set_task_status ( tag_t  task,
char *  status 
)

This function sets the status of the schedule task.

Parameters
task(I) The schedule task tag
status(I) Status of the schedule
SCHMGT_API int SCHMGT_set_work_complete ( tag_t  task,
int  wcomplete 
)

This function sets the work complete of the schedule task.

Parameters
task(I) The schedule task tag
wcomplete(I) work complete of the task
SCHMGT_API int SCHMGT_update_task_exec_data ( tag_t  task,
logical  updateAS,
date_t  newAS,
logical  updateAF,
date_t  newAF,
int  updateAW,
double  newPC,
int  newStatus,
int  newWC,
int  newWR 
)

This function updates the execution data for a schedule task.

Parameters
task(I) The tag of the task being updated
updateAS(I) true if updating the actual start date
newAS(I) The new actual start date (null allowed)
updateAF(I) true if updating the actual finish date
newAF(I) The new actual finish date (null allowed)
updateAW(I) The updated approved work (for use with the timesheet system) (use 0 if no change)
newPC(I) The new percent complete (use -1 if no change is requested)
newStatus(I) The new status (use -1 if no change is requested)
newWC(I) The new work complete (use -1 if no change is requested)
newWR(I) The new work remaining (use -1 if no change is requested)
SCHMGT_API int SCHMGT_update_task_exec_data1 ( tag_t  task,
logical  updateAS,
date_t  newAS,
logical  updateAF,
date_t  newAF,
int  updateAW,
double  newPC,
int  newWC,
int  newWR,
char *  fnd0status 
)

This function updates the execution data for a schedule task.

Parameters
task(I) The tag of the task being updated
updateAS(I) true if updating the actual start date
newAS(I) The new actual start date (null allowed)
updateAF(I) true if updating the actual finish date
newAF(I) The new actual finish date (null allowed)
updateAW(I) The updated approved work (for use with the timesheet system) (use 0 if no change)
newPC(I) The new percent complete (use -1 if no change is requested)
newWC(I) The new work complete (use -1 if no change is requested)
newWR(I) The new work remaining (use -1 if no change is requested)
fnd0status(I) The new string status (use "-1" if no change is requested)
SCHMGT_API int SCHMGT_update_tasks_exec_data ( ExecUpdateRequest_t request,
int  size 
)

This function updates the execution data for a schedule task.

Parameters
request(I) The update requests
size(I) The number of requests
SCHMGT_API int SCHMGT_update_tasks_exec_data1 ( ExecutionUpdateRequest_t request,
int  size,
int *  noTaksUpdated,
tag_t **  updatedTasks 
)

This function updates the execution data for a schedule task.

Parameters
request(I) The update requests
size(I) The number of requests
noTaksUpdated(O) The number of requests
updatedTasks(OF) The number of requests