![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
addMemberships schedule_id MemberShipDict | |
This function calls the TcSoa based function addMemberships to update the membership of a given Schedule in Teamcenter. More... | |
createDependencies schedule_id predecessor_task_id successor_task_id dependency_type lag_time | |
This function calls the TcSoa based function createDependencies to create a dependency between two Task in Teamcenter. More... | |
createMilestone schedule_id parent_task_id previous_sibling_task_id task_id object_name milstone_date | |
This function calls the TcSoa based function createMilestone to create a Milestone Task in Teamcenter. More... | |
createSchedule item_id object_name start_date finish_date ?object_type? | |
This function calls the TcSoa based function createSchedule to create a new Schedule based on a given parameters in Teamcenter. More... | |
createScheduleFromTemplate template_item_id item_id object_name CopyOptionsDict | |
This function calls the TcSoa based function createScheduleFromTemplate to create a new Schedule based on a given Schedule template in Teamcenter. More... | |
createScheduleNewBaselines item_id baseline_item_id baseline_object_name ?baseline_isActive? | |
This function calls the TcSoa based function createScheduleNewBaselines to create a Baseline for a given Schedule in Teamcenter. More... | |
createScheduleProxyTask schedule_id task_id reference_id ?sublevels? | |
This function calls the TcSoa based function createScheduleProxyTask to create a Proxy Task in Teamcenter. More... | |
createScheduleTask schedule_id parent_task_id previous_sibling_task_id task_id object_name start_date finish_date work_estimate ?object_type? ?constraint? ?status? ?duration? args | |
This function calls the TcSoa based function createScheduleTask to create a Schedule Task in Teamcenter. More... | |
deleteDependencies schedule_id predecessor_task_id successor_task_id | |
This function calls the TcSoa based function deleteDependencies to delete a dependency between two Task in Teamcenter. More... | |
deleteScheduleTask schedule_id task_id | |
This function calls the TcSoa based function deleteScheduleTaskExecution to delete a given Task in Teamcenter. More... | |
detachSchedule master_schedule_id sub_schedule_id | |
This function calls the TcSoa based function detachSchedule to detach a given Sub-Schedule from a defined Master-Schedule in Teamcenter. More... | |
insertSchedule master_schedule_id sub_schedule_id master_schedule_task_id ?adjustMasterDates? | |
This function calls the TcSoa based function deleteScheduleTaskExecution to delete a given Task in Teamcenter. More... | |
logoutSession args | |
This function calls the TcSoa based function logoutSession to close the connection to the Teamcenter server. More... | |
moveScheduleTask schedule_id parent_task_id previous_sibling_task_id task_id | |
This function calls the TcSoa based function moveScheduleTask to move a Schedule Task in the structure of a given schedule in Teamcenter. More... | |
shiftSchedule item_id shift_date ?new_finish? | |
This function calls the TcSoa based function shiftScheduleNonInteractive to shift a Schedule to a new start or finish date. More... | |
updateDependencies schedule_id predecessor_task_id successor_task_id dependency_type lag_time | |
This function calls the TcSoa based function updateDependencies to update a dependency between two Task in Teamcenter. More... | |
updateSchedule item_id object_name start_date finish_date args | |
This function calls the TcSoa based function updateSchedule to update the corresponding Schedule in Teamcenter. More... | |
updateScheduleTask schedule_id task_id object_name start_date finish_date work_estimate constraint ?status? | |
This function calls the TcSoa based function updateScheduleTask to update a given Task in Teamcenter. More... | |
updateScheduleTaskExecution task_id TaskExecUpdateDict | |
This function calls the TcSoa based function updateScheduleTaskExecution to update a given Task in Teamcenter. More... | |
TC::SCHMGR::addMemberships | schedule_id MemberShipDict | ||
This function calls the TcSoa based function addMemberships to update the membership of a given Schedule in Teamcenter.
schedule_id | This represents the schedule for the new membership. |
MemberShipDict | Dict containing the following possible keys:
|
Sample code sequence
TC::SCHMGR::createDependencies | schedule_id predecessor_task_id successor_task_id dependency_type lag_time | ||
This function calls the TcSoa based function createDependencies to create a dependency between two Task in Teamcenter.
schedule_id | Schedule Id |
predecessor_task_id | |
successor_task_id | |
dependency_type | Task dependency type, with the following possible values:
|
lag_time |
Sample code sequence
TC::SCHMGR::createMilestone | schedule_id parent_task_id previous_sibling_task_id task_id object_name milstone_date | ||
This function calls the TcSoa based function createMilestone to create a Milestone Task in Teamcenter.
schedule_id | Schedule Id |
parent_task_id | |
previous_sibling_task_id | |
task_id | Task Id |
object_name | Task name |
milstone_date | Milestone date of the Schedule Task (format yyyymmddhhMMss) |
Sample code sequence
TC::SCHMGR::createSchedule | item_id object_name start_date finish_date ?object_type? | ||
This function calls the TcSoa based function createSchedule to create a new Schedule based on a given parameters in Teamcenter.
item_id | Schedule Id |
object_name | Schedule name |
start_date | Start date of the Schedule (format yyyymmddhhMMss) |
finish_date | Finish date of the Schedule (format yyyymmddhhMMss) |
object_type | Optional Schedule type name (default is Schedule) |
Sample code sequence
TC::SCHMGR::createScheduleFromTemplate | template_item_id item_id object_name CopyOptionsDict | ||
This function calls the TcSoa based function createScheduleFromTemplate to create a new Schedule based on a given Schedule template in Teamcenter.
template_item_id | Schedule Id of the template Schedule |
item_id | Schedule Id |
object_name | Schedule name |
CopyOptionsDict | Dict containing the following possible keys:
|
Sample code sequence
TC::SCHMGR::createScheduleNewBaselines | item_id baseline_item_id baseline_object_name ?baseline_isActive? | ||
This function calls the TcSoa based function createScheduleNewBaselines to create a Baseline for a given Schedule in Teamcenter.
item_id | Schedule Id |
baseline_item_id | Id of the Baseline for the given Schedule |
baseline_object_name | Name of the Baseline for the given Schedule |
baseline_isActive | Define Baseline as active (default = 1) or inactive (0) |
Sample code sequence
TC::SCHMGR::createScheduleProxyTask | schedule_id task_id reference_id ?sublevels? | ||
This function calls the TcSoa based function createScheduleProxyTask to create a Proxy Task in Teamcenter.
schedule_id | Schedule Id of the schedule were the proxy is being created |
task_id | Task Id of the real task being proxied |
reference_id | Task Id of the reference task in the schedule |
sublevels | Number of sub-levels (if this should be mirrored in the sub schedules (-1 = all, 0 = only this schedule, 1= first level, 2 = 1st and 2nd level, etc) |
Sample code sequence
TC::SCHMGR::createScheduleTask | schedule_id parent_task_id previous_sibling_task_id task_id object_name start_date finish_date work_estimate ?object_type? ?constraint? ?status? ?duration? args | ||
This function calls the TcSoa based function createScheduleTask to create a Schedule Task in Teamcenter.
schedule_id | Schedule Id |
parent_task_id | |
previous_sibling_task_id | |
task_id | Task Id |
object_name | Task name |
start_date | Start date of the Schedule Task (format yyyymmddhhMMss) |
finish_date | Finish date of the Schedule Task (format yyyymmddhhMMss) |
work_estimate | |
object_type | Optional task type name (default is ScheduleTask) |
constraint | Optional Task Constraint parameter with the following possible values:
|
status | Task status |
duration | Task status |
args | reserved for future usage |
Sample code sequence
TC::SCHMGR::deleteDependencies | schedule_id predecessor_task_id successor_task_id | ||
This function calls the TcSoa based function deleteDependencies to delete a dependency between two Task in Teamcenter.
schedule_id | Schedule Id |
predecessor_task_id | |
successor_task_id |
Sample code sequence
TC::SCHMGR::deleteScheduleTask | schedule_id task_id | ||
This function calls the TcSoa based function deleteScheduleTaskExecution to delete a given Task in Teamcenter.
schedule_id | |
task_id |
Sample code sequence
TC::SCHMGR::detachSchedule | master_schedule_id sub_schedule_id | ||
This function calls the TcSoa based function detachSchedule to detach a given Sub-Schedule from a defined Master-Schedule in Teamcenter.
master_schedule_id | |
sub_schedule_id |
Sample code sequence
TC::SCHMGR::insertSchedule | master_schedule_id sub_schedule_id master_schedule_task_id ?adjustMasterDates? | ||
This function calls the TcSoa based function deleteScheduleTaskExecution to delete a given Task in Teamcenter.
master_schedule_id | |
sub_schedule_id | The Schedule that is requested to be inserted in the master Schedule. |
master_schedule_task_id | |
adjustMasterDates | If true the operation adjusts the start date and the end date of the master Schedule to match the start date and the end date of the sub Schedule. If false (default) the operation does not adjust the dates of the master Schedule |
Sample code sequence
TC::SCHMGR::logoutSession | args | ||
This function calls the TcSoa based function logoutSession to close the connection to the Teamcenter server.
args | currently not in use |
Sample code sequence
TC::SCHMGR::moveScheduleTask | schedule_id parent_task_id previous_sibling_task_id task_id | ||
This function calls the TcSoa based function moveScheduleTask to move a Schedule Task in the structure of a given schedule in Teamcenter.
schedule_id | Schedule Id |
parent_task_id | |
previous_sibling_task_id | |
task_id | Task Id |
Sample code sequence
TC::SCHMGR::shiftSchedule | item_id shift_date ?new_finish? | ||
This function calls the TcSoa based function shiftScheduleNonInteractive to shift a Schedule to a new start or finish date.
item_id | Schedule Id |
shift_date | shift date of the Schedule to this value (format yyyymmddhhMMss) |
new_finish | Is the newDate a new finish date? 1 if it is a new finish date. 0 if it is a new start date. |
Sample code sequence
TC::SCHMGR::updateDependencies | schedule_id predecessor_task_id successor_task_id dependency_type lag_time | ||
This function calls the TcSoa based function updateDependencies to update a dependency between two Task in Teamcenter.
schedule_id | Schedule Id |
predecessor_task_id | |
successor_task_id | |
dependency_type | new task dependency type, with the following possible values:
|
lag_time | new lag time for the dependency |
Sample code sequence
TC::SCHMGR::updateSchedule | item_id object_name start_date finish_date args | ||
This function calls the TcSoa based function updateSchedule to update the corresponding Schedule in Teamcenter.
item_id | Schedule Id |
object_name | Schedule name |
start_date | Start date of the Schedule (format yyyymmddhhMMss) |
finish_date | Finish date of the Schedule (format yyyymmddhhMMss) |
args | reserved for future usage |
Sample code sequence
TC::SCHMGR::updateScheduleTask | schedule_id task_id object_name start_date finish_date work_estimate constraint ?status? | ||
This function calls the TcSoa based function updateScheduleTask to update a given Task in Teamcenter.
schedule_id | |
task_id | |
object_name | |
start_date | Start date of the Schedule Task (format yyyymmdd hhmmss) |
finish_date | Finish date of the Schedule Task (format yyyymmddhhMMss) |
work_estimate | |
constraint | Task Constraint with the following possible values:
|
status | Task status |
Sample code sequence
TC::SCHMGR::updateScheduleTaskExecution | task_id TaskExecUpdateDict | ||
This function calls the TcSoa based function updateScheduleTaskExecution to update a given Task in Teamcenter.
task_id | |
TaskExecUpdateDict | Dict containing the following possible keys:
|
Sample code sequence