<?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="StockInPalletByPDA.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="PackingGroupServiceUtil" partnerLinkType="bean:PackingGroupServiceUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="ProductServiceUtil" partnerLinkType="bean:ProductServiceUtil" />
        <partnerLink name="ProductServiceImpl" partnerLinkType="bean:ProductServiceImpl" />
        <partnerLink name="PackingGroupServiceImpl" partnerLinkType="bean:PackingGroupServiceImpl" />
        <partnerLink name="StorageServiceUtil" partnerLinkType="bean:StorageServiceUtil" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
        <partnerLink name="XmlUtil" partnerLinkType="bean:XmlUtil" />
        <partnerLink name="ERPInterfaceServiceImplForFG" partnerLinkType="bean:ERPInterfaceServiceImplForFG" />
    </partnerLinks>
    <variables>
        <variable name="body" messageType="org.jdom.Element"></variable>
        <variable name="boxCreateInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.CreateInfo"></variable>
        <variable name="boxCreateInfoList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 200)" />
        <variable name="boxInfo" messageType="com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup"></variable>
        <variable name="boxName" messageType="java.lang.String"></variable>
        <variable name="boxNameList" messageType="java.util.List"></variable>
        <variable name="bs_modBox" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup"></variable>
        <variable name="bs_modboxkey" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroupKey"></variable>
        <variable name="bs_modboxkeyList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 20)" />
        <variable name="bs_modpallet" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup"></variable>
        <variable name="bs_modProduct" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProduct"></variable>
        <variable name="bs_modproductkey" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProductKey"></variable>
        <variable name="bs_modproductkeyList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 200)" />
        <variable name="comment" messageType="java.lang.String" expression="getXmlData('message', '/Message/Body/COMMENT')" />
        <variable name="currentTime" 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="eventName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/MESSAGENAME')" />
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/EVENTUSER')" />
        <variable name="FGMSReceivedReport" messageType="org.jdom.Document"></variable>
        <variable name="floor" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/FLOOR')" />
        <variable name="language" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/LANGUAGE')" />
        <variable name="location" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/LOCATIONNAME')" />
        <variable name="loginFactoryName" messageType="java.lang.String">FGMS</variable>
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="packingGrade" messageType="java.lang.String"></variable>
        <variable name="palletInfo" messageType="com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup"></variable>
        <variable name="palletName" messageType="java.lang.String" expression="getXmlData('message', '/Message/Body/PALLETNAME')" />
        <variable name="palletSDERPList" messageType="java.util.ArrayList" expression="newInstance('java.util.ArrayList', 10)" />
        <variable name="panelCreateInfo" messageType="com.cim.idm.wmspackage.product.management.info.CreateInfo"></variable>
        <variable name="panelCreateInfoList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 200)" />
        <variable name="panelInfo" messageType="com.cim.idm.fgwmsextend.customizing.management.data.module.Lot"></variable>
        <variable name="panelName" messageType="java.lang.String"></variable>
        <variable name="panelNameList" messageType="java.util.List"></variable>
        <variable name="panelQty" messageType="int"></variable>
        <variable name="productionType" messageType="java.lang.String"></variable>
        <variable name="productPacking" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
        <variable name="productSpecName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/PRODUCTSPECNAME')" />
        <variable name="reasonCode" messageType="java.lang.String"></variable>
        <variable name="reasonCodeType" messageType="java.lang.String"></variable>
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="revisionCode" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/REVISIONCODE')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message', '/Message/Body/SITENAME')" />
    </variables>
    <sequence>
        <receive name="StockInPallet" bounds="190,30,140,75">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="190,135,140,102" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="PackingGroupServiceUtil sumPanelQtyByPalletName" type="invokebean" description="public int sumPanelQtyByPalletName(java.lang.String siteName, java.lang.String palletName)" bounds="190,267,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="sumPanelQtyByPalletName" operationDesc="public int sumPanelQtyByPalletName(java.lang.String siteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="palletName" type="java.lang.String" />
            <output variable="panelQty" />
        </invoke>
        <invoke name="PackingGroupServiceUtil checkPalletFullByPanelQty" type="invokebean" description="public java.lang.String checkPalletFullByPanelQty(java.lang.String siteName, java.lang.String productSpecName, int panelQty)" bounds="190,402,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPalletFullByPanelQty" operationDesc="public java.lang.String checkPalletFullByPanelQty(java.lang.String siteName, java.lang.String productSpecName, int panelQty)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="productSpecName" type="java.lang.String" />
            <input variable="panelQty" type="int" />
        </invoke>
        <invoke name="PackingGroupServiceUtil checkTime" type="invokebean" description="public void checkTime(java.lang.String SiteName, java.lang.String palletName, java.lang.String productSpecName, java.lang.String revisionCode)" bounds="190,537,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkTime" operationDesc="public void checkTime(java.lang.String SiteName, java.lang.String palletName, java.lang.String productSpecName, java.lang.String revisionCode)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="palletName" type="java.lang.String" />
            <input variable="productSpecName" type="java.lang.String" />
            <input variable="revisionCode" type="java.lang.String" />
        </invoke>
        <invoke name="PackingGroupServiceUtil checkReceivePackingGroupAlreadyExist" type="invokebean" description="public void checkReceivePackingGroupAlreadyExist(java.lang.String SiteName, java.lang.String packingGroupName)" bounds="141,672,239,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkReceivePackingGroupAlreadyExist" operationDesc="public void checkReceivePackingGroupAlreadyExist(java.lang.String SiteName, java.lang.String packingGroupName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="palletName" type="java.lang.String" />
        </invoke>
        <invoke name="PackingGroupServiceUtil checkPalletInBS_MODPackingGroup" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup checkPalletInBS_MODPackingGroup(java.lang.String SiteName, java.lang.String palletName)" bounds="151,804,218,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPalletInBS_MODPackingGroup" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup checkPalletInBS_MODPackingGroup(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="palletName" type="java.lang.String" />
            <output variable="bs_modpallet" />
        </invoke>
        <switch name="switch" bounds="244,936,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="205,1015,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="isNull('bs_modpallet')='true'" bounds="124,1094,32,49">
                <source idx="0" terminal="5,A" />
                <invoke name="PackingGroupServiceUtil getBoxList" type="invokebean" description="public java.util.List getBoxList(java.lang.String processGroupName)" bounds="70,1173,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getBoxList" operationDesc="public java.util.List getBoxList(java.lang.String processGroupName)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="palletName" type="java.lang.String" />
                    <output variable="boxNameList" />
                </invoke>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="350,1094,61,49">
                <source idx="0" terminal="5,A" />
                <invoke name="PackingGroupServiceUtil getBoxList" type="invokebean" description="public java.util.List getBoxList(com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup bs_modpallet)" bounds="310,1173,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getBoxList" operationDesc="public java.util.List getBoxList(com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup bs_modpallet)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="bs_modpallet" type="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup" />
                    <output variable="boxNameList" />
                </invoke>
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="205,1295,110,49">
                <source idx="0" terminal="5,A" />
                <source idx="1" terminal="5,A" />
            </switchend>
        </switch>
        <while name="while" bounds="244,1374,32,49" type="2" collection="boxNameList" element="boxName">
            <source idx="0" terminal="5,A" />
            <whilestart name="whilestart" type="whilestart" bounds="205,1453,110,49">
                <source idx="0" terminal="5,A" />
            </whilestart>
            <invoke name="PackingGroupServiceUtil checkReceivePackingGroupAlreadyExist" type="invokebean" description="public void checkReceivePackingGroupAlreadyExist(java.lang.String SiteName, java.lang.String packingGroupName)" bounds="141,1532,239,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkReceivePackingGroupAlreadyExist" operationDesc="public void checkReceivePackingGroupAlreadyExist(java.lang.String SiteName, java.lang.String packingGroupName)" ignoreThrow="false" fork="false">
                <source idx="0" terminal="5,A" />
                <input variable="siteName" type="java.lang.String" />
                <input variable="boxName" type="java.lang.String" />
            </invoke>
            <whileend name="whileend" type="whileend" bounds="387,1654,110,49">
                <source idx="0" terminal="5,A" />
            </whileend>
        </while>
        <invoke name="EventInfoUtil makeEventInfo" type="invokebean" description="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" bounds="328,1733,228,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 variable="eventName" 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>
        <switch name="switch" bounds="426,1865,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="387,1944,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="isNull('bs_modpallet')='true'" bounds="244,2023,32,49">
                <source idx="0" terminal="5,A" />
                <while name="while" bounds="244,2102,32,49" type="2" collection="boxNameList" element="boxName">
                    <source idx="0" terminal="5,A" />
                    <whilestart name="whilestart" type="whilestart" bounds="205,2181,110,49">
                        <source idx="0" terminal="5,A" />
                    </whilestart>
                    <invoke name="PackingGroupServiceUtil getMODPanelList" type="invokebean" description="public java.util.List getMODPanelList(java.lang.String palletName, java.lang.String boxName)" bounds="190,2260,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getMODPanelList" operationDesc="public java.util.List getMODPanelList(java.lang.String palletName, java.lang.String boxName)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="palletName" type="java.lang.String" />
                        <input variable="boxName" type="java.lang.String" />
                        <output variable="panelNameList" />
                    </invoke>
                    <while name="while" bounds="244,2392,32,49" type="2" collection="panelNameList" element="panelName">
                        <source idx="0" terminal="5,A" />
                        <whilestart name="whilestart" type="whilestart" bounds="205,2471,110,49">
                            <source idx="0" terminal="5,A" />
                        </whilestart>
                        <invoke name="ProductServiceUtil getPanelInfoFromMOD" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.module.Lot getPanelInfoFromMOD(java.lang.String panelName)" bounds="190,2550,140,102" partnerLink="ProductServiceUtil" partnerLinkType="ProductServiceUtil" operation="getPanelInfoFromMOD" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.module.Lot getPanelInfoFromMOD(java.lang.String panelName)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="panelName" type="java.lang.String" />
                            <output variable="panelInfo" />
                        </invoke>
                        <expression name="expression" type="expression" bounds="190,2682,141,65">
                            <source idx="0" terminal="5,A" />
                            <function value="setVariable('productionType',getField('panelInfo','productionType'))" />
                        </expression>
                        <invoke name="ProductServiceUtil makeCreateInfo" type="invokebean" description="public com.cim.idm.wmspackage.product.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.module.Lot panelInfo, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="190,2777,140,102" partnerLink="ProductServiceUtil" partnerLinkType="ProductServiceUtil" operation="makeCreateInfo" operationDesc="public com.cim.idm.wmspackage.product.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.module.Lot panelInfo, 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="panelInfo" type="com.cim.idm.fgwmsextend.customizing.management.data.module.Lot" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <output variable="panelCreateInfo" />
                        </invoke>
                        <expression name="expression" type="expression" bounds="190,2909,141,65">
                            <source idx="0" terminal="5,A" />
                            <function value="addListValue('panelCreateInfoList', getVariable('panelCreateInfo'))" />
                        </expression>
                        <whileend name="whileend" type="whileend" bounds="205,2994,110,49">
                            <source idx="0" terminal="5,A" />
                        </whileend>
                    </while>
                    <invoke name="PackingGroupServiceUtil getBoxInfoFromMOD" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup getBoxInfoFromMOD(java.lang.String boxName)" bounds="190,3073,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getBoxInfoFromMOD" operationDesc="public com.cim.idm.fgmsextend.customizing.management.data.module.ProcessGroup getBoxInfoFromMOD(java.lang.String boxName)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="boxName" type="java.lang.String" />
                        <output variable="boxInfo" />
                    </invoke>
                    <invoke name="PackingGroupServiceUtil makeCreateInfo" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup boxInfo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String productionType)" bounds="159,3205,203,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeCreateInfo" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup boxInfo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String productionType)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="siteName" type="java.lang.String" />
                        <input variable="boxInfo" type="com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup" />
                        <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                        <input variable="productionType" type="java.lang.String" />
                        <output variable="boxCreateInfo" />
                    </invoke>
                    <expression name="expression" type="expression" bounds="190,3337,141,65">
                        <source idx="0" terminal="5,A" />
                        <function value="addListValue('boxCreateInfoList', getVariable('boxCreateInfo'))" />
                    </expression>
                    <whileend name="whileend" type="whileend" bounds="205,3422,110,49">
                        <source idx="0" terminal="5,A" />
                    </whileend>
                </while>
                <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="146,3501,228,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 variable="eventName" 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="ProductServiceImpl receivePanels" type="invokebean" description="public void receivePanels(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List panelCreateInfoList)" bounds="190,3633,141,105" partnerLink="ProductServiceImpl" partnerLinkType="ProductServiceImpl" operation="receivePanels" operationDesc="public void receivePanels(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List panelCreateInfoList)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="panelCreateInfoList" type="java.util.List" />
                </invoke>
                <invoke name="PackingGroupServiceImpl receiveBoxs" type="invokebean" description="public void receiveBoxs(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List boxCreateInfoList)" bounds="190,3768,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="receiveBoxs" operationDesc="public void receiveBoxs(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List boxCreateInfoList)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="boxCreateInfoList" type="java.util.List" />
                </invoke>
                <invoke name="PackingGroupServiceUtil getPalletInfoFromMOD" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup getPalletInfoFromMOD(java.lang.String palletName)" bounds="190,3903,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPalletInfoFromMOD" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup getPalletInfoFromMOD(java.lang.String palletName)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="palletName" type="java.lang.String" />
                    <output variable="palletInfo" />
                </invoke>
                <invoke name="PackingGroupServiceImpl receivePallet" type="invokebean" description="public void receivePallet(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup palletInfo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String productionType)" bounds="155,4035,211,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="receivePallet" operationDesc="public void receivePallet(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup palletInfo, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String productionType)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="siteName" />
                    <input variable="palletInfo" />
                    <input variable="eventInfo" />
                    <input variable="productionType" />
                    <input variable="comment" />
                    <input variable="palletName" />
                </invoke>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="594,2023,61,49">
                <source idx="0" terminal="5,A" />
                <while name="while" bounds="608,2102,32,49" type="2" collection="boxNameList" element="boxName">
                    <source idx="0" terminal="5,A" />
                    <whilestart name="whilestart" type="whilestart" bounds="569,2181,110,49">
                        <source idx="0" terminal="5,A" />
                    </whilestart>
                    <invoke name="PackingGroupServiceUtil getBS_MODProductPanelList" type="invokebean" description="public java.util.List getBS_MODProductPanelList(java.lang.String SiteName, java.lang.String palletName, java.lang.String boxName)" bounds="535,2260,178,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getBS_MODProductPanelList" operationDesc="public java.util.List getBS_MODProductPanelList(java.lang.String SiteName, java.lang.String palletName, java.lang.String boxName)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="siteName" type="java.lang.String" />
                        <input variable="palletName" type="java.lang.String" />
                        <input variable="boxName" type="java.lang.String" />
                        <output variable="panelNameList" />
                    </invoke>
                    <while name="while" bounds="608,2392,32,49" type="2" collection="panelNameList" element="panelName">
                        <source idx="0" terminal="5,A" />
                        <whilestart name="whilestart" type="whilestart" bounds="569,2471,110,49">
                            <source idx="0" terminal="5,A" />
                        </whilestart>
                        <invoke name="ProductServiceUtil getPanelInfoFromBS_MODProduct" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProduct getPanelInfoFromBS_MODProduct(java.lang.String SiteName, java.lang.String panelName)" bounds="518,2550,212,102" partnerLink="ProductServiceUtil" partnerLinkType="ProductServiceUtil" operation="getPanelInfoFromBS_MODProduct" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProduct getPanelInfoFromBS_MODProduct(java.lang.String SiteName, java.lang.String panelName)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="siteName" type="java.lang.String" />
                            <input variable="panelName" type="java.lang.String" />
                            <output variable="bs_modProduct" />
                        </invoke>
                        <invoke name="ProductServiceUtil makeCreateInfo" type="invokebean" description="public com.cim.idm.wmspackage.product.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProduct panelInfo, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="544,2682,160,102" partnerLink="ProductServiceUtil" partnerLinkType="ProductServiceUtil" operation="makeCreateInfo" operationDesc="public com.cim.idm.wmspackage.product.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProduct panelInfo, 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="bs_modProduct" type="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProduct" />
                            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                            <output variable="panelCreateInfo" />
                        </invoke>
                        <expression name="expression" type="expression" bounds="554,2814,141,65">
                            <source idx="0" terminal="5,A" />
                            <function value="addListValue('panelCreateInfoList', getVariable('panelCreateInfo'))" />
                        </expression>
                        <invoke name="ProductServiceUtil makeBS_MODProductKey" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProductKey makeBS_MODProductKey(java.lang.String SiteName, java.lang.String panelName)" bounds="546,2909,156,102" partnerLink="ProductServiceUtil" partnerLinkType="ProductServiceUtil" operation="makeBS_MODProductKey" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODProductKey makeBS_MODProductKey(java.lang.String SiteName, java.lang.String panelName)" ignoreThrow="false" fork="false">
                            <source idx="0" terminal="5,A" />
                            <input variable="siteName" type="java.lang.String" />
                            <input variable="panelName" type="java.lang.String" />
                            <output variable="bs_modproductkey" />
                        </invoke>
                        <expression name="expression" type="expression" bounds="554,3041,141,65">
                            <source idx="0" terminal="5,A" />
                            <function value="addListValue('bs_modproductkeyList', getVariable('bs_modproductkey'))" />
                        </expression>
                        <whileend name="whileend" type="whileend" bounds="569,3126,110,49">
                            <source idx="0" terminal="5,A" />
                        </whileend>
                    </while>
                    <invoke name="PackingGroupServiceUtil getBoxInfoFromBS_MODPackingGroup" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup getBoxInfoFromBS_MODPackingGroup(java.lang.String SiteName, java.lang.String boxName)" bounds="506,3205,237,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getBoxInfoFromBS_MODPackingGroup" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup getBoxInfoFromBS_MODPackingGroup(java.lang.String SiteName, java.lang.String boxName)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="siteName" type="java.lang.String" />
                        <input variable="boxName" type="java.lang.String" />
                        <output variable="bs_modBox" />
                    </invoke>
                    <invoke name="PackingGroupServiceUtil makeCreateInfo" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup boxInfo, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="554,3337,141,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeCreateInfo" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfo(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup boxInfo, 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="bs_modBox" type="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup" />
                        <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                        <output variable="boxCreateInfo" />
                    </invoke>
                    <expression name="expression" type="expression" bounds="554,3469,141,65">
                        <source idx="0" terminal="5,A" />
                        <function value="addListValue('boxCreateInfoList', getVariable('boxCreateInfo'))" />
                    </expression>
                    <invoke name="PackingGroupServiceUtil makeBS_MODPackingGroupKey" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroupKey makeBS_MODPackingGroupKey(java.lang.String SiteName, java.lang.String packingGroupName)" bounds="554,3564,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeBS_MODPackingGroupKey" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroupKey makeBS_MODPackingGroupKey(java.lang.String SiteName, java.lang.String packingGroupName)" ignoreThrow="false" fork="false">
                        <source idx="0" terminal="5,A" />
                        <input variable="siteName" type="java.lang.String" />
                        <input variable="boxName" type="java.lang.String" />
                        <output variable="bs_modboxkey" />
                    </invoke>
                    <expression name="expression" type="expression" bounds="554,3699,141,65">
                        <source idx="0" terminal="5,A" />
                        <function value="addListValue('bs_modboxkeyList', getVariable('bs_modboxkey'))" />
                    </expression>
                    <whileend name="whileend" type="whileend" bounds="569,3784,110,49">
                        <source idx="0" terminal="5,A" />
                    </whileend>
                </while>
                <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="510,3863,228,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 variable="eventName" 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="ProductServiceImpl receivePanels" type="invokebean" description="public void receivePanels(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List panelCreateInfoList)" bounds="554,3995,141,105" partnerLink="ProductServiceImpl" partnerLinkType="ProductServiceImpl" operation="receivePanels" operationDesc="public void receivePanels(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List panelCreateInfoList)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="panelCreateInfoList" type="java.util.List" />
                </invoke>
                <invoke name="PackingGroupServiceImpl receiveBoxs" type="invokebean" description="public void receiveBoxs(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List boxCreateInfoList)" bounds="554,4130,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="receiveBoxs" operationDesc="public void receiveBoxs(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List boxCreateInfoList)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                    <input variable="boxCreateInfoList" type="java.util.List" />
                </invoke>
                <invoke name="PackingGroupServiceUtil getPalletInfoFromBS_MODPackingGroup" type="invokebean" description="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup getPalletInfoFromBS_MODPackingGroup(java.lang.String SiteName, java.lang.String palletName)" bounds="500,4265,248,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPalletInfoFromBS_MODPackingGroup" operationDesc="public com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup getPalletInfoFromBS_MODPackingGroup(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="siteName" type="java.lang.String" />
                    <input variable="palletName" type="java.lang.String" />
                    <output variable="bs_modpallet" />
                </invoke>
                <invoke name="PackingGroupServiceImpl receivePallet" type="invokebean" description="public void receivePallet(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup palletInfo, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="550,4397,149,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="receivePallet" operationDesc="public void receivePallet(java.lang.String SiteName, com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup palletInfo, 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="bs_modpallet" type="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                </invoke>
                <invoke name="ProductServiceImpl deleteFromBS_MODProduct" type="invokebean" description="public void deleteFromBS_MODProduct(java.util.List keyList)" bounds="554,4529,141,105" partnerLink="ProductServiceImpl" partnerLinkType="ProductServiceImpl" operation="deleteFromBS_MODProduct" operationDesc="public void deleteFromBS_MODProduct(java.util.List keyList)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="bs_modproductkeyList" type="java.util.List" />
                </invoke>
                <invoke name="PackingGroupServiceImpl deleteFromBS_MODPackingGroup" type="invokebean" description="public void deleteFromBS_MODPackingGroup(java.util.List modPackingGroupKeyList)" bounds="554,4664,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="deleteFromBS_MODPackingGroup" operationDesc="public void deleteFromBS_MODPackingGroup(java.util.List modPackingGroupKeyList)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="bs_modboxkeyList" type="java.util.List" />
                </invoke>
                <invoke name="PackingGroupServiceImpl deleteFromBS_MODPackingGroup" type="invokebean" description="public void deleteFromBS_MODPackingGroup(java.lang.String SiteName, java.lang.String palletName)" bounds="554,4799,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="deleteFromBS_MODPackingGroup" operationDesc="public void deleteFromBS_MODPackingGroup(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="siteName" type="java.lang.String" />
                    <input variable="palletName" type="java.lang.String" />
                </invoke>
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="503,4924,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="488,5003,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="AssignLocation" 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="StorageServiceUtil findEmptyLocation" type="invokebean" description="public java.lang.String findEmptyLocation(java.lang.String locationName, java.lang.String f, java.lang.String s, java.lang.String siteName)" bounds="488,5138,140,102" partnerLink="StorageServiceUtil" partnerLinkType="StorageServiceUtil" operation="findEmptyLocation" operationDesc="public java.lang.String findEmptyLocation(java.lang.String locationName, java.lang.String f, java.lang.String s, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="location" type="java.lang.String" />
            <input variable="floor" type="java.lang.String" />
            <input constant="CP" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <output variable="location" />
        </invoke>
        <invoke name="PackingGroupServiceImpl assignLocation" type="invokebean" description="public void assignLocation(java.lang.String palletName, java.lang.String locationName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName)" bounds="468,5270,180,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="assignLocation" operationDesc="public void assignLocation(java.lang.String palletName, java.lang.String locationName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="palletName" type="java.lang.String" />
            <input variable="location" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="siteName" type="java.lang.String" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="446,5402,224,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="replySubjectName" type="java.lang.String" />
            <input variable="message" type="org.jdom.Document" />
            <input constant="PDASender" type="java.lang.String" />
        </invoke>
        <invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="488,5534,141,105" partnerLink="XmlUtil" partnerLinkType="XmlUtil" operation="clone" operationDesc="public org.jdom.Document clone(org.jdom.Document doc)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="message" type="org.jdom.Document" />
            <output variable="FGMSReceivedReport" />
        </invoke>
        <expression name="expression" type="expression" bounds="488,5669,141,65">
            <source idx="0" terminal="5,A" />
            <function value="setXmlData('FGMSReceivedReport','/Message/Header/MESSAGENAME','FGMSReceivedReport')" />
            <function value="removeElement('FGMSReceivedReport','/Message/Body/LOCATIONNAME')" />
        </expression>
        <invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" bounds="488,5764,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(org.jdom.Document doc, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="FGMSReceivedReport" type="org.jdom.Document" />
            <input constant="MODSender" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="488,5899,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="ERPInterfaceServiceImpl insertBS_ERPIF_LGM6" type="invokebean" description="public static void insertBS_ERPIF_LGM6(java.lang.String SiteName, java.lang.String eventName, java.lang.String palletName, java.lang.String _fabid)" bounds="488,6034,141,105" partnerLink="ERPInterfaceServiceImplForFG" partnerLinkType="ERPInterfaceServiceImplForFG" operation="insertBS_ERPIF_LGM6" operationDesc="public static void insertBS_ERPIF_LGM6(java.lang.String SiteName, java.lang.String eventName, java.lang.String palletName, java.lang.String _fabid)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input constant="StockIn" type="java.lang.String" />
            <input variable="palletName" type="java.lang.String" />
            <input constant="PH" type="java.lang.String" />
        </invoke>
        <invoke name="PackingGroupServiceUtil getPackingGroupData" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.data.ProductPacking getPackingGroupData(java.lang.String originalPalletName, java.lang.String siteName)" bounds="488,6169,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPackingGroupData" operationDesc="public com.cim.idm.wmspackage.productpacking.management.data.ProductPacking getPackingGroupData(java.lang.String originalPalletName, java.lang.String siteName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="palletName" type="java.lang.String" />
            <input constant="PH" type="java.lang.String" />
            <output variable="productPacking" />
        </invoke>
        <switch name="switch" bounds="1001,6151,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="934,6213,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="getField('productPacking','checkInCode') = 'M01' or &#xD;&#xA;getField('productPacking','checkInCode') = 'M02' " bounds="868,6281,60,19">
                <source idx="0" terminal="5,A" />
                <expression name="expression" type="expression" bounds="829,6342,141,65">
                    <source idx="0" terminal="5,A" />
                    <function value="setField('productPacking', 'reasonCode','HD-M-T-Z')" />
                </expression>
            </case>
            <case name="case" type="case" condition="getField('productPacking','checkInCode') = 'D01' or &#xD;&#xA;getField('productPacking','checkInCode') = 'D02' or &#xD;&#xA;getField('productPacking','checkInCode') = 'E01' or &#xD;&#xA;getField('productPacking','checkInCode') = 'E02' " bounds="1019,6290,60,19">
                <source idx="0" terminal="5,A" />
                <expression name="expression" type="expression" bounds="1011,6332,141,65">
                    <source idx="0" terminal="5,A" />
                    <function value="setField('productPacking', 'reasonCode','HD-M-T-E')" />
                </expression>
            </case>
            <case name="case" type="case" condition="getField('productPacking','checkInCode') = 'P03' " bounds="1210,6290,60,19">
                <source idx="0" terminal="5,A" />
                <expression name="expression" type="expression" bounds="1189,6325,141,65">
                    <source idx="0" terminal="5,A" />
                    <function value="setField('productPacking', 'reasonCode','HD-M-T-P')" />
                </expression>
            </case>
            <case name="case" type="case" condition="getField('productPacking','checkInCode') = 'Z01' &#xD;&#xA;or&#xD;&#xA;getField('productPacking','checkInCode') = 'Z02' " bounds="1408,6295,60,19">
                <source idx="0" terminal="5,A" />
                <expression name="expression" type="expression" bounds="1373,6321,141,65">
                    <source idx="0" terminal="5,A" />
                    <function value="setField('productPacking', 'reasonCode','HD-M-T-B')" />
                </expression>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="1576,6284,88,19">
                <source idx="0" terminal="5,A" />
                <expression name="expression" type="expression" bounds="1573,6323,141,65">
                    <source idx="0" terminal="5,A" />
                    <function value="setField('productPacking', 'reasonCode','HD-M-T-E')" />
                </expression>
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="948,6454,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" />
            </switchend>
        </switch>
        <expression name="expression" type="expression" bounds="488,6304,141,65">
            <source idx="0" terminal="5,A" />
            <function value="setVariable('productionType',getField('productPacking','productionType'))" />
            <function value="setVariable('packingGrade',getField('productPacking','packingGrade'))" />
            <function value="setVariable('revisionGrade',getField('productPacking','revisionCode'))" />
        </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="444,6399,228,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="autoChangeAuctionPallet" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
            <input constant="autoChangeAuctionPallet" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <switch name="switch" bounds="542,6531,33,33" type="switch">
            <source idx="0" terminal="5,A" />
            <switchstart name="switchstart" type="switchstart" bounds="503,6610,110,49">
                <source idx="0" terminal="5,A" />
            </switchstart>
            <case name="case" type="case" condition="getVariable('packingGrade')='F'&#xD;&#xA;and (getVariable('revisionCode')='0' or getVariable('revisionCode')='L')&#xD;&#xA;and (getField('productPacking','checkInCode') != 'P01')&#xD;&#xA;and (getField('productPacking','checkInCode') != 'Z01')&#xD;&#xA;and (getField('productPacking','checkInCode') != 'Z02')&#xD;&#xA;and (getField('productPacking','checkInCode') != 'Z03')&#xD;&#xA;and (substring(getField('productPacking','productSpecName'),'14')!='8')" bounds="230,6689,60,19">
                <source idx="0" terminal="5,A" />
                <invoke name="PackingGroupServiceImpl changeAuctionPallet" type="invokebean" description="public void changeAuctionPallet(java.lang.String palletName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking palletInfo, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="190,6738,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="changeAuctionPallet" operationDesc="public void changeAuctionPallet(java.lang.String palletName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking palletInfo, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="palletName" type="java.lang.String" />
                    <input variable="productPacking" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
                    <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
                </invoke>
                <expression name="expression" type="expression" bounds="190,6873,141,65">
                    <source idx="0" terminal="5,A" />
                    <function value="addListValue('palletSDERPList', getVariable('productPacking'))" />
                </expression>
                <invoke name="ERPInterfaceServiceImpl insertBS_ERPIF_LG16" type="invokebean" description="public static void insertBS_ERPIF_LG16(java.lang.String siteName, java.util.List packingGroupList, java.lang.String eventName, java.lang.String erplocation)" bounds="190,6968,141,105" partnerLink="ERPInterfaceServiceImplForFG" partnerLinkType="ERPInterfaceServiceImplForFG" operation="insertBS_ERPIF_LG16" operationDesc="public static void insertBS_ERPIF_LG16(java.lang.String siteName, java.util.List packingGroupList, java.lang.String eventName, java.lang.String erplocation)" ignoreThrow="false" fork="false">
                    <source idx="0" terminal="5,A" />
                    <input variable="siteName" type="java.lang.String" />
                    <input variable="palletSDERPList" type="java.util.List" />
                    <input constant="Hold" type="java.lang.String" />
                    <input constant="" type="java.lang.String" />
                </invoke>
            </case>
            <otherwise name="otherwise" type="otherwise" bounds="812,6689,88,19">
                <source idx="0" terminal="5,A" />
            </otherwise>
            <switchend name="switchend" type="switchend" bounds="503,7093,110,49">
                <source idx="0" terminal="5,A" />
                <source idx="1" terminal="5,A" />
            </switchend>
        </switch>
    </sequence>
</process>

