692 lines
66 KiB
Plaintext
Raw Normal View History

2025-03-19 10:28:25 +08:00
<?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="SplitPallet.bpel">
<partnerLinks>
<partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
<partnerLink name="PackingGroupServiceUtil" partnerLinkType="bean:PackingGroupServiceUtil" />
<partnerLink name="StorageServiceUtil" partnerLinkType="bean:StorageServiceUtil" />
<partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
<partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
<partnerLink name="PackingGroupServiceImpl" partnerLinkType="bean:PackingGroupServiceImpl" />
<partnerLink name="StorageServiceImpl" partnerLinkType="bean:StorageServiceImpl" />
<partnerLink name="ProductServiceUtil" partnerLinkType="bean:ProductServiceUtil" />
<partnerLink name="ProductServiceImpl" partnerLinkType="bean:ProductServiceImpl" />
<partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
</partnerLinks>
<variables>
<variable name="assignBoxInfo" messageType="com.cim.idm.wmspackage.product.management.info.AssignPackingGroupInfo" expression="newInstance('com.cim.idm.wmspackage.product.management.info.AssignPackingGroupInfo')" />
<variable name="assignedPanelKey" messageType="com.cim.idm.wmspackage.product.management.data.ProductKey" expression="newInstance('com.cim.idm.wmspackage.product.management.data.ProductKey')" />
<variable name="assignedPanelKeyList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 50)" />
<variable name="boxAssignPalletUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
<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', 10)" />
<variable name="boxkey" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey" expression="newInstance('com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey')" />
<variable name="boxkeyList" messageType="java.util.List" expression="newInstance('java.util.ArrayList',10)" />
<variable name="boxName" messageType="java.lang.String"></variable>
<variable name="boxNameList" messageType="java.util.List"></variable>
<variable name="boxPalletMap" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 20)" />
<variable name="boxPanelQty" messageType="long"></variable>
<variable name="boxProductQuantity" messageType="long[]"></variable>
<variable name="boxQty" messageType="long"></variable>
<variable name="boxSinglePanelQty" messageType="long"></variable>
<variable name="boxUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
<variable name="checkInCode" messageType="java.lang.String"></variable>
<variable name="customException" messageType="com.cim.idm.fgwmsextend.generic.errorHandler.CustomException"></variable>
<variable name="domesticExport" 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="locationName" messageType="java.lang.String"></variable>
<variable name="message" messageType="org.jdom.Document"></variable>
<variable name="newBoxElement" messageType="org.jdom.Element"></variable>
<variable name="newBoxElementList" messageType="java.util.List"></variable>
<variable name="newBoxPanelName" messageType="java.lang.String"></variable>
<variable name="newBoxPanelNameList" messageType="java.util.List"></variable>
<variable name="newPalletBoxElement" messageType="org.jdom.Element"></variable>
<variable name="newPalletBoxElementList" messageType="java.util.List"></variable>
<variable name="originalBoxElement" messageType="org.jdom.Element"></variable>
<variable name="originalBoxElementList" messageType="java.util.List"></variable>
<variable name="originalBoxInfo" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
<variable name="originalBoxKey" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey"></variable>
<variable name="originalBoxKeyList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 20)" />
<variable name="originalBoxName" messageType="java.lang.String"></variable>
<variable name="originalPalletInfo" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
<variable name="originalPalletLocationName" messageType="java.lang.String"></variable>
<variable name="originalPalletName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ORIGINALPALLETNAME')" />
<variable name="packingGroupGrade" messageType="java.lang.String"></variable>
<variable name="palletCreateInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.CreateInfo"></variable>
<variable name="palletCreateInfoList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 2)" />
<variable name="palletElement" messageType="org.jdom.Element"></variable>
<variable name="palletElementList" messageType="java.util.List"></variable>
<variable name="palletkey" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey"></variable>
<variable name="palletkeyList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 1)" />
<variable name="palletName" messageType="java.lang.String"></variable>
<variable name="palletPanelQty" messageType="long"></variable>
<variable name="palletProductQuantity" messageType="long[]"></variable>
<variable name="palletUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
<variable name="panelElement" messageType="org.jdom.Element"></variable>
<variable name="panelElementList" messageType="java.util.List"></variable>
<variable name="panelName" messageType="java.lang.String"></variable>
<variable name="productionType" messageType="java.lang.String"></variable>
<variable name="productSpecName" messageType="java.lang.String"></variable>
<variable name="productUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
<variable name="receivedFrom" 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"></variable>
<variable name="setBoxAssignPalletInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo"></variable>
<variable name="setBoxCompleteInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo"></variable>
<variable name="setPalletCompleteInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo"></variable>
<variable name="SiteName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
<variable name="splitLocationName" messageType="java.lang.String"></variable>
<variable name="stockInTime" messageType="java.sql.Timestamp"></variable>
<variable name="stockInUser" messageType="java.lang.String"></variable>
<variable name="storageSpec" messageType="com.cim.idm.wmspackage.storage.management.data.StorageSpec"></variable>
</variables>
<Lane name="Lane" bounds="197,1013,511,137" backgroundcolor="253,250,192" />
<Lane name="Lane" bounds="838,25,742,2296" backgroundcolor="253,250,192" />
<Lane name="Lane" bounds="91,3023,469,2775" backgroundcolor="253,250,192" />
<Lane name="Lane" bounds="245,-24,525,261" backgroundcolor="253,250,192" />
<Lane name="Lane" bounds="-34,248,674,398" backgroundcolor="253,250,192" />
<note name="Note" bounds="251,1027,352,-1">palletElementList: new pallet Element List&#xD;
palletElement : pallet Element in palletElementList</note>
<note name="Note" bounds="251,1081,415,-1">newPalletBoxElementList: new Pallet Box Element in palletElement&#xD;
newPalletBoxElement : box Element in palletElement</note>
<note name="Note" bounds="336,3031,322,-1">split box steps:&#xD;
1. originalBoxName: originalBox need be Complete&#xD;
2. new split box need be create&#xD;
3. panel need be assigned to new box</note>
<note name="Note" bounds="880,76,634,-1">&lt;Body&gt;&#xD;
&lt;ORIGINALPALLETNAME&gt;20152FS00020&lt;/ORIGINALPALLETNAME&gt;&#xD;
&lt;ORIGINALBOXLIST&gt;&#xD;
&lt;ORIGINALBOX&gt;&#xD;
&lt;ORIGINALBOXNAME&gt;32AF152N0012D&lt;/ORIGINALBOXNAME&gt;&#xD;
&lt;BOXLIST&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012D-01&lt;/BOXNAME&gt;&#xD;
&lt;PANELLIST&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A5CA&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A5CE&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A5CF&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511720B0BA&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511720B3CB&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511770B3AF&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511873B9AC&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511873B9AD&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511873B9BF&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511873B9CD&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;/PANELLIST&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012D-02&lt;/BOXNAME&gt;&#xD;
&lt;PANELLIST&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A1CA&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A1CB&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A4AD&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A4BE&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;PANEL&gt;&#xD;
&lt;PANELNAME&gt;5AHA511657A4CC&lt;/PANELNAME&gt;&#xD;
&lt;/PANEL&gt;&#xD;
&lt;/PANELLIST&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;/BOXLIST&gt;&#xD;
&lt;/ORIGINALBOX&gt;&#xD;
&lt;/ORIGINALBOXLIST&gt;&#xD;
&lt;PALLETLIST&gt;&#xD;
&lt;PALLET&gt;&#xD;
&lt;PALLETNAME&gt;20152FS00020001&lt;/PALLETNAME&gt;&#xD;
&lt;BOXLIST&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012E&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012F&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00130&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00131&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00132&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00133&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00134&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00135&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012D-01&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012D-02&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;/BOXLIST&gt;&#xD;
&lt;/PALLET&gt;&#xD;
&lt;PALLET&gt;&#xD;
&lt;PALLETNAME&gt;20152FS00020002&lt;/PALLETNAME&gt;&#xD;
&lt;BOXLIST&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00123&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00125&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00128&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N00129&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012A&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012B&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;BOX&gt;&#xD;
&lt;BOXNAME&gt;32AF152N0012C&lt;/BOXNAME&gt;&#xD;
&lt;/BOX&gt;&#xD;
&lt;/BOXLIST&gt;&#xD;
&lt;/PALLET&gt;&#xD;
&lt;/PALLETLIST&gt;&#xD;
&#xD;
&lt;/Body&gt;</note>
<note name="Note" bounds="389,3215,344,-1">newBoxElementList : originalBox split to 2 new Box</note>
<note name="Note" bounds="438,3596,321,-1">boxName : is the new box split from original box </note>
<note name="Note" bounds="438,3634,319,-1">boxProductQuantity is new Box Single Panel Qty and Qpanel Qty</note>
<note name="Note" bounds="384,4768,202,-1">initial new box panel key list</note>
<note name="Note" bounds="880,35,168,-1">Message Example : </note>
<note name="Note" bounds="401,6911,245,-1">palletProductQuantity : Pallet single Panel Qty and Qpanelquantity</note>
<note name="Note" bounds="299,-17,453,-1">Execute Steps:&#xD;
1. check Pallet can be split or not&#xD;
2. create split History&#xD;
3. modify location that store original pallet to empty &#xD;
4. set original pallet to completed state&#xD;
5. split box&#xD;
1). originalBoxName: originalBox need be Complete&#xD;
2). new split box need be create&#xD;
3). panel need be assigned to new box&#xD;
6. split pallet&#xD;
1). create new pallet &#xD;
2). assign relative Box to new Pallet&#xD;
3). assign storage to new Pallet.&#xD;
7. send message to OIC</note>
<note name="Note" bounds="222,366,208,-1">check Pallet can be split or not</note>
<sequence>
<receive name="SplitPallet" bounds="70,30,140,75">
<input variable="message" type="org.jdom.Document" />
</receive>
<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="71,134,140,102" 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="originalPalletName" type="java.lang.String" />
<input variable="SiteName" type="java.lang.String" />
<output variable="originalPalletInfo" />
</invoke>
<invoke name="PackingGroupServiceUtil checkPackingGroupByAssignShip" type="invokebean" description="public static void checkPackingGroupByAssignShip(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking processGroupData)" bounds="41,266,200,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPackingGroupByAssignShip" operationDesc="public static void checkPackingGroupByAssignShip(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking processGroupData)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="originalPalletInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
</invoke>
<invoke name="PackingGroupServiceUtil checkPackingGroupStockState" type="invokebean" description="public static void checkPackingGroupStockState(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking processGroupData)" bounds="48,398,187,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPackingGroupStockState" operationDesc="public static void checkPackingGroupStockState(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking processGroupData)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="originalPalletInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
</invoke>
<invoke name="PackingGroupServiceUtil checkPackingGroupHoldState" type="invokebean" description="public static void checkPackingGroupHoldState(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking processGroupData)" bounds="51,530,180,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPackingGroupHoldState" operationDesc="public static void checkPackingGroupHoldState(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking processGroupData)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="originalPalletInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
</invoke>
<expression name="expression" type="expression" bounds="475,250,141,65">
<source idx="0" terminal="5,A" />
<function value="setVariable('locationName',getField('originalPalletInfo','locationName'))" />
</expression>
<invoke name="StorageServiceUtil getStorageSpecData" type="invokebean" description="public com.cim.idm.wmspackage.storage.management.data.StorageSpec getStorageSpecData(java.lang.String siteName, java.lang.String storageName)" bounds="475,319,141,105" partnerLink="StorageServiceUtil" partnerLinkType="StorageServiceUtil" operation="getStorageSpecData" operationDesc="public com.cim.idm.wmspackage.storage.management.data.StorageSpec getStorageSpecData(java.lang.String siteName, java.lang.String storageName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="SiteName" type="java.lang.String" />
<input variable="locationName" type="java.lang.String" />
<output variable="storageSpec" />
</invoke>
<switch name="switch" bounds="530,428,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="492,468,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<otherwise name="otherwise" type="otherwise" bounds="103,649,88,19">
<source idx="0" terminal="5,A" />
<invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="72,677,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="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="26,795,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>
<expression name="expression" type="expression" bounds="70,927,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('originalBoxElementList',getElementList('message','//ORIGINALBOX'))" />
<function value="setVariable('palletElementList',getElementList('message','//PALLET'))" />
</expression>
<while name="while" bounds="124,1019,32,49" type="2" collection="palletElementList" element="palletElement">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="85,1098,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="70,1177,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('palletName',getXmlData('palletElement','/PALLET/PALLETNAME'))" />
<function value="setVariable('newPalletBoxElementList',getElementList('palletElement','/PALLET/BOXLIST/BOX'))" />
</expression>
<while name="while" bounds="124,1269,32,49" type="2" collection="newPalletBoxElementList" element="newPalletBoxElement">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="85,1348,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="70,1427,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('boxName',getXmlData('newPalletBoxElement','/BOX/BOXNAME'))" />
<function value="putMapValue('boxPalletMap', getVariable('boxName'),getVariable('palletName'))" />
</expression>
<whileend name="whileend" type="whileend" bounds="85,1509,110,49">
<source idx="0" terminal="5,A" />
</whileend>
</while>
<whileend name="whileend" type="whileend" bounds="245,1578,110,49">
<source idx="0" terminal="5,A" />
</whileend>
</while>
<invoke name="PackingGroupServiceImpl createSplitHistory" type="invokebean" description="public static void createSplitHistory(com.cim.idm.framework.data.EventInfo eventInfo, org.jdom.Document document)" bounds="230,1657,140,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="createSplitHistory" operationDesc="public static void createSplitHistory(com.cim.idm.framework.data.EventInfo eventInfo, org.jdom.Document document)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="message" type="org.jdom.Document" />
</invoke>
<expression name="expression" type="expression" bounds="230,1789,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('originalPalletLocationName',getField('originalPalletInfo','locationName'))" />
<function value="setVariable('domesticExport',getField('originalPalletInfo','domesticExport'))" />
<function value="setVariable('packingGrade', getField('originalPalletInfo','packingGrade'))" />
<function value="setVariable('receivedFrom', getField('originalPalletInfo','receivedFrom'))" />
<function value="setVariable('revisionCode', getField('originalPalletInfo','revisionCode'))" />
<function value="setVariable('checkInCode', getField('originalPalletInfo','checkInCode'))" />
<function value="setVariable('productSpecName', getField('originalPalletInfo','productSpecName'))" />
<function value="setVariable('productionType', getField('originalPalletInfo','productionType'))" />
<function value="setVariable('stockInTime', getField('originalPalletInfo','stockInTime'))" />
<function value="setVariable('stockInUser', getField('originalPalletInfo','stockInUser'))" />
</expression>
<switch name="switch" bounds="284,1881,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="245,1960,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="isNull('originalPalletLocationName' )='true'&#xA; or getVariable('originalPalletLocationName') = ''" bounds="124,2039,32,49">
<source idx="0" terminal="5,A" />
<empty name="empty" bounds="70,2118,140,62">
<source idx="0" terminal="5,A" />
</empty>
</case>
<otherwise name="otherwise" type="otherwise" bounds="430,2039,61,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="304,2118,312,102" 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="originalPalletLocationName" 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>
</otherwise>
<switchend name="switchend" type="switchend" bounds="514,2240,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
<expression name="expression" type="expression" bounds="499,2319,140,62">
<source idx="0" terminal="5,A" />
<function value="addMap(getVariable('palletUserColumns'),'packingState','Completed')" />
<function value="addMap(getVariable('palletUserColumns'),'locationName','')" />
<function value="setVariable('palletkey',getField('originalPalletInfo','key'))" />
<function value="addListValue('palletkeyList', getVariable('palletkey'))" />
<function value="addMap(getVariable('palletUserColumns'),'subPackingQuantity',0)" />
<function value="addMap(getVariable('palletUserColumns'),'productQuantity',0)" />
<function value="addMap(getVariable('palletUserColumns'),'QPanelQuantity',0)" />
</expression>
<invoke name="PackingGroupServiceUtil makeSetEventInfo" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo makeSetEventInfo(java.util.Map palletUserColumns, java.util.Map boxUserColumns, java.util.Map productUserColumns)" bounds="415,2411,309,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeSetEventInfo" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo makeSetEventInfo(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="setPalletCompleteInfo" />
</invoke>
<invoke name="EventInfoUtil makeEventInfo" type="invokebean" description="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" bounds="404,2543,330,102" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, 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="action_exceptAction" type="java.lang.String" />
<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="PackingGroupServiceImpl makeCompleted" type="invokebean" description="public void makeCompleted(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo setEventInfo)" bounds="442,2675,255,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="makeCompleted" operationDesc="public void makeCompleted(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo setEventInfo)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="palletkeyList" type="java.util.List" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="setPalletCompleteInfo" type="com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo" />
</invoke>
<switch name="switch" bounds="549,2807,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="534,2886,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="isNull('originalBoxElementList') != 'true'" bounds="284,2965,32,49">
<source idx="0" terminal="5,A" />
<while name="while" bounds="284,3044,32,49" type="2" collection="originalBoxElementList" element="originalBoxElement">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="245,3123,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="230,3202,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('originalBoxName',getXmlData('originalBoxElement','/ORIGINALBOX/ORIGINALBOXNAME'))" />
</expression>
<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="230,3294,140,102" 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="originalBoxName" type="java.lang.String" />
<input variable="SiteName" type="java.lang.String" />
<output variable="originalBoxInfo" />
</invoke>
<expression name="expression" type="expression" bounds="230,3426,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('originalBoxKey',getField('originalBoxInfo','key'))" />
<function value="addListValue('originalBoxKeyList', getVariable('originalBoxKey'))" />
<function value="setVariable('newBoxElementList',getElementList('originalBoxElement','/ORIGINALBOX/BOXLIST/BOX'))" />
</expression>
<while name="while" bounds="284,3518,32,49" type="2" collection="newBoxElementList" element="newBoxElement">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="245,3597,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="230,3676,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('boxName',getXmlData('newBoxElement','/BOX/BOXNAME'))" />
<function value="setVariable('panelElementList',getElementList('newBoxElement','/BOX/PANELLIST/PANEL'))" />
<function value="setVariable('boxPanelQty',getListSize('panelElementList'))" />
<function value="setVariable('newBoxPanelNameList',getXmlDataList('newBoxElement','/BOX/PANELLIST/PANEL/PANELNAME'))" />
</expression>
<invoke name="ProductServiceUtil getSinglePanelQuantityByPanelList" type="invokebean" description="public long[] getSinglePanelQuantityByPanelList(java.util.List panelNameList, java.lang.String sitename)" bounds="483,3711,215,102" partnerLink="ProductServiceUtil" partnerLinkType="ProductServiceUtil" operation="getSinglePanelQuantityByPanelList" operationDesc="public long[] getSinglePanelQuantityByPanelList(java.util.List panelNameList, java.lang.String sitename)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="newBoxPanelNameList" type="java.util.List" />
<input variable="sitename" type="java.lang.String" />
<output variable="boxProductQuantity" />
</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="186,3768,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>
<expression name="expression" type="expression" bounds="230,3900,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('palletName',getMapValue('boxPalletMap', getVariable('boxName')))" />
</expression>
<invoke name="PackingGroupServiceUtil makeCreateInfoSemi" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfoSemi(java.lang.String SiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking originalPackingGroup, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String packingGroupName, java.lang.String packingGroupType, long materialQuantity, long[] productQuantity, java.lang.String locationName)" bounds="-118,3992,837,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeCreateInfoSemi" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfoSemi(java.lang.String SiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking originalPackingGroup, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String packingGroupName, java.lang.String packingGroupType, long materialQuantity, long[] productQuantity, java.lang.String locationName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="SiteName" type="java.lang.String" />
<input variable="originalBoxInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="boxName" type="java.lang.String" />
<input constant="Box" type="java.lang.String" />
<input variable="boxPanelQty" type="long" />
<input variable="boxProductQuantity" />
<input variable="locationName" type="java.lang.String" />
<output variable="boxCreateInfo" />
</invoke>
<expression name="expression" type="expression" bounds="230,4124,140,62">
<source idx="0" terminal="5,A" />
<function value="addListValue('boxCreateInfoList', getVariable('boxCreateInfo'))" />
</expression>
<while name="while" bounds="284,4216,32,49" type="2" collection="panelElementList" element="panelElement">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="245,4295,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="230,4374,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('panelName',getXmlData('panelElement','/PANEL/PANELNAME'))" />
<function value="setField('assignedPanelKey','productName',getVariable('panelName'))" />
<function value="setField('assignedPanelKey','siteName','B10')" />
<function value="addListValue('assignedPanelKeyList', getVariable('assignedPanelKey'))" />
<function value="setVariable('assignedPanelKey',newInstance('com.cim.idm.wmspackage.product.management.data.ProductKey'))" />
</expression>
<whileend name="whileend" type="whileend" bounds="245,4456,110,49">
<source idx="0" terminal="5,A" />
</whileend>
</while>
<expression name="expression" type="expression" bounds="230,4535,140,62">
<source idx="0" terminal="5,A" />
<function value="setField('assignBoxInfo','packingGroupName',getVariable('boxName'))" />
</expression>
<invoke name="ProductServiceImpl assignBox" type="invokebean" description="public void assignBox(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.product.management.info.AssignPackingGroupInfo assignPackingGroupInfo)" bounds="170,4627,260,102" partnerLink="ProductServiceImpl" partnerLinkType="ProductServiceImpl" operation="assignBox" operationDesc="public void assignBox(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.product.management.info.AssignPackingGroupInfo assignPackingGroupInfo)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="assignedPanelKeyList" type="java.util.List" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="assignBoxInfo" type="com.cim.idm.wmspackage.product.management.info.AssignPackingGroupInfo" />
</invoke>
<expression name="expression" type="expression" bounds="230,4759,141,65">
<source idx="0" terminal="5,A" />
<function value="setVariable('assignedPanelKeyList',newInstance('java.util.ArrayList', 10))" />
</expression>
<whileend name="whileend" type="whileend" bounds="245,4844,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="197,4923,206,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="Create" 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="PackingGroupServiceImpl createPackingGroups" type="invokebean" description="public void createPackingGroups(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List createInfoList)" bounds="214,5055,173,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="createPackingGroups" operationDesc="public void createPackingGroups(com.cim.idm.framework.data.EventInfo eventInfo, java.util.List createInfoList)" 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>
<whileend name="whileend" type="whileend" bounds="245,5177,110,49">
<source idx="0" terminal="5,A" />
</whileend>
</while>
<expression name="expression" type="expression" bounds="230,5256,140,62">
<source idx="0" terminal="5,A" />
<function value="addMap(getVariable('boxUserColumns'),'packingState','Completed')" />
<function value="addMap(getVariable('boxUserColumns'),'locationName','')" />
<function value="addMap(getVariable('boxUserColumns'),'subPackingQuantity',0)" />
<function value="addMap(getVariable('boxUserColumns'),'productQuantity',0)" />
<function value="addMap(getVariable('boxUserColumns'),'superProductPackingName','')" />
<function value="addMap(getVariable('boxUserColumns'),'QPanelQuantity',0)" />
</expression>
<invoke name="EventInfoUtil makeEventInfo" type="invokebean" description="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" bounds="135,5348,330,102" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, 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="action_exceptAction" type="java.lang.String" />
<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="PackingGroupServiceUtil makeBoxSetEventInfo" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo makeBoxSetEventInfo(java.util.Map boxUserColumns, java.util.Map productUserColumns)" bounds="192,5480,217,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeBoxSetEventInfo" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo makeBoxSetEventInfo(java.util.Map boxUserColumns, java.util.Map productUserColumns)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="boxUserColumns" type="java.util.Map" />
<input variable="productUserColumns" type="java.util.Map" />
<output variable="setBoxCompleteInfo" />
</invoke>
<invoke name="PackingGroupServiceImpl makeCompleted" type="invokebean" description="public void makeCompleted(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo setEventInfo)" bounds="163,5612,274,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="makeCompleted" operationDesc="public void makeCompleted(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo setEventInfo)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="originalBoxKeyList" type="java.util.List" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="setBoxCompleteInfo" type="com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo" />
</invoke>
</case>
<otherwise name="otherwise" type="otherwise" bounds="809,2965,61,49">
<source idx="0" terminal="5,A" />
<empty name="empty" bounds="769,3044,141,65">
<source idx="0" terminal="5,A" />
</empty>
</otherwise>
<switchend name="switchend" type="switchend" bounds="245,5734,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
<while name="while" bounds="284,5813,32,49" type="2" collection="palletElementList" element="palletElement">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="245,5892,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="230,5971,140,62">
<source idx="0" terminal="5,A" />
<function value="setVariable('palletName',getXmlData('palletElement','/PALLET/PALLETNAME'))" />
<function value="setVariable('boxNameList', getXmlDataList('palletElement','/PALLET/BOXLIST/BOX/BOXNAME'))" />
<function value="setVariable('boxQty',getListSize('boxNameList'))" />
<function value="setVariable('newPalletBoxElementList',getElementList('palletElement','/PALLET/BOXLIST/BOX'))" />
</expression>
<invoke name="EventInfoUtil makeEventInfo" type="invokebean" description="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" bounds="230,6063,141,105" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String behaviorName, 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="action_exceptAction" type="java.lang.String" />
<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>
<while name="while" bounds="284,6198,32,49" type="2" collection="newPalletBoxElementList" element="newPalletBoxElement">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="269,6277,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="230,6356,141,65">
<source idx="0" terminal="5,A" />
<function value="setField('boxkey','siteName',getVariable('SiteName'))" />
<function value="setField('boxkey','productPackingName',getXmlData('newPalletBoxElement','/BOX/BOXNAME'))" />
<function value="addListValue('boxkeyList', getVariable('boxkey'))" />
<function value="setVariable('boxkey',newInstance('com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey'))" />
</expression>
<whileend name="whileend" type="whileend" bounds="273,6441,110,49">
<source idx="0" terminal="5,A" />
</whileend>
</while>
<expression name="expression" type="expression" bounds="230,6520,141,65">
<source idx="0" terminal="5,A" />
<function value="addMap(getVariable('boxAssignPalletUserColumns'),'superProductPackingName',getVariable('palletName'))" />
</expression>
<invoke name="PackingGroupServiceUtil makeBoxSetEventInfo" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo makeBoxSetEventInfo(java.util.Map boxUserColumns, java.util.Map productUserColumns)" bounds="230,6615,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeBoxSetEventInfo" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo makeBoxSetEventInfo(java.util.Map boxUserColumns, java.util.Map productUserColumns)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="boxAssignPalletUserColumns" type="java.util.Map" />
<input variable="productUserColumns" type="java.util.Map" />
<output variable="setBoxAssignPalletInfo" />
</invoke>
<invoke name="PackingGroupServiceImpl setEvent" type="invokebean" description="public void setEvent(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo setEventInfo)" bounds="175,6750,251,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="setEvent" operationDesc="public void setEvent(java.util.List keyList, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo setEventInfo)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="boxkeyList" type="java.util.List" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="setBoxAssignPalletInfo" type="com.cim.idm.wmspackage.productpacking.management.info.SetEventInfo" />
</invoke>
<invoke name="PackingGroupServiceUtil getBoxsPanelQuantity" type="invokebean" description="public long[] getBoxsPanelQuantity(java.lang.String siteName, java.util.List boxNameList)" bounds="230,6882,140,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getBoxsPanelQuantity" operationDesc="public long[] getBoxsPanelQuantity(java.lang.String siteName, java.util.List boxNameList)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="boxNameList" />
<output variable="palletProductQuantity" />
</invoke>
<invoke name="PackingGroupServiceUtil makeCreateInfoSemi" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfoSemi(java.lang.String SiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking originalPackingGroup, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String packingGroupName, java.lang.String packingGroupType, long materialQuantity, long[] productQuantity, java.lang.String locationName)" bounds="-87,7014,774,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeCreateInfoSemi" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.CreateInfo makeCreateInfoSemi(java.lang.String SiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPacking originalPackingGroup, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String packingGroupName, java.lang.String packingGroupType, long materialQuantity, long[] productQuantity, java.lang.String locationName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="SiteName" type="java.lang.String" />
<input variable="originalPalletInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="palletName" type="java.lang.String" />
<input constant="Pallet" type="java.lang.String" />
<input variable="boxQty" type="long" />
<input variable="palletProductQuantity" />
<input variable="locationName" type="java.lang.String" />
<output variable="palletCreateInfo" />
</invoke>
<expression name="expression" type="expression" bounds="230,7146,140,62">
<source idx="0" terminal="5,A" />
<function value="addListValue('palletCreateInfoList', getVariable('palletCreateInfo'))" />
<function value="setVariable('boxkeyList', newInstance('java.util.ArrayList', 20))" />
</expression>
<invoke name="PackingGroupServiceImpl createAndUpdatePackingGroup" type="invokebean" description="public void createPackingGroup(com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.CreateInfo createInfo)" bounds="218,7238,165,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="createAndUpdatePackingGroup" operationDesc="public void createPackingGroup(com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.CreateInfo createInfo)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="palletCreateInfo" type="com.cim.idm.wmspackage.productpacking.management.info.CreateInfo" />
</invoke>
<whileend name="whileend" type="whileend" bounds="245,7624,110,49">
<source idx="0" terminal="5,A" />
</whileend>
</while>
<invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="188,7703,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="OICSender" type="java.lang.String" />
</invoke>
<invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="230,7835,140,102" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
</invoke>
</otherwise>
<case name="case" type="case" condition="getField('storageSpec','storageOperationType') = 'Auto'&#xA; and getField('storageSpec','storageUseType') = 'Storage'" bounds="519,530,60,19">
<source idx="0" terminal="5,A" />
<throw name="throw" bounds="481,561,141,65" faultName="catchAll" variable="customException">
<source idx="0" terminal="5,A" />
<input constant="PALLET-0102" type="java.lang.String" />
<input variable="originalPalletName" type="java.lang.Object" />
</throw>
</case>
<switchend name="switchend" type="switchend" bounds="492,7957,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
</sequence>
</process>