<?xml version="1.0" encoding="euc-kr"?>
<process xmlns:bean="http://bean.boe.com/" xmlns:bpel="http://bpel.boe.com/" targetNamespace="http://bpel.boe.com/bpelj/" name="OEMStockOut.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="BSShipRequestServiceUtil" partnerLinkType="bean:BSShipRequestServiceUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="BSShipRequestServiceImpl" partnerLinkType="bean:BSShipRequestServiceImpl" />
        <partnerLink name="PackingGroupServiceUtil" partnerLinkType="bean:PackingGroupServiceUtil" />
        <partnerLink name="PackingGroupServiceImpl" partnerLinkType="bean:PackingGroupServiceImpl" />
        <partnerLink name="StorageServiceImpl" partnerLinkType="bean:StorageServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
        <partnerLink name="ERPInterfaceServiceImpl" partnerLinkType="bean:ERPInterfaceServiceImpl" />
    </partnerLinks>
    <variables>
        <variable name="0" messageType="long"></variable>
        <variable name="boe_oem_pallet" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BOE_OEM_Pallet"></variable>
        <variable name="boxInfo" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
        <variable name="boxList" messageType="java.util.List"></variable>
        <variable name="boxName" messageType="java.lang.String"></variable>
        <variable name="boxNameList" messageType="java.util.List"></variable>
        <variable name="boxUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
        <variable name="completeTime" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/COMPLETETIME')" />
        <variable name="customException" messageType="com.cim.idm.fgwmsextend.generic.errorHandler.CustomException"></variable>
        <variable name="deliveryType" messageType="java.lang.String"></variable>
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('message', '/Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('message', '/Message/Header/EVENTUSER')" />
        <variable name="invoiceNo" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/SHIPREQUESTNAME')" />
        <variable name="locationName" messageType="java.lang.String"></variable>
        <variable name="makeShipRequestCompletedInfo" messageType="com.cim.idm.wmspackage.productshiprequest.management.info.MakeCompletedInfo"></variable>
        <variable name="makeStockOutInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo"></variable>
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="oemSiteName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/OEMSITENAME')" />
        <variable name="OEMStockOut" messageType="java.lang.String"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="palletCreateInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.CreateInfo"></variable>
        <variable name="palletdata" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
        <variable name="palletInfo" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
        <variable name="palletKeyList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 20)" />
        <variable name="palletList" messageType="java.util.List"></variable>
        <variable name="palletName" messageType="java.lang.String" expression="getXmlData('message', '/Message/Body/PALLETNAME')" />
        <variable name="palletUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
        <variable name="panelInfo" messageType="com.cim.idm.wmspackage.product.management.data.Product"></variable>
        <variable name="panelList" messageType="java.util.List"></variable>
        <variable name="panelNameList" messageType="java.util.List"></variable>
        <variable name="productUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '/Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="saleType" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/SALETYPE')" />
        <variable name="shipRequest" messageType="com.cim.idm.wmspackage.productshiprequest.management.data.ProductShipRequest"></variable>
        <variable name="shipRequestDetailType" messageType="java.lang.String"></variable>
        <variable name="shipRequestState" messageType="java.lang.String"></variable>
        <variable name="shipRequestType" messageType="java.lang.String"></variable>
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/SITENAME')" />
        <variable name="StockOut" messageType="java.lang.String"></variable>
        <variable name="userColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
    </variables>
    <sequence>
        <receive name="OEMStockOut" bounds="145,30,140,75">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="145,135,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="BSShipRequestServiceUtil getShipRequest" type="invokebean" description="public com.cim.idm.wmspackage.productshiprequest.management.data.ProductShipRequest getShipRequest(java.lang.String invoiceNo, java.lang.String siteName)" bounds="145,270,140,102" partnerLink="BSShipRequestServiceUtil" partnerLinkType="BSShipRequestServiceUtil" operation="getShipRequest" operationDesc="public com.cim.idm.wmspackage.productshiprequest.management.data.ProductShipRequest getShipRequest(java.lang.String invoiceNo, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoiceNo" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <output variable="shipRequest" />
        </invoke>
        <expression name="expression" type="expression" bounds="145,402,141,65">
            <source idx="0" terminal="5,A" />
            <function value="setVariable('shipRequestState',getField('shipRequest','shipRequestState'))" />
        </expression>
        <switch name="switch" bounds="199,497,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="160,576,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="getVariable('shipRequestState')!='Confirmed'" bounds="124,655,32,49">
                <source idx="0" terminal="5,A" />
                <throw name="throw" bounds="70,734,140,62" faultName="CatchAll" variable="customException">
                    <source idx="0" terminal="5,A" />
                    <input constant="SHIPREQUEST-1000" type="java.lang.String" />
                    <input variable="shipRequestState" type="java.lang.Object" />
                </throw>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="261,655,61,49">
                <source idx="0" terminal="5,A" />
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="283,816,110,49">
                <source idx="0" terminal="5,A" />
                <source idx="1" terminal="5,A" />
            </switchend>
        </switch>
        <expression name="expression" type="expression" bounds="268,895,141,65">
            <source idx="0" terminal="5,A" />
            <function value="setVariable('shipRequestType',getField('shipRequest','shipRequestType'))" />
        </expression>
        <switch name="switch" bounds="322,990,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="283,1069,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="getVariable('shipRequestType')='S-PANEL OUT'&#xD;&#xA; or getVariable('shipRequestType') = 'Q-PANEL OUT'&#xD;&#xA; or getVariable('shipRequestType') = 'CELLSLIM'&#xD;&#xA; or getVariable('shipRequestType') = 'OEMTOWF'" bounds="199,1148,32,49">
                <source idx="0" terminal="5,A" />
                <expression name="expression" type="expression" bounds="145,1227,141,65">
                    <source idx="0" terminal="5,A" />
                    <function value="addMap(getVariable('palletUserColumns'),'locationName','')" />
                    <function value="addMap(getVariable('boxUserColumns'),'locationName','')" />
                    <function value="addMap(getVariable('boxUserColumns'),'stockOutTo',getXmlData('message','/Message/Body/OEMSITENAME'))" />
                    <function value="addMap(getVariable('palletUserColumns'),'stockOutTo',getXmlData('message','/Message/Body/OEMSITENAME'))" />
                </expression>
                <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="145,1322,141,105" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input constant="OEMStockOut" 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>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="432,1148,61,49">
                <source idx="0" terminal="5,A" />
                <throw name="throw" bounds="392,1227,140,62" faultName="CatchAll" variable="customException">
                    <source idx="0" terminal="5,A" />
                    <input constant="SHIPREQUEST-1000" type="java.lang.String" />
                    <input variable="shipRequestState" type="java.lang.Object" />
                </throw>
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="440,1447,110,49">
                <source idx="0" terminal="5,A" />
                <source idx="1" terminal="5,A" />
            </switchend>
        </switch>
        <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="387,1526,217,102" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input constant="OEMStockOut" 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>
        <expression name="expression" type="expression" bounds="425,1658,140,62">
            <source idx="0" terminal="5,A" />
            <function value="addMap(getVariable('userColumns'),'completeUser',getVariable('eventUser'))" />
            <function value="addMap(getVariable('userColumns'),'completeTime',getCurrTimeStampSQL())" />
        </expression>
        <invoke name="BSShipRequestServiceUtil makeCompletedInfo" type="invokebean" description="public com.cim.idm.wmspackage.productshiprequest.management.info.MakeCompletedInfo makeCompletedInfo(java.util.Map userColumns)" bounds="396,1750,198,102" partnerLink="BSShipRequestServiceUtil" partnerLinkType="BSShipRequestServiceUtil" operation="makeCompletedInfo" operationDesc="public com.cim.idm.wmspackage.productshiprequest.management.info.MakeCompletedInfo makeCompletedInfo(java.util.Map userColumns)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="userColumns" type="java.util.Map" />
            <output variable="makeShipRequestCompletedInfo" />
        </invoke>
        <invoke name="BSShipRequestServiceImpl makeCompleted" type="invokebean" description="public void makeCompleted(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productshiprequest.management.info.MakeCompletedInfo makeCompletedInfo, java.lang.String siteName)" bounds="349,1882,292,102" partnerLink="BSShipRequestServiceImpl" partnerLinkType="BSShipRequestServiceImpl" operation="makeCompleted" operationDesc="public void makeCompleted(java.lang.String invoiceNo, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productshiprequest.management.info.MakeCompletedInfo makeCompletedInfo, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoiceNo" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="makeShipRequestCompletedInfo" type="com.cim.idm.wmspackage.productshiprequest.management.info.MakeCompletedInfo" />
            <input variable="siteName" type="java.lang.String" />
        </invoke>
        <invoke name="PackingGroupServiceUtil getPalletListFromInvoiceNo" type="invokebean" description="public java.util.List getPalletListFromInvoiceNo(java.lang.String invoiceNo, java.lang.String siteName)" bounds="412,2014,167,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPalletListFromInvoiceNo" operationDesc="public java.util.List getPalletListFromInvoiceNo(java.lang.String invoiceNo, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="invoiceNo" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <output variable="palletList" />
        </invoke>
        <while name="while" bounds="479,2146,32,49" type="2" collection="palletList" element="palletInfo">
            <source idx="0" terminal="5,A" />
            <whilestart name="whilestart" type="whilestart" bounds="440,2225,110,49">
                <source idx="0" terminal="5,A" />
            </whilestart>
            <switch name="switch" bounds="479,2304,33,33" type="switch">
                <source idx="0" terminal="5,A" />
                <switchstart name="switchstart" type="switchstart" bounds="440,2383,110,49">
                    <source idx="0" terminal="5,A" />
                </switchstart>
                <case name="case" type="case" condition="getVariable('shipRequestType')='S-PANEL OUT'&#xD;&#xA; or getVariable('shipRequestType') = 'Q-PANEL OUT'&#xD;&#xA; or getVariable('shipRequestType') = 'OEMTOWF'" bounds="322,2462,32,49">
                    <source idx="0" terminal="5,A" />
                    <invoke name="PackingGroupServiceUtil getBoxListFromPallet" type="invokebean" description="public java.util.List getBoxListFromPallet(java.lang.String siteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking palletID)" bounds="268,2541,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getBoxListFromPallet" operationDesc="public java.util.List getBoxListFromPallet(java.lang.String siteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking palletID)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="siteName" type="java.lang.String" />
                        <input variable="palletInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
                        <output variable="boxList" />
                    </invoke>
                    <while name="while" bounds="318,2673,40,54" type="2" collection="boxList" element="boxInfo">
                        <source idx="0" terminal="5,A" />
                        <whilestart name="whilestart" type="whilestart" bounds="283,2752,110,49">
                            <source idx="0" terminal="5,A" />
                        </whilestart>
                        <invoke name="PackingGroupServiceUtil getPanelListFromBox" type="invokebean" description="public java.util.List getPanelListFromBox(java.lang.String siteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking boxID)" bounds="268,2831,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPanelListFromBox" operationDesc="public java.util.List getPanelListFromBox(java.lang.String siteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking boxID)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="siteName" type="java.lang.String" />
                            <input variable="boxInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
                            <output variable="panelList" />
                        </invoke>
                        <while name="while" bounds="319,2963,39,49" type="2" collection="panelList" element="panelInfo">
                            <source idx="0" terminal="5,A" />
                            <whilestart name="whilestart" type="whilestart" bounds="283,3042,110,49">
                                <source idx="0" terminal="5,A" />
                            </whilestart>
                            <invoke name="PackingGroupServiceImpl InsertPanelToBOE_OEM_PANEL" type="invokebean" description="public void InsertPanelToBOE_OEM_PANEL(java.lang.String oemSiteName, com.cim.idm.wmspackage.product.management.data.Product panelInfo, java.lang.String saleType, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="255,3121,167,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="InsertPanelToBOE_OEM_PANEL" operationDesc="public void InsertPanelToBOE_OEM_PANEL(java.lang.String oemSiteName, com.cim.idm.wmspackage.product.management.data.Product panelInfo, java.lang.String saleType, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
                                <source idx="0" terminal="5,A" />
                                <input variable="oemSiteName" type="java.lang.String" />
                                <input variable="panelInfo" type="com.cim.idm.wmspackage.product.management.data.Product" />
                                <input variable="saleType" type="java.lang.String" />
                                <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            </invoke>
                            <whileend name="whileend" type="whileend" bounds="283,3243,110,49">
                                <source idx="0" terminal="5,A" />
                            </whileend>
                        </while>
                        <invoke name="PackingGroupServiceImpl InsertBoxToBOE_OEM_BOX" type="invokebean" description="public void InsertBoxToBOE_OEM_BOX(java.lang.String oemSiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking boxInfo, long qPanelQty, java.lang.String saleType, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="255,3322,167,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="InsertBoxToBOE_OEM_BOX" operationDesc="public void InsertBoxToBOE_OEM_BOX(java.lang.String oemSiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking boxInfo, long qPanelQty, java.lang.String saleType, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="oemSiteName" type="java.lang.String" />
                            <input variable="boxInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
                            <input constant="0" type="long" />
                            <input variable="saleType" type="java.lang.String" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                        </invoke>
                        <whileend name="whileend" type="whileend" bounds="283,3444,110,49">
                            <source idx="0" terminal="5,A" />
                        </whileend>
                    </while>
                    <invoke name="PackingGroupServiceImpl InsertPalletToBOE_OEM_Pallet" type="invokebean" description="public void InsertPalletToBOE_OEM_Pallet(java.lang.String oemSiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking palletInfo, java.lang.String saleType, long qPanelQty, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="255,3523,167,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="InsertPalletToBOE_OEM_Pallet" operationDesc="public void InsertPalletToBOE_OEM_Pallet(java.lang.String oemSiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking palletInfo, java.lang.String saleType, long qPanelQty, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="oemSiteName" type="java.lang.String" />
                        <input variable="palletInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
                        <input variable="saleType" type="java.lang.String" />
                        <input constant="0" type="long" />
                        <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    </invoke>
                </case>
                <otherwise name="otherwise" type="otherwise" bounds="622,2462,61,49">
                    <source idx="0" terminal="5,A" />
                </otherwise>
                <switchend name="switchend" type="switchend" bounds="613,3645,110,49">
                    <source idx="0" terminal="5,A" />
                    <source idx="1" terminal="5,A" />
                </switchend>
            </switch>
            <expression name="expression" type="expression" bounds="598,3724,141,65">
                <source idx="0" terminal="5,A" />
                <function value="setVariable('locationName',getField(getVariable('palletInfo'),'locationName'))" />
            </expression>
            <invoke name="PackingGroupServiceUtil makeStockOutInfo" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo(java.util.Map palletUserColumns, java.util.Map boxUserColumns, java.util.Map productUserColumns)" bounds="598,3819,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeStockOutInfo" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo(java.util.Map palletUserColumns, java.util.Map boxUserColumns, java.util.Map productUserColumns)" ignoreThrow="false" fork="false">
                <source idx="0" terminal="5,A" />
                <input variable="palletUserColumns" type="java.util.Map" />
                <input variable="boxUserColumns" type="java.util.Map" />
                <input variable="productUserColumns" type="java.util.Map" />
                <output variable="makeStockOutInfo" />
            </invoke>
            <expression name="expression" type="expression" bounds="598,3954,141,65">
                <source idx="0" terminal="5,A" />
                <function value="addListValue('palletKeyList', getField('palletInfo','key'))" />
            </expression>
            <switch name="switch" bounds="652,4049,33,33" type="switch">
                <source idx="0" terminal="5,A" />
                <switchstart name="switchstart" type="switchstart" bounds="613,4128,110,49">
                    <source idx="0" terminal="5,A" />
                </switchstart>
                <case name="case" type="case" condition="getVariable('locationName')!=''" bounds="479,4207,32,49">
                    <source idx="0" terminal="5,A" />
                    <invoke name="StorageServiceImpl modifyLocation" type="invokebean" description="public void modifyLocation(java.lang.String siteName, java.lang.String storageName, java.lang.String resourceState, java.lang.String useState, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="425,4286,141,105" partnerLink="StorageServiceImpl" partnerLinkType="StorageServiceImpl" operation="modifyLocation" operationDesc="public void modifyLocation(java.lang.String siteName, java.lang.String storageName, java.lang.String resourceState, java.lang.String useState, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="siteName" type="java.lang.String" />
                        <input variable="locationName" type="java.lang.String" />
                        <input constant="InService" type="java.lang.String" />
                        <input constant="Empty" type="java.lang.String" />
                        <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    </invoke>
                </case>
                <otherwise name="otherwise" type="otherwise" bounds="812,4207,61,49">
                    <source idx="0" terminal="5,A" />
                    <empty name="empty" bounds="772,4286,141,65">
                        <source idx="0" terminal="5,A" />
                    </empty>
                </otherwise>
                <switchend name="switchend" type="switchend" bounds="613,4411,110,49">
                    <source idx="0" terminal="5,A" />
                    <source idx="1" terminal="5,A" />
                </switchend>
            </switch>
            <whileend name="whileend" type="whileend" bounds="613,4480,110,49">
                <source idx="0" terminal="5,A" />
            </whileend>
        </while>
        <invoke name="PackingGroupServiceImpl makeStockOut" type="invokebean" description="public void makeStockOut(java.lang.String sitename, java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo)" bounds="598,4559,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="makeStockOut" operationDesc="public void makeStockOut(java.lang.String sitename, java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="palletKeyList" type="java.util.List" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="makeStockOutInfo" type="com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="598,4694,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="598,4829,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="replySubjectName" type="java.lang.String" />
            <input variable="message" type="org.jdom.Document" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <invoke name="ERPInterfaceServiceImpl insertBS_ERPINF_LG19_New" type="invokebean" description="public static void insertBS_ERPINF_LG19_New(java.lang.String SiteName, java.lang.String invoiceNo, java.lang.String flag, java.lang.String completeTime)" bounds="598,4964,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="insertBS_ERPINF_LG19_New" operationDesc="public static void insertBS_ERPINF_LG19_New(java.lang.String SiteName, java.lang.String invoiceNo, java.lang.String flag, java.lang.String completeTime)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="invoiceNo" type="java.lang.String" />
            <input constant="G" type="java.lang.String" />
            <input variable="completeTime" type="java.lang.String" />
        </invoke>
    </sequence>
</process>

