<?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="RefundStockIn.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="MaterialPackingStockInImpl" partnerLinkType="bean:MaterialPackingStockInImpl" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="CommonValidation" partnerLinkType="bean:CommonValidation" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="MaterialReceiveRequestServiceImpl" partnerLinkType="bean:MaterialReceiveRequestServiceImpl" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="10001" messageType="java.lang.String"></variable>
        <variable name="ActType" messageType="java.lang.String" expression="getXmlData('RefundStockIn','//Message/Body/DATALIST/MATERIALSHIPREQUESTDETAILFORSI/ACTTYPE')" />
        <variable name="creater" messageType="java.lang.String"></variable>
        <variable name="EN" messageType="java.lang.String"></variable>
        <variable name="erplocation" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Body/DATALIST/MATERIALSHIPREQUESTDETAILFORSI/ERPLOCATION')" />
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Header/EVENTUSER')" />
        <variable name="faild" messageType="java.lang.String"></variable>
        <variable name="GetInspectedList" messageType="java.lang.String"></variable>
        <variable name="materialspec" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Body/MATERIALSPECNAME')" />
        <variable name="materialType" messageType="java.lang.String"></variable>
        <variable name="messageid" messageType="java.lang.String"></variable>
        <variable name="messagename" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Header/MESSAGENAME')" />
        <variable name="mplist" messageType="java.util.List"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="Parts_MWMS_Received" messageType="org.jdom.Document"></variable>
        <variable name="quantity" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Body/REQUESTQUANTITY')" />
        <variable name="reasonCodeType" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Body/DATALIST/MATERIALSHIPREQUESTDETAILFORSI/SHIPREQUESTDETAILTYPE')" />
        <variable name="receiveActNo" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Body/DATALIST/MATERIALSHIPREQUESTDETAILFORSI/RECEIVEACTNO')" />
        <variable name="receiveRequestName" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Body/DATALIST/MATERIALSHIPREQUESTDETAILFORSI/RECEIVEREQUESTNAME')" />
        <variable name="receiveRequestType" messageType="java.lang.String"></variable>
        <variable name="ReceiveReturnMaterialReport" messageType="java.lang.String"></variable>
        <variable name="RefundStockIn" messageType="org.jdom.Document"></variable>
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="saveresult" messageType="boolean"></variable>
        <variable name="shipRequestName" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Body/DATALIST/MATERIALSHIPREQUESTDETAILFORSI/RECEIVEREQUESTNAME')" />
        <variable name="ShipToMDLMaterialReport" messageType="java.lang.String"></variable>
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('RefundStockIn','//Message/Header/SITENAME')" />
        <variable name="stockintime" messageType="java.lang.String" expression="getXmlData('RefundStockIn','//Message/Body/RECEIVETIME')" />
        <variable name="tqmslist" messageType="java.util.List"></variable>
        <variable name="TRANSACTIONID" messageType="java.lang.String" expression="getXmlData('RefundStockIn', '//Message/Header/TRANSACTIONID')" />
        <variable name="undolist" messageType="java.util.List"></variable>
        <variable name="zfLotno" messageType="java.lang.String" expression="getXmlData('RefundStockIn','//Message/Body/DATALIST/MATERIALSHIPREQUESTDETAILFORSI/ZF_LOTNO')" />
    </variables>
    <sequence>
        <receive name="RefundStockIn" bounds="1359,30,149,76">
            <input variable="RefundStockIn" type="org.jdom.Document" />
        </receive>
        <invoke name="MaterialPackingStockInImpl checkReceiveactState" type="invokebean" description="public void checkReceiveactState(java.lang.String receiveActNo)" bounds="1363,136,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="checkReceiveactState" operationDesc="public void checkReceiveactState(java.lang.String receiveActNo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="receiveActNo" type="java.lang.String" />
        </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="1363,271,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 constant="" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="MaterialPackingStockInImpl GetRefundStockInList" type="invokebean" description="public java.util.List GetRefundStockInList(org.jdom.Document document)" bounds="1363,406,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="GetRefundStockInList" operationDesc="public java.util.List GetRefundStockInList(org.jdom.Document document)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="RefundStockIn" type="org.jdom.Document" />
            <output variable="mplist" />
        </invoke>
        <invoke name="CommonValidation print" type="invokebean" description="public void print(java.lang.Object obj)" bounds="1363,541,141,105" partnerLink="CommonValidation" partnerLinkType="CommonValidation" operation="print" operationDesc="public void print(java.lang.Object obj)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="ActType" type="java.lang.Object" />
        </invoke>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="1363,676,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="MaterialPackingStockInImpl GetMessageID" type="invokebean" description="public java.lang.String GetMessageID(java.lang.String sitename)" bounds="1363,811,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" 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="1363,946,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <switch name="switch" bounds="1417,1081,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="1378,1160,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="getVariable('ActType') = 'Reserve'&#xA; or &#xA;getVariable('ActType') = 'Refund'" bounds="305,1239,60,48">
                <source idx="0" terminal="5,A" />
                <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="265,1317,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <switch name="switch" bounds="319,1452,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="280,1531,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getVariable('ActType') = 'Refund'&#xD;&#xA;and&#xD;&#xA;(&#xD;&#xA;getVariable('reasonCodeType') = 'ZDRM'&#xD;&#xA;or&#xD;&#xA;getVariable('reasonCodeType') = 'ZDRE'&#xD;&#xA;)" bounds="111,1610,67,35">
                        <source idx="0" terminal="5,A" />
                        <invoke name="MaterialReceiveRequestServiceImpl selectMaterialReceiveRequestInfo" type="invokebean" description="public java.lang.String selectMaterialReceiveRequestInfo(java.lang.String siteName, java.lang.String receiveRequestName)" bounds="71,1665,141,105" partnerLink="MaterialReceiveRequestServiceImpl" partnerLinkType="MaterialReceiveRequestServiceImpl" operation="selectMaterialReceiveRequestInfo" operationDesc="public java.lang.String selectMaterialReceiveRequestInfo(java.lang.String siteName, java.lang.String receiveRequestName)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="siteName" type="java.lang.String" />
                            <input variable="shipRequestName" type="java.lang.String" />
                        </invoke>
                        <switch name="switch" bounds="-175,1775,33,33" type="switch">
                            <source idx="0" terminal="5,A" />
                            <switchstart name="switchstart" type="switchstart" bounds="-223,1864,110,49">
                                <source idx="0" terminal="5,A" />
                            </switchstart>
                            <case name="case" type="case" condition="getVariable('receiveRequestType') = 'ZTB1'&#xD;&#xA; or getVariable('receiveRequestType') = 'ZTB4'" bounds="-200,1966,60,47">
                                <source idx="0" terminal="5,A" />
                                <invoke name="MaterialPackingStockInImpl generateDeliveryRefundStockInMessageForERPAccountFreeze" type="invokebean" description="public java.util.List generateDeliveryRefundStockInMessageForERPAccountFreeze(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String zfLotno)" bounds="-244,2052,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="generateDeliveryRefundStockInMessageForERPAccountFreeze" operationDesc="public java.util.List generateDeliveryRefundStockInMessageForERPAccountFreeze(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String zfLotno)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="mplist" type="java.util.List" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <input variable="messageid" type="java.lang.String" />
                                    <input variable="zfLotno" type="java.lang.String" />
                                    <output variable="undolist" />
                                </invoke>
                            </case>
                            <otherwise name="otherwise" type="otherwise" bounds="-44,1964,88,47">
                                <source idx="0" terminal="5,A" />
                                <invoke name="MaterialPackingStockInImpl generateDeliveryRefundStockInMessageForERPAccount" type="invokebean" description="public java.util.List generateDeliveryRefundStockInMessageForERPAccountFreeze(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String zfLotno)" bounds="-77,2050,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="generateDeliveryRefundStockInMessageForERPAccount" operationDesc="public java.util.List generateDeliveryRefundStockInMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="mplist" type="java.util.List" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <input variable="messageid" type="java.lang.String" />
                                    <output variable="undolist" />
                                </invoke>
                            </otherwise>
                            <switchend name="switchend" type="switchend" bounds="-232,2229,110,49">
                                <source idx="0" terminal="5,A" />
                                <source idx="1" terminal="5,A" />
                            </switchend>
                        </switch>
                    </case>
                    <case name="case" type="case" condition="getVariable('ActType') = 'Refund'&#xD;&#xA;and&#xD;&#xA;(&#xD;&#xA;getVariable('reasonCodeType') = 'ZERM'&#xD;&#xA;or&#xD;&#xA;getVariable('reasonCodeType') = 'ZERE'&#xD;&#xA;)" bounds="305,1610,60,30">
                        <source idx="0" terminal="5,A" />
                        <invoke name="MaterialReceiveRequestServiceImpl selectMaterialReceiveRequestInfo" type="invokebean" description="public java.lang.String selectMaterialReceiveRequestInfo(java.lang.String siteName, java.lang.String receiveRequestName)" bounds="264,1666,141,105" partnerLink="MaterialReceiveRequestServiceImpl" partnerLinkType="MaterialReceiveRequestServiceImpl" operation="selectMaterialReceiveRequestInfo" operationDesc="public java.lang.String selectMaterialReceiveRequestInfo(java.lang.String siteName, java.lang.String receiveRequestName)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="siteName" type="java.lang.String" />
                            <input variable="shipRequestName" type="java.lang.String" />
                        </invoke>
                        <switch name="switch" bounds="190,1767,33,33" type="switch">
                            <source idx="0" terminal="5,A" />
                            <switchstart name="switchstart" type="switchstart" bounds="143,1816,110,49">
                                <source idx="0" terminal="5,A" />
                            </switchstart>
                            <case name="case" type="case" condition="getVariable('receiveRequestType') = 'ZTB1'&#xD;&#xA; or getVariable('receiveRequestType') = 'ZTB4'" bounds="163,1880,60,36">
                                <source idx="0" terminal="5,A" />
                                <invoke name="MaterialPackingStockInImpl DeliveryEnFreeze" type="invokebean" description="public java.util.List DeliveryEnFreeze(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String zfLotno)" bounds="128,1932,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="DeliveryEnFreeze" operationDesc="public java.util.List DeliveryEnFreeze(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String zfLotno)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="mplist" type="java.util.List" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <input variable="messageid" type="java.lang.String" />
                                    <input variable="zfLotno" type="java.lang.String" />
                                    <output variable="undolist" />
                                </invoke>
                            </case>
                            <otherwise name="otherwise" type="otherwise" bounds="318,1889,88,28">
                                <source idx="0" terminal="5,A" />
                                <invoke name="MaterialPackingStockInImpl DeliveryEn" type="invokebean" description="public java.util.List DeliveryEn(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" bounds="302,1946,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="DeliveryEn" operationDesc="public java.util.List DeliveryEn(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="mplist" type="java.util.List" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <input variable="messageid" type="java.lang.String" />
                                    <output variable="undolist" />
                                </invoke>
                            </otherwise>
                            <switchend name="switchend" type="switchend" bounds="128,2055,110,49">
                                <source idx="0" terminal="5,A" />
                                <source idx="1" terminal="5,A" />
                            </switchend>
                        </switch>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="496,1610,88,62">
                        <source idx="0" terminal="5,A" />
                        <invoke name="MaterialPackingStockInImpl generateRefundStockInMessageForERPAccountNew" type="invokebean" description="public java.util.List generateRefundStockInMessageForERPAccountNew(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String reasonCodeType)" bounds="470,1702,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="generateRefundStockInMessageForERPAccountNew" operationDesc="public java.util.List generateRefundStockInMessageForERPAccountNew(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String reasonCodeType)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="mplist" />
                            <input variable="eventInfo" />
                            <input variable="messageid" />
                            <input variable="reasonCodeType" />
                            <input variable="receiveActNo" />
                            <input variable="shipRequestName" />
                            <output variable="undolist" />
                        </invoke>
                    </otherwise>
                    <switchend name="switchend" type="switchend" bounds="478,2150,110,49">
                        <source idx="0" terminal="5,A" />
                        <source idx="1" terminal="5,A" />
                        <source idx="2" terminal="5,A" />
                    </switchend>
                </switch>
                <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="459,2291,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <switch name="switch" bounds="510,2427,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="474,2507,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getListSize('undolist') &gt; 0" bounds="370,2609,60,51">
                        <source idx="0" terminal="5,A" />
                        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="331,2696,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                        </invoke>
                        <switch name="switch" bounds="387,2874,33,33" type="switch">
                            <source idx="0" terminal="5,A" />
                            <switchstart name="switchstart" type="switchstart" bounds="349,2950,110,49">
                                <source idx="0" terminal="5,A" />
                            </switchstart>
                            <case name="case" type="case" condition="getVariable('receiveRequestType') = 'ZTB1'&#xD;&#xA; or getVariable('receiveRequestType') = 'ZTB4'" bounds="311,3019,60,52">
                                <source idx="0" terminal="5,A" />
                                <invoke name="MaterialPackingStockInImpl SaveRefundStockInListForERPAccountStockState" type="invokebean" description="public java.util.List SaveRefundStockInListForERPAccountStockState(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" bounds="265,3157,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="SaveRefundStockInListForERPAccountStockState" operationDesc="public java.util.List SaveRefundStockInListForERPAccountStockState(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="mplist" type="java.util.List" />
                                    <input variable="undolist" type="java.util.List" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <input variable="messageid" type="java.lang.String" />
                                    <output variable="tqmslist" />
                                </invoke>
                            </case>
                            <otherwise name="otherwise" type="otherwise" bounds="444,3019,88,47">
                                <source idx="0" terminal="5,A" />
                                <invoke name="MaterialPackingStockInImpl SaveRefundStockInListForERPAccount" type="invokebean" description="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" bounds="461,3113,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="SaveRefundStockInListForERPAccount" operationDesc="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="mplist" type="java.util.List" />
                                    <input variable="undolist" type="java.util.List" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <input variable="messageid" type="java.lang.String" />
                                    <output variable="tqmslist" />
                                </invoke>
                            </otherwise>
                            <switchend name="switchend" type="switchend" bounds="376,3350,110,49">
                                <source idx="0" terminal="5,A" />
                                <source idx="1" terminal="5,A" />
                            </switchend>
                        </switch>
                        <invoke name="MaterialPackingServiceImpl getMaterialSpecaByMaterialTypeIfPMS" type="invokebean" description="public java.lang.String getMaterialSpecaByMaterialTypeIfPMS(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveActno)" bounds="702,3041,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="getMaterialSpecaByMaterialTypeIfPMS" operationDesc="public java.lang.String getMaterialSpecaByMaterialTypeIfPMS(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, 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="receiveActNo" type="java.lang.String" />
                            <output variable="materialType" />
                        </invoke>
                        <switch name="switch" bounds="755,3180,33,33" type="switch">
                            <source idx="0" terminal="5,A" />
                            <switchstart name="switchstart" type="switchstart" bounds="720,3252,110,49">
                                <source idx="0" terminal="5,A" />
                            </switchstart>
                            <case name="case" type="case" condition="getVariable('materialType') = 'ERSA'" bounds="660,3374,60,59">
                                <source idx="0" terminal="5,A" />
                                <invoke name="MaterialPackingServiceImpl PartsPMSReceived" type="invokebean" description="public org.jdom.Document PartsPMSReceived(java.util.List mplist, java.lang.String siteName, java.lang.String shiprequestName, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="621,3493,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="PartsPMSReceived" operationDesc="public org.jdom.Document PartsPMSReceived(java.util.List mplist, java.lang.String siteName, java.lang.String shiprequestName, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="mplist" type="java.util.List" />
                                    <input variable="siteName" type="java.lang.String" />
                                    <input variable="shipRequestName" type="java.lang.String" />
                                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                                    <output variable="Parts_MWMS_Received" />
                                </invoke>
                                <invoke name="ESBService sendByMesSenderPMS" type="invokebean" description="public static void sendByMesSenderPMS(org.jdom.Document arg1, java.lang.String arg2, java.util.List arg3)" bounds="623,3657,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendByMesSenderPMS" operationDesc="public static void sendByMesSenderPMS(org.jdom.Document arg1, java.lang.String arg2, java.util.List arg3)" ignoreThrow="false" fork="false">
                                    <source idx="0" terminal="5,A" />
                                    <input variable="Parts_MWMS_Received" type="org.jdom.Document" />
                                    <input constant="PMSSender" type="java.lang.String" />
                                    <input variable="mplist" type="java.util.List" />
                                </invoke>
                            </case>
                            <otherwise name="otherwise" type="otherwise" bounds="933,3384,88,52">
                                <source idx="0" terminal="5,A" />
                            </otherwise>
                            <switchend name="switchend" type="switchend" bounds="763,3811,110,49">
                                <source idx="0" terminal="5,A" />
                                <source idx="1" terminal="5,A" />
                            </switchend>
                        </switch>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="604,2608,88,44">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="581,2687,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="RefundStockIn" type="org.jdom.Document" />
                            <input constant="OICSender" type="java.lang.String" />
                        </invoke>
                        <terminate name="terminate" bounds="581,2829,141,65">
                            <source idx="0" terminal="5,A" />
                        </terminate>
                    </otherwise>
                </switch>
            </case>
            <case name="case" type="case" condition="getVariable('ActType') = 'Manual'&#xA; or &#xA;getVariable('ActType')='MES'&#xA;or&#xA;getVariable('ActType') = 'POManual'&#xA;or&#xA;getVariable('ActType') = 'ReserveManual'&#xA;or&#xA;getVariable('ActType') = 'NGManual'" bounds="1008,1239,60,50">
                <source idx="0" terminal="5,A" />
                <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="968,1319,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="MaterialPackingStockInImpl generateManualStockInMessageForERPAccountBadt" type="invokebean" description="public java.util.List generateManualStockInMessageForERPAccountBadt(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String siteName, java.lang.String shipRequestName)" bounds="968,1454,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="generateManualStockInMessageForERPAccountBadt" operationDesc="public java.util.List generateManualStockInMessageForERPAccountBadt(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid, java.lang.String siteName, java.lang.String shipRequestName)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="mplist" type="java.util.List" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="messageid" type="java.lang.String" />
                    <input variable="siteName" type="java.lang.String" />
                    <input variable="shipRequestName" type="java.lang.String" />
                    <output variable="undolist" />
                </invoke>
                <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="968,1589,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <switch name="switch" bounds="1022,1724,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="983,1803,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getListSize('undolist') &gt; 0" bounds="907,1882,59,61">
                        <source idx="0" terminal="5,A" />
                        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="866,1973,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="MaterialPackingStockInImpl SaveRefundStockInListForERPAccount" type="invokebean" description="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" bounds="866,2108,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="SaveRefundStockInListForERPAccount" operationDesc="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="mplist" type="java.util.List" />
                            <input variable="undolist" type="java.util.List" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="messageid" type="java.lang.String" />
                            <output variable="tqmslist" />
                        </invoke>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="1097,1882,87,54">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="1070,1966,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="RefundStockIn" type="org.jdom.Document" />
                            <input constant="OICSender" type="java.lang.String" />
                        </invoke>
                        <terminate name="terminate" bounds="1070,2101,141,65">
                            <source idx="0" terminal="5,A" />
                        </terminate>
                    </otherwise>
                </switch>
            </case>
            <case name="case" type="case" condition="getVariable('ActType') = 'BMDTOEM'&#xA; or &#xA;getVariable('ActType')='ERPReserve'&#xD;&#xA;or&#xA;getVariable('ActType') = 'B5OEM'" bounds="1403,1239,60,57">
                <source idx="0" terminal="5,A" />
                <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="1363,1326,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="MaterialPackingStockInImpl generateBMDTOEMStockInMessageForERPAccount" type="invokebean" description="public java.util.List generateBMDTOEMStockInMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" bounds="1363,1461,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="generateBMDTOEMStockInMessageForERPAccount" operationDesc="public java.util.List generateBMDTOEMStockInMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="mplist" type="java.util.List" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="messageid" type="java.lang.String" />
                    <output variable="undolist" />
                </invoke>
                <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="1363,1596,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <switch name="switch" bounds="1417,1731,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="1378,1810,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getListSize('undolist') &gt; 0" bounds="1302,1889,59,61">
                        <source idx="0" terminal="5,A" />
                        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="1261,1980,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="MaterialPackingStockInImpl SaveRefundStockInListForERPAccount" type="invokebean" description="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" bounds="1261,2115,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="SaveRefundStockInListForERPAccount" operationDesc="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="mplist" type="java.util.List" />
                            <input variable="undolist" type="java.util.List" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="messageid" type="java.lang.String" />
                            <output variable="tqmslist" />
                        </invoke>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="1492,1889,87,54">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="1465,1973,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="RefundStockIn" type="org.jdom.Document" />
                            <input constant="OICSender" type="java.lang.String" />
                        </invoke>
                        <terminate name="terminate" bounds="1465,2108,141,65">
                            <source idx="0" terminal="5,A" />
                        </terminate>
                    </otherwise>
                </switch>
            </case>
            <case name="case" type="case" condition="getVariable('ActType') = 'WO'" bounds="1798,1239,60,49">
                <source idx="0" terminal="5,A" />
                <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="1758,1318,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="MaterialPackingStockInImpl generateWorkOrderStockInMessageForERPAccount" type="invokebean" description="public java.util.List generateWorkOrderStockInMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" bounds="1758,1453,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="generateWorkOrderStockInMessageForERPAccount" operationDesc="public java.util.List generateWorkOrderStockInMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="mplist" type="java.util.List" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="messageid" type="java.lang.String" />
                    <output variable="undolist" />
                </invoke>
                <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="1758,1588,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <switch name="switch" bounds="1812,1723,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="1773,1802,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getListSize('undolist') &gt; 0" bounds="1697,1881,59,61">
                        <source idx="0" terminal="5,A" />
                        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="1656,1972,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="MaterialPackingStockInImpl SaveRefundStockInListForERPAccount" type="invokebean" description="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" bounds="1656,2107,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="SaveRefundStockInListForERPAccount" operationDesc="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="mplist" type="java.util.List" />
                            <input variable="undolist" type="java.util.List" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="messageid" type="java.lang.String" />
                            <output variable="tqmslist" />
                        </invoke>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="1887,1881,87,54">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="1860,1965,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="RefundStockIn" type="org.jdom.Document" />
                            <input constant="OICSender" type="java.lang.String" />
                        </invoke>
                        <terminate name="terminate" bounds="1860,2100,141,65">
                            <source idx="0" terminal="5,A" />
                        </terminate>
                    </otherwise>
                </switch>
            </case>
            <case name="case" type="case" condition="getVariable('ActType') = 'POOEM'" bounds="2193,1239,60,51">
                <source idx="0" terminal="5,A" />
                <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="2153,1320,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="MaterialPackingStockInImpl gerneratePOTOOEMMessageForERPAccount" type="invokebean" description="public java.util.List gerneratePOTOOEMMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" bounds="2153,1455,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="gerneratePOTOOEMMessageForERPAccount" operationDesc="public java.util.List gerneratePOTOOEMMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="mplist" type="java.util.List" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="messageid" type="java.lang.String" />
                    <output variable="undolist" />
                </invoke>
                <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="2153,1590,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <switch name="switch" bounds="2207,1725,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="2168,1804,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getListSize('undolist') &gt; 0" bounds="2092,1883,59,61">
                        <source idx="0" terminal="5,A" />
                        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="2051,1974,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="MaterialPackingStockInImpl SaveRefundStockInListForERPAccount" type="invokebean" description="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" bounds="2051,2109,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="SaveRefundStockInListForERPAccount" operationDesc="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="mplist" type="java.util.List" />
                            <input variable="undolist" type="java.util.List" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="messageid" type="java.lang.String" />
                            <output variable="tqmslist" />
                        </invoke>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="2282,1883,87,54">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="2255,1967,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="RefundStockIn" type="org.jdom.Document" />
                            <input constant="OICSender" type="java.lang.String" />
                        </invoke>
                        <terminate name="terminate" bounds="2255,2102,141,65">
                            <source idx="0" terminal="5,A" />
                        </terminate>
                    </otherwise>
                </switch>
            </case>
            <case name="case" type="case" condition="getVariable('ActType') = 'DNOEMNG'" bounds="2437,1235,124,52">
                <source idx="0" terminal="5,A" />
                <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="2421,1324,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="MaterialPackingStockInImpl gernerateDNOEMNGMessageForERPAccount" type="invokebean" description="public java.util.List gernerateDNOEMNGMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" bounds="2419,1460,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="gernerateDNOEMNGMessageForERPAccount" operationDesc="public java.util.List gernerateDNOEMNGMessageForERPAccount(java.util.List mplist, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String messageid)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="mplist" type="java.util.List" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="messageid" type="java.lang.String" />
                    <output variable="undolist" />
                </invoke>
                <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="2424,1592,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                </invoke>
                <switch name="switch" bounds="2563,1725,33,33" type="switch">
                    <source idx="0" terminal="5,A" />
                    <switchstart name="switchstart" type="switchstart" bounds="2537,1800,110,49">
                        <source idx="0" terminal="5,A" />
                    </switchstart>
                    <case name="case" type="case" condition="getListSize('undolist') &gt; 0" bounds="2483,1896,59,61">
                        <source idx="0" terminal="5,A" />
                        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="2442,1987,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="MaterialPackingStockInImpl SaveRefundStockInListForERPAccount" type="invokebean" description="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" bounds="2444,2172,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="SaveRefundStockInListForERPAccount" operationDesc="public java.util.List SaveRefundStockInListForERPAccount(java.util.List msilist, java.util.List undolist, com.cim.idm.framework.data.EventInfo eventinfo, java.lang.String messageID)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="mplist" type="java.util.List" />
                            <input variable="undolist" type="java.util.List" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <input variable="messageid" type="java.lang.String" />
                            <output variable="tqmslist" />
                        </invoke>
                    </case>
                    <otherwise name="otherwise" type="otherwise" bounds="2673,1896,87,54">
                        <source idx="0" terminal="5,A" />
                        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="2646,1980,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="RefundStockIn" type="org.jdom.Document" />
                            <input constant="OICSender" type="java.lang.String" />
                        </invoke>
                        <terminate name="terminate" bounds="2626,2177,141,65">
                            <source idx="0" terminal="5,A" />
                        </terminate>
                    </otherwise>
                </switch>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="2871,1229,88,51">
                <source idx="0" terminal="5,A" />
                <invoke name="MaterialPackingStockInImpl GetMessageID" type="invokebean" description="public java.lang.String GetMessageID(java.lang.String sitename)" bounds="2853,1298,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" 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" />
                    <input variable="ActType" type="java.lang.String" />
                    <output variable="messageid" />
                </invoke>
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="2666,2555,110,49">
                <source idx="0" terminal="5,A" />
                <source idx="1" terminal="5,A" />
                <source idx="2" terminal="5,A" />
                <source idx="3" terminal="5,A" />
                <source idx="4" terminal="5,A" />
                <source idx="5" terminal="5,A" />
                <source idx="6" terminal="5,A" />
            </switchend>
        </switch>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="2651,2634,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="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="2651,2769,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="RefundStockIn" type="org.jdom.Document" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
    </sequence>
</process>

