<?xml version="1.0" encoding="UTF-8"?>
<process xmlns:bean="http://bean.boe.com/" xmlns:bpel="http://bpel.boe.com/" targetNamespace="http://bpel.boe.com/bpelj/" name="ModifyShipRequestDetail.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="BSShipRequestServiceUtil" partnerLinkType="bean:BSShipRequestServiceUtil" />
        <partnerLink name="BSShipRequestServiceImpl" partnerLinkType="bean:BSShipRequestServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="checkInCode" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/CHECKINCODE')" />
        <variable name="coustomproductspecname" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/COUSTOMPRODUCTSPECNAME')" />
        <variable name="customid" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/CUSTOMID')" />
        <variable name="domesticExport" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/DOMESTICEXPORT')" />
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('message','/Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('message','/Message/Header/EVENTUSER')" />
        <variable name="grade" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/GRADE')" />
        <variable name="invoiceDetailNo" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/SHIPREQUESTDETAILNAME')" />
        <variable name="invoiceNo" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/SHIPREQUESTNAME')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="productSpecName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/PRODUCTSPECNAME')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message','/Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="requestProductQuantity" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/REQUESTQUANTITY')" />
        <variable name="revisionCode" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/REVISIONCODE')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/SITENAME')" />
    </variables>
    <sequence>
        <receive name="ModifyShipRequestDetail" bounds="70,30,155,75">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="EventInfoUtil makeEventInfo" type="invokebean" description="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" bounds="7,135,281,102" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input constant="CreateInvoiceDetailNo" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
            <input variable="eventComment" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="BSShipRequestServiceUtil checkInvoiceExist" type="invokebean" description="public void checkInvoiceExist(java.lang.String invoiceNo, java.lang.String siteName)" bounds="77,267,140,102" partnerLink="BSShipRequestServiceUtil" partnerLinkType="BSShipRequestServiceUtil" operation="checkInvoiceExist" operationDesc="public void checkInvoiceExist(java.lang.String invoiceNo, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoiceNo" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
        </invoke>
        <invoke name="BSShipRequestServiceUtil checkDetailInvoiceExist" type="invokebean" description="public void checkDetailInvoiceExist(java.lang.String invoiceNo, java.lang.String invoiceDetailNo, java.lang.String siteName)" bounds="69,399,157,102" partnerLink="BSShipRequestServiceUtil" partnerLinkType="BSShipRequestServiceUtil" operation="checkDetailInvoiceExist" operationDesc="public void checkDetailInvoiceExist(java.lang.String invoiceNo, java.lang.String invoiceDetailNo, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoiceNo" type="java.lang.String" />
            <input variable="invoiceDetailNo" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
        </invoke>
        <invoke name="BSShipRequestServiceImpl modifyShipRequestDetail" type="invokebean" description="public void modifyShipRequestDetail(java.lang.String invoiceNo, java.lang.String invoiceDetailNo, java.lang.String productSpecName, java.lang.String grade, java.lang.String revisionCode, java.lang.String checkInCode, java.lang.String requestProductQuantity, java.lang.String domesticExport, java.lang.String siteName)" bounds="-158,531,610,102" partnerLink="BSShipRequestServiceImpl" partnerLinkType="BSShipRequestServiceImpl" operation="modifyShipRequestDetail" operationDesc="public void modifyShipRequestDetail(java.lang.String invoiceNo, java.lang.String invoiceDetailNo, java.lang.String productSpecName, java.lang.String grade, java.lang.String revisionCode, java.lang.String checkInCode, java.lang.String requestProductQuantity, java.lang.String domesticExport, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoiceNo" type="java.lang.String" />
            <input variable="invoiceDetailNo" type="java.lang.String" />
            <input variable="productSpecName" type="java.lang.String" />
            <input variable="grade" type="java.lang.String" />
            <input variable="revisionCode" type="java.lang.String" />
            <input variable="checkInCode" type="java.lang.String" />
            <input variable="requestProductQuantity" type="java.lang.String" />
            <input variable="domesticExport" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="coustomproductspecname" type="java.lang.String" />
            <input variable="customid" type="java.lang.String" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="35,663,224,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="replySubjectName" type="java.lang.String" />
            <input variable="message" type="org.jdom.Document" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
    </sequence>
</process>

