Вы находитесь на странице: 1из 19

Work Order Web Service Procedures

PINNACLE 6.5.1

Table of Contents
1.

Work Order Web Services in 6.5.1 ......................................................................................................................................................................... 1

2.

Renamed Work Order Web Service Procedures .................................................................................................................................................... 1

3.

Work Order Web Service Procedures with New Parameters ................................................................................................................................. 4

4.

New Work Order Web Service Procedures ............................................................................................................................................................ 5

5.

Additional Information Parameters for New Web Services ................................................................................................................................... 14

1.

Work Order Web Services in 6.5.1

Several enhancements and new capabilities were added to 6.5.1 that affect the work order web service. This document outlines those changes.
For more details about a particular end point, please refer to that specific documentation.

2.

Renamed Work Order Web Service Procedures

6.4.3 Procedure / Function

6.5.1 Procedure / Function

PRE_ORDER_CONVERT(
p_wo_id in WORKORDER.PRE_ORDER_API_V.pre_order_id%type);

PRE_ORDER_CONVERT_BY_ID(
p_wo_id in WORKORDER.PRE_ORDER_API_V.pre_order_id%type);

PRE_ORDER_CONVERT(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type);

PRE_ORDER_CONVERT_BY_PO(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type);

PRE_ORDER_WITHDRAW(
p_wo_id in WORKORDER.PRE_ORDER_API_V.pre_order_id%type);

PRE_ORDER_WITHDRAW_BY_ID(
p_wo_id in WORKORDER.PRE_ORDER_API_V.pre_order_id%type);

PRE_ORDER_WITHDRAW(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type);

PRE_ORDER_WITHDRAW_BY_PO(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type);

WORK_ORDER_QA_ALL(
p_wo_id in WORKORDER.WO_TCOM.wo_id%type)

QA_ALL_BY_ID(
p_wo_id in WORKORDER.WO_TCOM.wo_id%type)

Work Order Web Service Procedures in 6.5.1 | 1

return integer;

return integer;

WORK_ORDER_QA_ALL(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type)
return integer;

QA_ALL_BY_PO(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type)
return integer;

WORK_ORDER_QA_ALL(
p_so_type in
WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type,
p_so_number in
WORKORDER.SERVICE_ORDER_API_V.wo_number%type,
p_so_issue in
WORKORDER.SERVICE_ORDER_API_V.wo_issue%type)
return integer;

QA_ALL_BY_WO(
p_wo_type in
WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type,
p_wo_number in WORKORDER.SERVICE_ORDER_API_V.wo_number%type,
p_wo_issue in WORKORDER.SERVICE_ORDER_API_V.wo_issue%type)
return integer;

SERVICE_ORDER_CLOSE(
p_wo_id in
WORKORDER.SERVICE_ORDER_API_V.service_order_id%type,
p_actual_completion_date in
WORKORDER.SERVICE_ORDER_API_V.actual_completion_date%type,
p_current_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type);

SERVICE_ORDER_CLOSE_BY_ID(
p_wo_id in WORKORDER.SERVICE_ORDER_API_V.service_order_id%type,
p_actual_fulfilled_date in
WORKORDER.SERVICE_ORDER_API_V.actual_fulfilled_date%type,
p_current_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type,
p_work_status_name
in
WORKORDER.SERVICE_ORDER_API_V.work_status_name%type := null);

SERVICE_ORDER_CLOSE(
p_so_type in
WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type,
p_so_number in
WORKORDER.SERVICE_ORDER_API_V.wo_number%type,

SERVICE_ORDER_CLOSE_BY_SO(
p_so_type in WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type,
p_so_number in
WORKORDER.SERVICE_ORDER_API_V.wo_number%type,
p_so_issue in WORKORDER.SERVICE_ORDER_API_V.wo_issue%type,

Work Order Web Service Procedures in 6.5.1 | 2

p_so_issue in
WORKORDER.SERVICE_ORDER_API_V.wo_issue%type,
p_actual_completion_date in
WORKORDER.SERVICE_ORDER_API_V.actual_completion_date%type,
p_current_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type);

p_actual_fulfilled_date in
WORKORDER.SERVICE_ORDER_API_V.actual_fulfilled_date%type,
p_current_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type,
p_work_status_name in
WORKORDER.SERVICE_ORDER_API_V.work_status_name%type := null);

SERVICE_ORDER_CLOSE(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type,
p_actual_completion_date in
WORKORDER.SERVICE_ORDER_API_V.actual_completion_date%type,
p_current_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type);

PROCESS_SERVICE_CATALOG(
p_wo_id in WORKORDER.PRE_ORDER_API_V.pre_order_id%type,
p_service_catalog_id in
workorder.service_catalog_api_v.service_catalog_id%type,
p_assign_deassign in varchar2)
return integer;

SERVICE_ORDER_CLOSE_BY_PO(
p_pre_order_number in
WORKORDER.PRE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.PRE_ORDER_API_V.pre_order_issue%type,
p_actual_fulfilled_date in
WORKORDER.SERVICE_ORDER_API_V.actual_fulfilled_date%type,
p_current_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in
WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type,
p_work_status_name in
WORKORDER.SERVICE_ORDER_API_V.work_status_name%type := null);
PROCESS_SERVICE_CATALOG_BY_ID(
p_wo_id in WORKORDER.PRE_ORDER_API_V.pre_order_id%type,
p_service_catalog_id in
workorder.service_catalog_api_v.service_catalog_id%type,
p_assign_deassign in varchar2 )
return integer;

PROCESS_SERVICE_CATALOG(
p_pre_order_number in
WORKORDER.SERVICE_ORDER_API_V.pre_order_number%type,
p_pre_order_issue in
WORKORDER.SERVICE_ORDER_API_V.pre_order_issue%type,
p_service_catalog_id in

PROCESS_SERVICE_CATALOG_BY_PO(
p_pre_order_number in
WORKORDER.SERVICE_ORDER_API_V.pre_order_number%type
p_pre_order_issue in
WORKORDER.SERVICE_ORDER_API_V.pre_order_issue%type
p_service_catalog_id in

Work Order Web Service Procedures in 6.5.1 | 3

workorder.service_catalog_api_v.service_catalog_id%type,
p_assign_deassign in varchar2)
return integer;

workorder.service_catalog_api_v.service_catalog_id%type
p_assign_deassign in varchar2 )
return integer;

PROCESS_SERVICE_CATALOG(
p_so_type in
WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type,
p_so_number in
WORKORDER.SERVICE_ORDER_API_V.wo_number%type,
p_so_issue in
WORKORDER.SERVICE_ORDER_API_V.wo_issue%type,
p_service_catalog_id in
workorder.service_catalog_api_v.service_catalog_id%type,
p_assign_deassign in varchar2 )
return integer;

PROCESS_SERVICE_CATALOG_BY_WO(
p_wo_type in WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type
p_wo_number in WORKORDER.SERVICE_ORDER_API_V.wo_number%type
p_wo_issue in WORKORDER.SERVICE_ORDER_API_V.wo_issue%type
p_service_catalog_id in
workorder.service_catalog_api_v.service_catalog_id%type
p_assign_deassign in varchar2 )
return integer;

3.

Work Order Web Service Procedures with New Parameters

A p_work_status_name parameter was added to the SERVICE_ORDER_CLOSE_BY_SO and SERVICE_ORDER_CLOSE_BY_PO procedures:

SERVICE_ORDER_CLOSE_BY_SO(
p_so_type in WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type,
p_so_number in WORKORDER.SERVICE_ORDER_API_V.wo_number%type,
p_so_issue in WORKORDER.SERVICE_ORDER_API_V.wo_issue%type,
p_actual_fulfilled_date in WORKORDER.SERVICE_ORDER_API_V.actual_fulfilled_date%type,
p_current_e911_sel_loc_id in WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type,
p_work_status_name in WORKORDER.SERVICE_ORDER_API_V.work_status_name%type := null);

SERVICE_ORDER_CLOSE_BY_PO
p_pre_order_number
in WORKORDER.PRE_ORDER_API_V.pre_order_number%type,

Work Order Web Service Procedures in 6.5.1 | 4

p_pre_order_issue
in WORKORDER.PRE_ORDER_API_V.pre_order_issue%type,
p_actual_fulfilled_date in WORKORDER.SERVICE_ORDER_API_V.actual_fulfilled_date%type,
p_current_e911_sel_loc_id in WORKORDER.SERVICE_ORDER_API_V.current_e911_sel_loc_id%type,
p_new_e911_sel_loc_id in WORKORDER.SERVICE_ORDER_API_V.new_e911_sel_loc_id%type,
p_work_status_name
in WORKORDER.SERVICE_ORDER_API_V.work_status_name%type := null);

4.

New Work Order Web Service Procedures

RESPOND_BY_ID
procedure RESPOND_BY_ID(p_wo_id in workorder.wo_tcom_api_v.wo_tcom_id%type);

RESPOND_BY_PO
procedure RESPOND_BY_PO(p_pre_order_number in workorder.pre_order_api_v.pre_order_number%type
,p_pre_order_issue in workorder.pre_order_api_v.pre_order_issue%type);

RESPOND_BY_WO
procedure RESPOND_BY_WO(p_wo_type in workorder.service_order_api_v.wo_type_code%type
,p_wo_number in workorder.service_order_api_v.wo_number%type
,p_wo_issue in workorder.service_order_api_v.wo_issue%type);

SERVICE_ORDER_FULFILL_BY_ID
procedure SERVICE_ORDER_FULFILL_BY_ID(p_wo_id in workorder.wo_tcom_api_v.wo_tcom_id%type
,p_signoff_required in workorder.wo_tcom_api_v.signoff_required%type default 0);

Work Order Web Service Procedures in 6.5.1 | 5

SERVICE_ORDER_FULFILL_BY_PO
procedure SERVICE_ORDER_FULFILL_BY_PO(p_pre_order_number in workorder.pre_order_api_v.pre_order_number%type
,p_pre_order_issue in workorder.pre_order_api_v.pre_order_issue%type
,p_signoff_required in workorder.wo_tcom_api_v.signoff_required%type default 0);

SERVICE_ORDER_FULFILL_BY_WO
procedure SERVICE_ORDER_FULFILL_BY_WO(p_wo_type in workorder.service_order_api_v.wo_type_code%type
,p_wo_number in workorder.service_order_api_v.wo_number%type
,p_wo_issue in workorder.service_order_api_v.wo_issue%type
,p_signoff_required in workorder.wo_tcom_api_v.signoff_required%type default 0);

INCIDENT_RESOLVE_BY_ID
procedure INCIDENT_RESOLVE_BY_ID(p_wo_id in workorder.wo_tcom_api_v.wo_tcom_id%type
,p_signoff_required in workorder.wo_tcom_api_v.signoff_required%type default 0);

INCIDENT_RESOLVE_BY_PO
procedure INCIDENT_RESOLVE_BY_PO(p_pre_order_number in workorder.pre_order_api_v.pre_order_number%type
,p_pre_order_issue in workorder.pre_order_api_v.pre_order_issue%type
,p_signoff_required in workorder.wo_tcom_api_v.signoff_required%type default 0);

INCIDENT_RESOLVE_BY_WO
procedure INCIDENT_RESOLVE_BY_WO(p_wo_type in workorder.trouble_api_v.wo_type_code%type
,p_wo_number in workorder.trouble_api_v.wo_number%type
,p_wo_issue in workorder.trouble_api_v.wo_issue%type
,p_signoff_required in workorder.wo_tcom_api_v.signoff_required%type default 0);

Work Order Web Service Procedures in 6.5.1 | 6

SERVICE_ORDER_UPDATE_BY_ID
NOTE: The add_info parameters apply here but are not included in this list. They are listed at the end of the document.
procedure SERVICE_ORDER_UPDATE_BY_ID(p_wo_id in WORKORDER.SERVICE_ORDER_API_V.service_order_id%type
,p_priority_name in WORKORDER.SERVICE_ORDER_API_V.priority_name%type
,p_suspend_restore_code in WORKORDER.SERVICE_ORDER_API_V.suspend_restore_code%type
,p_suspend_restore_name in WORKORDER.SERVICE_ORDER_API_V.suspend_restore_name%type
,p_comment_text in WORKORDER.SERVICE_ORDER_API_V.comment_text%type
,p_department_number in WORKORDER.SERVICE_ORDER_API_V.department_number%type
,p_department_id in WORKORDER.SERVICE_ORDER_API_V.department_id%type
,p_department_name in WORKORDER.SERVICE_ORDER_API_V.department_name%type
,p_contact_id in WORKORDER.SERVICE_ORDER_API_V.contact_id%type
,p_contact_phone_number in WORKORDER.SERVICE_ORDER_API_V.contact_phone_number%type
,p_contact_last_name in WORKORDER.SERVICE_ORDER_API_V.contact_last_name%type
,p_contact_first_name in WORKORDER.SERVICE_ORDER_API_V.contact_first_name%type
,p_contact_email_address in WORKORDER.SERVICE_ORDER_API_V.contact_email_address%type
,p_project_type_code in WORKORDER.SERVICE_ORDER_API_V.project_type_code%type
,p_project_name in WORKORDER.SERVICE_ORDER_API_V.project_name%type
,p_project_number in WORKORDER.SERVICE_ORDER_API_V.project_number%type
,p_project_id in WORKORDER.SERVICE_ORDER_API_V.project_id%type
,p_assigned_labor_code in WORKORDER.SERVICE_ORDER_API_V.assigned_labor_code%type
,p_work_status_id in WORKORDER.SERVICE_ORDER_API_V.work_status_id%type
,p_work_status_name in WORKORDER.SERVICE_ORDER_API_V.work_status_name%type
,p_approval_required in WORKORDER.SERVICE_ORDER_API_V.approval_required%type
,p_due_date in WORKORDER.SERVICE_ORDER_API_V.due_date%type
,p_receive_date in WORKORDER.SERVICE_ORDER_API_V.receive_date%type
,p_estimated_start_date in WORKORDER.SERVICE_ORDER_API_V.estimated_start_date%type
,p_estimated_completion_date in WORKORDER.SERVICE_ORDER_API_V.estimated_completion_date%type
,p_actual_start_date in WORKORDER.SERVICE_ORDER_API_V.actual_start_date%type
,p_inspection_date in WORKORDER.SERVICE_ORDER_API_V.inspection_date%type
,p_inspection_code in WORKORDER.SERVICE_ORDER_API_V.inspection_code%type

Work Order Web Service Procedures in 6.5.1 | 7

,p_cust_satisfaction_level in WORKORDER.SERVICE_ORDER_API_V.cust_satisfaction_level%type
,p_requisition_number in WORKORDER.SERVICE_ORDER_API_V.requisition_number%type
,p_default_mrc_expense_acct in WORKORDER.SERVICE_ORDER_API_V.default_recurring_expense_acct%type
,p_default_occ_expense_acct in WORKORDER.SERVICE_ORDER_API_V.default_one_time_expense_acct%type
,p_sla_severity_id in WORKORDER.SERVICE_ORDER_API_V.sla_severity_id%type
,p_sla_severity_code in WORKORDER.SERVICE_ORDER_API_V.sla_severity_code%type
,p_sla_urgency_sequence in WORKORDER.SERVICE_ORDER_API_V.sla_urgency_sequence%type
,p_sla_escalation_on_hold in WORKORDER.SERVICE_ORDER_API_V.sla_escalation_on_hold%type
,p_wo_step_id in WORKORDER.SERVICE_ORDER_API_V.wo_step_id%type
,p_wo_step_code in WORKORDER.SERVICE_ORDER_API_V.wo_step_code%type
,p_script in WORKORDER.SERVICE_ORDER_API_V.script%type
,p_note_subject in WORKORDER.SERVICE_ORDER_API_V.note_subject%type
,p_note_text in WORKORDER.SERVICE_ORDER_API_V.note_text%type);

SERVICE_ORDER_UPDATE_BY_SO
NOTE: The add_info parameters apply here but are not included in this list. They are listed at the end of the document.
procedure SERVICE_ORDER_UPDATE_BY_SO(p_wo_type_code in WORKORDER.SERVICE_ORDER_API_V.wo_type_code%type
,p_wo_number in WORKORDER.SERVICE_ORDER_API_V.wo_number%type
,p_wo_issue in WORKORDER.SERVICE_ORDER_API_V.wo_issue%type
,p_priority_name in WORKORDER.SERVICE_ORDER_API_V.priority_name%type
,p_suspend_restore_code in WORKORDER.SERVICE_ORDER_API_V.suspend_restore_code%type
,p_suspend_restore_name in WORKORDER.SERVICE_ORDER_API_V.suspend_restore_name%type
,p_comment_text in WORKORDER.SERVICE_ORDER_API_V.comment_text%type
,p_department_number in WORKORDER.SERVICE_ORDER_API_V.department_number%type
,p_department_id in WORKORDER.SERVICE_ORDER_API_V.department_id%type
,p_department_name in WORKORDER.SERVICE_ORDER_API_V.department_name%type
,p_contact_id in WORKORDER.SERVICE_ORDER_API_V.contact_id%type
,p_contact_phone_number in WORKORDER.SERVICE_ORDER_API_V.contact_phone_number%type
,p_contact_last_name in WORKORDER.SERVICE_ORDER_API_V.contact_last_name%type
,p_contact_first_name in WORKORDER.SERVICE_ORDER_API_V.contact_first_name%type

Work Order Web Service Procedures in 6.5.1 | 8

,p_contact_email_address in WORKORDER.SERVICE_ORDER_API_V.contact_email_address%type
,p_project_type_code in WORKORDER.SERVICE_ORDER_API_V.project_type_code%type
,p_project_name in WORKORDER.SERVICE_ORDER_API_V.project_name%type
,p_project_number in WORKORDER.SERVICE_ORDER_API_V.project_number%type
,p_project_id in WORKORDER.SERVICE_ORDER_API_V.project_id%type
,p_assigned_labor_code in WORKORDER.SERVICE_ORDER_API_V.assigned_labor_code%type
,p_work_status_id in WORKORDER.SERVICE_ORDER_API_V.work_status_id%type
,p_work_status_name in WORKORDER.SERVICE_ORDER_API_V.work_status_name%type
,p_approval_required in WORKORDER.SERVICE_ORDER_API_V.approval_required%type
,p_due_date in WORKORDER.SERVICE_ORDER_API_V.due_date%type
,p_receive_date in WORKORDER.SERVICE_ORDER_API_V.receive_date%type
,p_estimated_start_date in WORKORDER.SERVICE_ORDER_API_V.estimated_start_date%type
,p_estimated_completion_date in WORKORDER.SERVICE_ORDER_API_V.estimated_completion_date%type
,p_actual_start_date in WORKORDER.SERVICE_ORDER_API_V.actual_start_date%type
,p_inspection_date in WORKORDER.SERVICE_ORDER_API_V.inspection_date%type
,p_inspection_code in WORKORDER.SERVICE_ORDER_API_V.inspection_code%type
,p_cust_satisfaction_level in WORKORDER.SERVICE_ORDER_API_V.cust_satisfaction_level%type
,p_requisition_number in WORKORDER.SERVICE_ORDER_API_V.requisition_number%type
,p_default_mrc_expense_acct in WORKORDER.SERVICE_ORDER_API_V.default_recurring_expense_acct%type
,p_default_occ_expense_acct in WORKORDER.SERVICE_ORDER_API_V.default_one_time_expense_acct%type
,p_sla_severity_id in WORKORDER.SERVICE_ORDER_API_V.sla_severity_id%type
,p_sla_severity_code in WORKORDER.SERVICE_ORDER_API_V.sla_severity_code%type
,p_sla_urgency_sequence in WORKORDER.SERVICE_ORDER_API_V.sla_urgency_sequence%type
,p_sla_escalation_on_hold in WORKORDER.SERVICE_ORDER_API_V.sla_escalation_on_hold%type
,p_wo_step_id in WORKORDER.SERVICE_ORDER_API_V.wo_step_id%type
,p_wo_step_code in WORKORDER.SERVICE_ORDER_API_V.wo_step_code%type
,p_script in WORKORDER.SERVICE_ORDER_API_V.script%type
,p_note_subject in WORKORDER.SERVICE_ORDER_API_V.note_subject%type
,p_note_text in WORKORDER.SERVICE_ORDER_API_V.note_text%type);

Work Order Web Service Procedures in 6.5.1 | 9

SERVICE_ORDER_UPDATE_BY_PO
NOTE: The add_info parameters apply here but are not included in this list. They are listed at the end of the document.
procedure SERVICE_ORDER_UPDATE_BY_PO(p_pre_order_number in WORKORDER.SERVICE_ORDER_API_V.pre_order_number%type
,p_pre_order_issue in WORKORDER.SERVICE_ORDER_API_V.pre_order_issue%type
,p_priority_name in WORKORDER.SERVICE_ORDER_API_V.priority_name%type
,p_suspend_restore_code in WORKORDER.SERVICE_ORDER_API_V.suspend_restore_code%type
,p_suspend_restore_name in WORKORDER.SERVICE_ORDER_API_V.suspend_restore_name%type
,p_comment_text in WORKORDER.SERVICE_ORDER_API_V.comment_text%type
,p_department_number in WORKORDER.SERVICE_ORDER_API_V.department_number%type
,p_department_id in WORKORDER.SERVICE_ORDER_API_V.department_id%type
,p_department_name in WORKORDER.SERVICE_ORDER_API_V.department_name%type
,p_contact_id in WORKORDER.SERVICE_ORDER_API_V.contact_id%type
,p_contact_phone_number in WORKORDER.SERVICE_ORDER_API_V.contact_phone_number%type
,p_contact_last_name in WORKORDER.SERVICE_ORDER_API_V.contact_last_name%type
,p_contact_first_name in WORKORDER.SERVICE_ORDER_API_V.contact_first_name%type
,p_contact_email_address in WORKORDER.SERVICE_ORDER_API_V.contact_email_address%type
,p_project_type_code in WORKORDER.SERVICE_ORDER_API_V.project_type_code%type
,p_project_name in WORKORDER.SERVICE_ORDER_API_V.project_name%type
,p_project_number in WORKORDER.SERVICE_ORDER_API_V.project_number%type
,p_project_id in WORKORDER.SERVICE_ORDER_API_V.project_id%type
,p_assigned_labor_code in WORKORDER.SERVICE_ORDER_API_V.assigned_labor_code%type
,p_work_status_id in WORKORDER.SERVICE_ORDER_API_V.work_status_id%type
,p_work_status_name in WORKORDER.SERVICE_ORDER_API_V.work_status_name%type
,p_approval_required in WORKORDER.SERVICE_ORDER_API_V.approval_required%type
,p_due_date in WORKORDER.SERVICE_ORDER_API_V.due_date%type
,p_receive_date in WORKORDER.SERVICE_ORDER_API_V.receive_date%type
,p_estimated_start_date in WORKORDER.SERVICE_ORDER_API_V.estimated_start_date%type
,p_estimated_completion_date in WORKORDER.SERVICE_ORDER_API_V.estimated_completion_date%type
,p_actual_start_date in WORKORDER.SERVICE_ORDER_API_V.actual_start_date%type
,p_inspection_date in WORKORDER.SERVICE_ORDER_API_V.inspection_date%type

Work Order Web Service Procedures in 6.5.1 | 10

,p_inspection_code in WORKORDER.SERVICE_ORDER_API_V.inspection_code%type
,p_cust_satisfaction_level in WORKORDER.SERVICE_ORDER_API_V.cust_satisfaction_level%type
,p_requisition_number in WORKORDER.SERVICE_ORDER_API_V.requisition_number%type
,p_default_mrc_expense_acct in WORKORDER.SERVICE_ORDER_API_V.default_recurring_expense_acct%type
,p_default_occ_expense_acct in WORKORDER.SERVICE_ORDER_API_V.default_one_time_expense_acct%type
,p_sla_severity_id in WORKORDER.SERVICE_ORDER_API_V.sla_severity_id%type
,p_sla_severity_code in WORKORDER.SERVICE_ORDER_API_V.sla_severity_code%type
,p_sla_urgency_sequence in WORKORDER.SERVICE_ORDER_API_V.sla_urgency_sequence%type
,p_sla_escalation_on_hold in WORKORDER.SERVICE_ORDER_API_V.sla_escalation_on_hold%type
,p_wo_step_id in WORKORDER.SERVICE_ORDER_API_V.wo_step_id%type
,p_wo_step_code in WORKORDER.SERVICE_ORDER_API_V.wo_step_code%type
,p_script in WORKORDER.SERVICE_ORDER_API_V.script%type
,p_note_subject in WORKORDER.SERVICE_ORDER_API_V.note_subject%type
,p_note_text in WORKORDER.SERVICE_ORDER_API_V.note_text%type);

INCIDENT_UPDATE_BY_ID
NOTE: The add_info parameters apply here but are not included in this list. They are listed at the end of the document.
procedure INCIDENT_UPDATE_BY_ID(p_wo_id in WORKORDER.TROUBLE_API_V.trouble_id%type
,p_priority_name in WORKORDER.TROUBLE_API_V.priority_name%type
,p_comment_text in WORKORDER.TROUBLE_API_V.comment_text%type
,p_department_number in WORKORDER.TROUBLE_API_V.department_number%type
,p_department_id in WORKORDER.TROUBLE_API_V.department_id%type
,p_department_name in WORKORDER.TROUBLE_API_V.department_name%type
,p_contact_id in WORKORDER.TROUBLE_API_V.contact_id%type
,p_contact_phone_number in WORKORDER.TROUBLE_API_V.contact_phone_number%type
,p_contact_last_name in WORKORDER.TROUBLE_API_V.contact_last_name%type
,p_contact_first_name in WORKORDER.TROUBLE_API_V.contact_first_name%type
,p_contact_email_address in WORKORDER.TROUBLE_API_V.contact_email_address%type
,p_project_type_code in WORKORDER.TROUBLE_API_V.project_type_code%type
,p_project_name in WORKORDER.TROUBLE_API_V.project_name%type

Work Order Web Service Procedures in 6.5.1 | 11

,p_project_number in WORKORDER.TROUBLE_API_V.project_number%type
,p_project_id in WORKORDER.TROUBLE_API_V.project_id%type
,p_assigned_labor_code in WORKORDER.TROUBLE_API_V.assigned_labor_code%type
,p_work_status_id in WORKORDER.TROUBLE_API_V.work_status_id%type
,p_work_status_name in WORKORDER.TROUBLE_API_V.work_status_name%type
,p_incident_due_date in WORKORDER.TROUBLE_API_V.trouble_due_date%type
,p_incident_reported_date in WORKORDER.TROUBLE_API_V.trouble_reported_date%type
,p_estimated_start_date in WORKORDER.TROUBLE_API_V.estimated_start_date%type
,p_estimated_completion_date in WORKORDER.TROUBLE_API_V.estimated_completion_date%type
,p_inspection_date in WORKORDER.TROUBLE_API_V.inspection_date%type
,p_inspection_code in WORKORDER.TROUBLE_API_V.inspection_code%type
,p_cust_satisfaction_level in WORKORDER.TROUBLE_API_V.cust_satisfaction_level%type
,p_problem_code in WORKORDER.TROUBLE_API_V.problem_code%type
,p_resolution_code in WORKORDER.TROUBLE_API_V.resolution_code%type
,p_default_mrc_expense_acct in WORKORDER.TROUBLE_API_V.default_recurring_expense_acct%type
,p_default_occ_expense_acct in WORKORDER.TROUBLE_API_V.default_one_time_expense_acct%type
,p_sla_severity_id in WORKORDER.TROUBLE_API_V.sla_severity_id%type
,p_sla_severity_code in WORKORDER.TROUBLE_API_V.sla_severity_code%type
,p_sla_urgency_sequence in WORKORDER.TROUBLE_API_V.sla_urgency_sequence%type
,p_sla_escalation_on_hold in WORKORDER.TROUBLE_API_V.sla_escalation_on_hold%type
,p_wo_step_id in WORKORDER.TROUBLE_API_V.wo_step_id%type
,p_wo_step_code in WORKORDER.TROUBLE_API_V.wo_step_code%type
,p_script in WORKORDER.TROUBLE_API_V.script%type
,p_note_subject in WORKORDER.TROUBLE_API_V.note_subject%type
,p_note_text in WORKORDER.TROUBLE_API_V.note_text%type);

INCIDENT_UPDATE_BY_PO
NOTE: The add_info parameters apply here but are not included in this list. They are listed at the end of the document.

Work Order Web Service Procedures in 6.5.1 | 12

procedure INCIDENT_UPDATE_BY_PO(p_pre_order_number in WORKORDER.TROUBLE_API_V.pre_order_number%type


,p_pre_order_issue in WORKORDER.TROUBLE_API_V.pre_order_issue%type
,p_priority_name in WORKORDER.TROUBLE_API_V.priority_name%type
,p_comment_text in WORKORDER.TROUBLE_API_V.comment_text%type
,p_department_number in WORKORDER.TROUBLE_API_V.department_number%type
,p_department_id in WORKORDER.TROUBLE_API_V.department_id%type
,p_department_name in WORKORDER.TROUBLE_API_V.department_name%type
,p_contact_id in WORKORDER.TROUBLE_API_V.contact_id%type
,p_contact_phone_number in WORKORDER.TROUBLE_API_V.contact_phone_number%type
,p_contact_last_name in WORKORDER.TROUBLE_API_V.contact_last_name%type
,p_contact_first_name in WORKORDER.TROUBLE_API_V.contact_first_name%type
,p_contact_email_address in WORKORDER.TROUBLE_API_V.contact_email_address%type
,p_project_type_code in WORKORDER.TROUBLE_API_V.project_type_code%type
,p_project_name in WORKORDER.TROUBLE_API_V.project_name%type
,p_project_number in WORKORDER.TROUBLE_API_V.project_number%type
,p_project_id in WORKORDER.TROUBLE_API_V.project_id%type
,p_assigned_labor_code in WORKORDER.TROUBLE_API_V.assigned_labor_code%type
,p_work_status_id in WORKORDER.TROUBLE_API_V.work_status_id%type
,p_work_status_name in WORKORDER.TROUBLE_API_V.work_status_name%type
,p_incident_due_date in WORKORDER.TROUBLE_API_V.trouble_due_date%type
,p_incident_reported_date in WORKORDER.TROUBLE_API_V.trouble_reported_date%type
,p_estimated_start_date in WORKORDER.TROUBLE_API_V.estimated_start_date%type
,p_estimated_completion_date in WORKORDER.TROUBLE_API_V.estimated_completion_date%type
,p_inspection_date in WORKORDER.TROUBLE_API_V.inspection_date%type
,p_inspection_code in WORKORDER.TROUBLE_API_V.inspection_code%type
,p_cust_satisfaction_level in WORKORDER.TROUBLE_API_V.cust_satisfaction_level%type
,p_problem_code in WORKORDER.TROUBLE_API_V.problem_code%type
,p_resolution_code in WORKORDER.TROUBLE_API_V.resolution_code%type
,p_default_mrc_expense_acct in WORKORDER.TROUBLE_API_V.default_recurring_expense_acct%type
,p_default_occ_expense_acct in WORKORDER.TROUBLE_API_V.default_one_time_expense_acct%type
,p_sla_severity_id in WORKORDER.TROUBLE_API_V.sla_severity_id%type

Work Order Web Service Procedures in 6.5.1 | 13

,p_sla_severity_code in WORKORDER.TROUBLE_API_V.sla_severity_code%type
,p_sla_urgency_sequence in WORKORDER.TROUBLE_API_V.sla_urgency_sequence%type
,p_sla_escalation_on_hold in WORKORDER.TROUBLE_API_V.sla_escalation_on_hold%type
,p_wo_step_id in WORKORDER.TROUBLE_API_V.wo_step_id%type
,p_wo_step_code in WORKORDER.TROUBLE_API_V.wo_step_code%type
,p_script in WORKORDER.TROUBLE_API_V.script%type
,p_note_subject in WORKORDER.TROUBLE_API_V.note_subject%type
,p_note_text in WORKORDER.TROUBLE_API_V.note_text%type);

5.

Additional Information Parameters for New Web Services

The Service Order Update and the Incident Update web services all include parameters for the various additional information fields. These fields are listed
below.
NOTE: The parameters listed here are for the WORKORDER.SERVICE_ORDER_API_V. To use these parameters for updating an incident, substitute
that API with the following: WORKORDER.TROUBLE_API_V.
,p_ADD_INFO_TEXT_1
,p_ADD_INFO_TEXT_2
,p_ADD_INFO_TEXT_3
,p_ADD_INFO_TEXT_4
,p_ADD_INFO_TEXT_5
,p_ADD_INFO_TEXT_6
,p_ADD_INFO_TEXT_7
,p_ADD_INFO_TEXT_8
,p_ADD_INFO_TEXT_9
,p_ADD_INFO_TEXT_10
,p_ADD_INFO_TEXT_11
,p_ADD_INFO_TEXT_12
,p_ADD_INFO_TEXT_13

in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_1%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_2%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_3%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_4%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_5%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_6%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_7%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_8%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_9%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_10%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_11%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_12%type
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_13%type

Work Order Web Service Procedures in 6.5.1 | 14

,p_ADD_INFO_TEXT_14
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_14%type
,p_ADD_INFO_TEXT_15
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_15%type
,p_ADD_INFO_TEXT_16
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_TEXT_16%type
,p_ADD_INFO_CHECKBOX_1
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_1%type
,p_ADD_INFO_CHECKBOX_2
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_2%type
,p_ADD_INFO_CHECKBOX_3
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_3%type
,p_ADD_INFO_CHECKBOX_4
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_4%type
,p_ADD_INFO_CHECKBOX_5
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_5%type
,p_ADD_INFO_CHECKBOX_6
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_6%type
,p_ADD_INFO_CHECKBOX_7
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_7%type
,p_ADD_INFO_CHECKBOX_8
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_8%type
,p_ADD_INFO_CHECKBOX_9
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_9%type
,p_ADD_INFO_CHECKBOX_10
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_CHECKBOX_10%type
,p_ADD_INFO_DATE_1
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_1%type
,p_ADD_INFO_DATE_2
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_2%type
,p_ADD_INFO_DATE_3
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_3%type
,p_ADD_INFO_DATE_4
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_4%type
,p_ADD_INFO_DATE_5
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_5%type
,p_ADD_INFO_DATE_6
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_6%type
,p_ADD_INFO_DATE_7
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_7%type
,p_ADD_INFO_DATE_8
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_8%type
,p_ADD_INFO_DATE_9
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_9%type
,p_ADD_INFO_DATE_10
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_DATE_10%type
,p_ADD_INFO_NUMBER_1
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_1%type
,p_ADD_INFO_NUMBER_2
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_2%type
,p_add_info_number_3
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_3%type
,p_add_info_number_4
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_4%type
,p_add_info_number_5
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_5%type
,p_add_info_number_6
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_6%type
,p_add_info_number_7
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_7%type
,p_add_info_number_8
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_8%type
,p_add_info_number_9
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_9%type

Work Order Web Service Procedures in 6.5.1 | 15

,p_add_info_number_10
in WORKORDER.SERVICE_ORDER_API_V.ADD_INFO_NUMBER_10%type
,p_add_info_list_value_id_1 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_1%type
,p_add_info_list_value_id_2 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_2%type
,p_add_info_list_value_id_3 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_3%type
,p_add_info_list_value_id_4 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_4%type
,p_add_info_list_value_id_5 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_5%type
,p_add_info_list_value_id_6 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_6%type
,p_add_info_list_value_id_7 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_7%type
,p_add_info_list_value_id_8 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_8%type
,p_add_info_list_value_id_9 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_9%type
,p_add_info_list_value_id_10 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_id_10%type
,p_add_info_list_value_code_1 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_1%type
,p_add_info_list_value_code_2 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_2%type
,p_add_info_list_value_code_3 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_3%type
,p_add_info_list_value_code_4 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_4%type
,p_add_info_list_value_code_5 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_5%type
,p_add_info_list_value_code_6 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_6%type
,p_add_info_list_value_code_7 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_7%type
,p_add_info_list_value_code_8 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_8%type
,p_add_info_list_value_code_9 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_9%type
,p_add_info_list_value_code_10 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_code_10%type
,p_add_info_list_value_name_1 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_1%type
,p_add_info_list_value_name_2 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_2%type
,p_add_info_list_value_name_3 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_3%type
,p_add_info_list_value_name_4 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_4%type
,p_add_info_list_value_name_5 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_5%type
,p_add_info_list_value_name_6 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_6%type
,p_add_info_list_value_name_7 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_7%type
,p_add_info_list_value_name_8 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_8%type
,p_add_info_list_value_name_9 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_9%type
,p_add_info_list_value_name_10 in WORKORDER.SERVICE_ORDER_API_V.add_info_list_value_name_10%type

Work Order Web Service Procedures in 6.5.1 | 16

Work Order Web Service Procedures in 6.5.1 | 1

Вам также может понравиться