<?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="PreShipRequestDetailStockOutBMDT.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="CommonValidation" partnerLinkType="bean:CommonValidation" />
        <partnerLink name="MaterialShipRequestServiceImpl" partnerLinkType="bean:MaterialShipRequestServiceImpl" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialPackingServiceUtil" partnerLinkType="bean:MaterialPackingServiceUtil" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
        <partnerLink name="ERPInterfaceServiceImpl" partnerLinkType="bean:ERPInterfaceServiceImpl" />
        <partnerLink name="MaterialReceiveRequestServiceImpl" partnerLinkType="bean:MaterialReceiveRequestServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="1" messageType="java.lang.String"></variable>
        <variable name="@B2TOB7" messageType="java.lang.String"></variable>
        <variable name="actType" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/ACTTYPE')" />
        <variable name="B7" messageType="java.lang.String"></variable>
        <variable name="boxList" messageType="java.util.List"></variable>
        <variable name="Completed" messageType="java.lang.String"></variable>
        <variable name="CompleteShipRequest" messageType="org.jdom.Document"></variable>
        <variable name="costCenter" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/COSTCENTER')" />
        <variable name="Deliverytype" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/DELIVERYTYPE')" />
        <variable name="ERPEventTime" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/RECEIVETIME')" />
        <variable name="EventComment" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Header/EVENTUSER')" />
        <variable name="lasteventcomment" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/LASTEVENTCOMMENT')" />
        <variable name="locationList" messageType="java.util.List"></variable>
        <variable name="materialDoinfoList" messageType="java.util.List"></variable>
        <variable name="MaterialShipRequest" messageType="com.cim.idm.wmspackage.materialshiprequest.management.data.MaterialShipRequest"></variable>
        <variable name="messageID" messageType="java.lang.String"></variable>
        <variable name="messagename" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Header/MESSAGENAME')" />
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="PreShipRequestDetailStockOut" messageType="org.jdom.Document"></variable>
        <variable name="reasonCode" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/REASONCODE')" />
        <variable name="reasonCodeType" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/REASONCODETYPE')" />
        <variable name="receiveActNo" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/RECEIVEACTNO')" />
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="Shiprequestdetailtype" messageType="java.lang.String"></variable>
        <variable name="shipRequestName" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/SHIPREQUESTNAME')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('PreShipRequestDetailStockOutBMDT', '//Message/Body/SITENAME')" />
        <variable name="specialDateFlag" messageType="java.lang.Boolean">True</variable>
        <variable name="StockOut" messageType="java.lang.String"></variable>
        <variable name="storageName" messageType="java.lang.String"></variable>
    </variables>
    <sequence>
        <receive name="PreShipRequestDetailStockOutBMDT" bounds="324,30,149,62">
            <input variable="PreShipRequestDetailStockOut" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="328,122,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="CommonValidation GetMessageID" type="invokebean" description="public java.lang.String GetMessageID(java.lang.String sitename)" bounds="328,257,141,105" partnerLink="CommonValidation" partnerLinkType="CommonValidation" operation="GetMessageID" operationDesc="public java.lang.String GetMessageID(java.lang.String sitename)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <output variable="messageID" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="328,392,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="328,527,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="MaterialShipRequestServiceImpl getShipRequest" type="invokebean" description="public com.cim.idm.wmspackage.materialshiprequest.management.data.MaterialShipRequest getShipRequest(java.lang.String siteName, java.lang.String invoiceNo)" bounds="328,662,141,105" partnerLink="MaterialShipRequestServiceImpl" partnerLinkType="MaterialShipRequestServiceImpl" operation="getShipRequest" operationDesc="public com.cim.idm.wmspackage.materialshiprequest.management.data.MaterialShipRequest getShipRequest(java.lang.String siteName, java.lang.String invoiceNo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="shipRequestName" type="java.lang.String" />
            <output variable="MaterialShipRequest" />
        </invoke>
        <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="328,797,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 variable="messagename" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
            <input variable="EventComment" type="java.lang.String" />
            <input variable="reasonCodeType" type="java.lang.String" />
            <input variable="reasonCode" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="MaterialPackingServiceUtil getPackingListFromShipRequest" type="invokebean" description="public java.util.List getPackingListFromShipRequest(java.lang.String invoiceNo, java.lang.String receiveActNo)" bounds="328,932,141,105" partnerLink="MaterialPackingServiceUtil" partnerLinkType="MaterialPackingServiceUtil" operation="getPackingListFromShipRequest" operationDesc="public java.util.List getPackingListFromShipRequest(java.lang.String invoiceNo, java.lang.String receiveActNo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="shipRequestName" type="java.lang.String" />
            <input variable="receiveActNo" type="java.lang.String" />
            <output variable="boxList" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl MaterialPackingStockOut_15SEQ" type="invokebean" description="public void MaterialPackingStockOut_15SEQ(java.util.List materialPackingKeyList, java.lang.String siteName, java.lang.String invoiceNo)" bounds="328,1067,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="MaterialPackingStockOut_15SEQ" operationDesc="public void MaterialPackingStockOut_15SEQ(java.util.List materialPackingKeyList, java.lang.String siteName, java.lang.String invoiceNo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="boxList" type="java.util.List" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="shipRequestName" type="java.lang.String" />
        </invoke>
        <switch name="switch" bounds="382,1202,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="343,1281,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="getVariable('Deliverytype') = 'Reserve'" bounds="215,1360,64,60">
                <source idx="0" terminal="5,A" />
                <switch name="switch" bounds="231,1450,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="192,1529,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getField(getVariable('MaterialShipRequest'), 'systemType')='OIC'&#xA; or &#xA;getField(getVariable('MaterialShipRequest'), 'systemType')='MES'&#xA;or&#xA;getField(getVariable('MaterialShipRequest'), 'systemType')='ERPReserve'" bounds="107,1608,74,66">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ERPInterfaceServiceImpl BMDTerpInterface_WMS19ForStockOut" type="invokebean" description="public static java.util.List BMDTerpInterface_WMS19ForStockOut(java.lang.String reasonCodeType, java.lang.String shipRequestName, java.lang.String erpEventTime, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageID, java.lang.String receiveActNo, java.lang.String costCenter, java.lang.String lastEventComment)" bounds="74,1704,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="BMDTerpInterface_WMS19ForStockOut" operationDesc="public static java.util.List BMDTerpInterface_WMS19ForStockOut(java.lang.String reasonCodeType, java.lang.String shipRequestName, java.lang.String erpEventTime, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageID, java.lang.String receiveActNo, java.lang.String costCenter, java.lang.String lastEventComment)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="reasonCodeType" type="java.lang.String" />
                            <input variable="shipRequestName" type="java.lang.String" />
                            <input variable="ERPEventTime" type="java.lang.String" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="messageID" type="java.lang.String" />
                            <input variable="receiveActNo" type="java.lang.String" />
                            <input variable="costCenter" type="java.lang.String" />
                            <input variable="lasteventcomment" type="java.lang.String" />
                            <output variable="materialDoinfoList" />
                        </invoke>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="305,1608,92,73">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ERPInterfaceServiceImpl erp_StockOut_WMS15" type="invokebean" description="public static java.util.List erp_StockOut_WMS15(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String receiveActNo, java.lang.String erpEventTime, java.lang.String messageID)" bounds="281,1711,234,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="erp_StockOut_WMS15" operationDesc="public static java.util.List erp_StockOut_WMS15(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String receiveActNo, java.lang.String erpEventTime, java.lang.String messageID)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="shipRequestName" type="java.lang.String" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="receiveActNo" type="java.lang.String" />
                            <input variable="ERPEventTime" type="java.lang.String" />
                            <input variable="messageID" type="java.lang.String" />
                            <output variable="materialDoinfoList" />
                        </invoke>
                    </otherwise>
                    <switchend name="switchend" type="switchend" bounds="192,1836,110,49">
                        <source idx="0" terminal="5,A" />
                        <source idx="1" terminal="5,A" />
                    </switchend>
                </switch>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="512,1360,77,48">
                <source idx="0" terminal="5,A" />
                <invoke name="ERPInterfaceServiceImpl erp_WOStockOut_WMS02" type="invokebean" description="public static java.util.List erp_WOStockOut_WMS02(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String erpEventTime, java.lang.String flag, java.lang.String messageID, java.lang.String receiveActNo)" bounds="480,1438,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="erp_WOStockOut_WMS02" operationDesc="public static java.util.List erp_WOStockOut_WMS02(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String erpEventTime, java.lang.String flag, java.lang.String messageID, java.lang.String receiveActNo)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="shipRequestName" type="java.lang.String" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="ERPEventTime" type="java.lang.String" />
                    <input constant="1" type="java.lang.String" />
                    <input variable="messageID" type="java.lang.String" />
                    <input variable="receiveActNo" type="java.lang.String" />
                    <output variable="materialDoinfoList" />
                </invoke>
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="643,1905,110,49">
                <source idx="0" terminal="5,A" />
                <source idx="1" terminal="5,A" />
            </switchend>
        </switch>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="628,1984,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()">
            <source idx="0" terminal="5,A" />
        </invoke>
        <switch name="switch" bounds="682,2119,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="643,2198,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="string(getListSize('materialDoinfoList')) &gt; 0" bounds="253,2277,60,32">
                <source idx="0" terminal="5,A" />
                <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="213,2339,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <invoke name="MaterialPackingServiceImpl updateMaterialPackingStockOut" type="invokebean" description="public void updateMaterialPackingStockOut(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List materialPackingKeyList, java.lang.String stockState, java.lang.String erpEventTime, java.lang.String eventUser, java.lang.String eventComment, java.lang.String receiveActNo)" bounds="213,2474,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="updateMaterialPackingStockOut" operationDesc="public void updateMaterialPackingStockOut(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.util.List materialPackingKeyList, java.lang.String stockState, java.lang.String erpEventTime, java.lang.String eventUser, java.lang.String eventComment, java.lang.String receiveActNo)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="siteName" type="java.lang.String" />
                    <input variable="boxList" type="java.util.List" />
                    <input constant="StockOut" type="java.lang.String" />
                    <input variable="ERPEventTime" type="java.lang.String" />
                    <input variable="eventUser" type="java.lang.String" />
                    <input variable="EventComment" type="java.lang.String" />
                    <input variable="receiveActNo" type="java.lang.String" />
                </invoke>
                <invoke name="MaterialReceiveRequestServiceImpl updateMaterialreceiveactState" type="invokebean" description="public void updateMaterialreceiveactState(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveActNo, java.lang.String state)" bounds="213,2609,141,105" partnerLink="MaterialReceiveRequestServiceImpl" partnerLinkType="MaterialReceiveRequestServiceImpl" operation="updateMaterialreceiveactState" operationDesc="public void updateMaterialreceiveactState(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveActNo, java.lang.String state)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="siteName" type="java.lang.String" />
                    <input variable="shipRequestName" type="java.lang.String" />
                    <input variable="receiveActNo" type="java.lang.String" />
                    <input constant="Completed" type="java.lang.String" />
                </invoke>
                <switch name="switch" bounds="267,2744,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="228,2823,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getVariable('Shiprequestdetailtype') = 'ZELF' &#xD;&#xA;or  getVariable('Shiprequestdetailtype') = 'ZERM' " bounds="217,2902,60,36">
                        <source idx="0" terminal="5,A" />
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="681,2902,85,47">
                        <source idx="0" terminal="5,A" />
                        <invoke name="MaterialPackingServiceImpl insertStockOutInfo" type="invokebean" description="public void insertStockOutInfo(java.util.List materialUnDoinfoList, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String receiveActNo)" bounds="653,2979,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="insertStockOutInfo" operationDesc="public void insertStockOutInfo(java.util.List materialUnDoinfoList, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String receiveActNo)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="materialDoinfoList" type="java.util.List" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="receiveActNo" type="java.lang.String" />
                        </invoke>
                        <switch name="switch" bounds="707,3114,33,33" type="switch">
                            <source idx="0" terminal="5,A" />
                            <switchstart name="switchstart" type="switchstart" bounds="668,3193,110,49">
                                <source idx="0" terminal="5,A" />
                            </switchstart>
                            <case name="case" type="case" condition="getVariable('Deliverytype') = 'Reserve'&#xA; and getVariable('reasonCodeType') ='301' &#xA; and (getVariable('reasonCode') ='0001' &#xA; or getVariable('reasonCode') ='0007'&#xA; or getVariable('reasonCode') ='0008'&#xA; or getVariable('reasonCode') ='0009'&#xA; or getVariable('reasonCode') ='0010'&#xA; or getVariable('reasonCode') ='0012')" bounds="497,3272,66,64">
                                <source idx="0" terminal="5,A" />
                                <switch name="switch" bounds="514,3366,33,33" type="switch">
                                    <source idx="0" terminal="5,A" />
                                    <switchstart name="switchstart" type="switchstart" bounds="475,3445,110,49">
                                        <source idx="0" terminal="5,A" />
                                    </switchstart>
                                    <case name="case" type="case" condition="getVariable('siteName') = 'B2' &#xA; or &#xA;getVariable('siteName') = 'B7' " bounds="288,3524,63,37">
                                        <source idx="0" terminal="5,A" />
                                        <invoke name="MaterialPackingServiceImpl moveDB2BD" type="invokebean" description="public static java.lang.String moveDB2BD(java.lang.String toSiteName, java.lang.String DBLink, java.lang.String shipRequestName, com.cim.idm.framework.data.EventInfo eventinfo)" bounds="249,3591,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="moveDB2BD" operationDesc="public static java.lang.String moveDB2BD(java.lang.String toSiteName, java.lang.String DBLink, java.lang.String shipRequestName, com.cim.idm.framework.data.EventInfo eventinfo)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input constant="B7" type="java.lang.String" />
                                            <input constant="@B2TOB7" type="java.lang.String" />
                                            <input variable="shipRequestName" type="java.lang.String" />
                                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                        </invoke>
                                        <invoke name="MaterialPackingServiceImpl UpdateStockOutInfo" type="invokebean" description="public void UpdateStockOutInfo(java.lang.String shipRequestName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName)" bounds="249,3726,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="UpdateStockOutInfo" operationDesc="public void UpdateStockOutInfo(java.lang.String shipRequestName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="shipRequestName" type="java.lang.String" />
                                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                            <input variable="siteName" type="java.lang.String" />
                                        </invoke>
                                    </case>
                                    <otherwise name="otherwise" type="otherwise" bounds="711,3524,63,44">
                                        <source idx="0" terminal="5,A" />
                                        <invoke name="MaterialPackingServiceImpl SaveDumpStockInList2" type="invokebean" description="public void SaveDumpStockInList2(java.lang.String sitename, java.lang.String receiveActNO, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String shipRequestName)" bounds="672,3598,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="SaveDumpStockInList2" operationDesc="public void SaveDumpStockInList2(java.lang.String sitename, java.lang.String receiveActNO, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String shipRequestName)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="siteName" type="java.lang.String" />
                                            <input variable="receiveActNo" type="java.lang.String" />
                                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                            <input variable="shipRequestName" type="java.lang.String" />
                                        </invoke>
                                        <invoke name="MaterialPackingServiceImpl UpdateStockOutInfo" type="invokebean" description="public void UpdateStockOutInfo(java.lang.String shipRequestName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName)" bounds="672,3733,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="UpdateStockOutInfo" operationDesc="public void UpdateStockOutInfo(java.lang.String shipRequestName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName)" ignoreThrow="false" fork="false">
                                            <source idx="0" terminal="5,A" />
                                            <input variable="shipRequestName" type="java.lang.String" />
                                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                            <input variable="siteName" type="java.lang.String" />
                                        </invoke>
                                    </otherwise>
                                    <switchend name="switchend" type="switchend" bounds="475,3858,110,49">
                                        <source idx="0" terminal="5,A" />
                                        <source idx="1" terminal="5,A" />
                                    </switchend>
                                </switch>
                            </case>
                            <otherwise name="otherwise" type="otherwise" bounds="875,3272,85,79">
                                <source idx="0" terminal="5,A" />
                            </otherwise>
                            <switchend name="switchend" type="switchend" bounds="475,3927,110,49">
                                <source idx="0" terminal="5,A" />
                                <source idx="1" terminal="5,A">
                                    <BendPoint FirstRelative="1,575" SecondRelative="574,-2" weight="0.5" />
                                </source>
                            </switchend>
                        </switch>
                    </otherwise>
                    <switchend name="switchend" type="switchend" bounds="228,3996,110,49">
                        <source idx="0" terminal="5,A" />
                        <source idx="1" terminal="5,A" />
                    </switchend>
                </switch>
                <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="213,4075,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" bounds="213,4210,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="replysubjectname" type="java.lang.String" />
                    <input variable="PreShipRequestDetailStockOut" type="org.jdom.Document" />
                    <input variable="returnElement" type="org.jdom.Element" />
                    <input constant="OICSender" type="java.lang.String" />
                </invoke>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="1070,2277,86,55">
                <source idx="0" terminal="5,A" />
                <terminate name="terminate" bounds="1043,2362,141,65">
                    <source idx="0" terminal="5,A" />
                </terminate>
            </otherwise>
        </switch>
    </sequence>
</process>

