機械翻訳について

変更ステータスのワークフロー参加者の管理

ユーザー・インタフェースの場合と同様に、製品変更オーダーV2 SOAPリソースを使用して、製品管理変更オブジェクトの任意の変更ステータスに参加者を追加できます。

次に、Jamesが製品データ・ワードであり、本番システムが稼働する準備をしているシナリオについて説明します。 Product Design Change Order Services SOAPサービスを使用して、参加者を承認者およびレビュー担当者として追加することを希望しています。 そして、承認ステータスのレビュー担当者のリストを取得したいと考えています。

承認者の追加

次の例では、JamesはProduct Design Change Order Services SOAPサービスを使用して、変更オーダーC00001の承認者(ステータス・コード8)として個人(John Dove)とロール(ORA_EGP_PRODUCT_MANAGER_JOB)の両方を追加します。

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/types/" xmlns:chan="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:addParticipants>
         <typ:changeNotice>CO0001</typ:changeNotice>
         <typ:organizationCode>V1</typ:organizationCode>
         <typ:statusCode>8</typ:statusCode>
         <!--Add Approver Person and Role -->
         <typ:participant>
            <chan:AssigneeName>John.Dove</chan:AssigneeName>
            <chan:AssigneeTypeValue>Person</chan:AssigneeTypeValue>
            <chan:ParticipantTypeCode>APPROVAL</chan:ParticipantTypeCode>
         </typ:participant>
         <typ:participant>
            <chan:AssigneeName>ORA_EGP_PRODUCT_MANAGER_JOB</chan:AssigneeName>
            <chan:AssigneeTypeValue>ROLE</chan:AssigneeTypeValue>
            <chan:ParticipantTypeCode>APPROVAL</chan:ParticipantTypeCode>
         </typ:participant>
      </typ:addParticipants>
   </soapenv:Body>
</soapenv:Envelope>

レビュー・メンバーを追加

変更オーダーC00001にレビュー担当者を追加する方法を次に示します。 この例では、レビューア(ステータス・コード6)は個人(John Dove)およびロール(CUSTOM_QUALITY_ASSURANCE)です。

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/types/" xmlns:chan="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/">
   <soapenv:Header/>
   <soapenv:Body>
         <typ:addParticipants>
         <typ:changeNotice>C00001</typ:changeNotice>
         <typ:organizationCode>V1</typ:organizationCode>
         <typ:statusCode>8</typ:statusCode>
         <!--Add Reviewer Person and Role -->
         <typ:participant>
            <chan:AssigneeName>John.Dove</chan:AssigneeName>
            <chan:AssigneeTypeValue>Person</chan:AssigneeTypeValue>
            <chan:ParticipantTypeCode>REVIEW</chan:ParticipantTypeCode>
         </typ:participant>
         <typ:participant>
            <chan:AssigneeName>CUSTOM_QUALITY_ASSURANCE</chan:AssigneeName>
            <chan:AssigneeTypeValue>ROLE</chan:AssigneeTypeValue>
            <chan:ParticipantTypeCode>REVIEW</chan:ParticipantTypeCode>
         </typ:participant>
      </typ:addParticipants>
   </soapenv:Body>
</soapenv:Envelope>

1つの参加者タイプの取得

参加者が追加されたため、JamesはGETアクションを使用して、承認ステータスのレビューアを問い合せることができます。

soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/scm/productCollaboration/changes/changeObjects/changeObjectService/types/">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:getParticipants>
         <typ:changeNotice>CO0001</typ:changeNotice>
         <typ:organizationCode>V1</typ:organizationCode>
         <typ:statusCode>8</typ:statusCode>
         <!--DONT PASS PARTICIPANT CODE TO GET ALL PARTICIPANT TYPES-->
         <!--GET REVIEWER -->
         <typ:participantTypeCode>REVIEW</typ:participantTypeCode>
         <!--GET APPROVER-->
         <!--typ:participantTypeCode>APPROVAL</typ:participantTypeCode-->
                    <!--GET OPTIONAL APPROVERS-->
         <!--typ:participantTypeCode>OPTIONAL_APPROVAL</typ:participantTypeCode-->
      </typ:getParticipants>
   </soapenv:Body>
</soapenv:Envelope>