<?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="YardShipStockOut.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="YardDeviceReceiveQuestServiceImpl" partnerLinkType="bean:YardDeviceReceiveQuestServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="assignedQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ASSIGNEDQUANTITY')" />
        <variable name="Caseno" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CASENO')" />
        <variable name="charge" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CHARGE')" />
        <variable name="Container" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CONTAINER')" />
        <variable name="Device" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DEVICE')" />
        <variable name="domesticExport" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DOMESTICEXPORT')" />
        <variable name="erpFactoryName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ERPFACTORYNAME')" />
        <variable name="erpLocation" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ERPLOCATION')" />
        <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="Invoiceno" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/INVOICENO')" />
        <variable name="materialSpecName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALSPECNAME')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="MoveDate" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/YARD_DEVICE/YARD_DEVICE/MOVEDATE')" />
        <variable name="MoveEntrance" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/YARD_DEVICE/YARD_DEVICE/MOVEENTRANCE')" />
        <variable name="MoveOrder" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/YARD_DEVICE/YARD_DEVICE/MOVEORDER')" />
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="PONO" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/PONO')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="requestQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/REQUESTQUANTITY')" />
        <variable name="returnId" messageType="java.lang.String"></variable>
        <variable name="ShipQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SHIPQUANTITY')" />
        <variable name="shipRequestDetailName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SHIPREQUESTDETAILNAME')" />
        <variable name="ShipRequestName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SHIPREQUESTNAME')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
        <variable name="TransportRequire" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/YARD_DEVICE/YARD_DEVICE/TRANSPORTREQUIRE')" />
    </variables>
    <sequence>
        <receive name="YardShipStockOut" bounds="349,37,141,105">
            <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="350,170,141,105" 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="YardShipStockOut" 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="YardDeviceReceiveQuestServiceImpl ShipYardStockOut" type="invokebean" description="public void ShipYardStockOut(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String DeviceShipId, java.lang.String PONO, java.lang.String Invoiceno, java.lang.String Container, java.lang.String Device, java.lang.String sitename, java.lang.String caseno)" bounds="350,299,141,105" partnerLink="YardDeviceReceiveQuestServiceImpl" partnerLinkType="YardDeviceReceiveQuestServiceImpl" operation="ShipYardStockOut" operationDesc="public void ShipYardStockOut(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String DeviceShipId, java.lang.String PONO, java.lang.String Invoiceno, java.lang.String Container, java.lang.String Device, java.lang.String sitename, java.lang.String caseno)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="ShipRequestName" type="java.lang.String" />
            <input variable="PONO" type="java.lang.String" />
            <input variable="Invoiceno" type="java.lang.String" />
            <input variable="Container" type="java.lang.String" />
            <input variable="Device" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="Caseno" 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="350,485,141,105" 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>

