ziwms-svr/ziwms-parent/Environment/config/bpels/AWXsvr/DeassignLocationRequest.bpel
2025-03-19 10:28:25 +08:00

175 lines
16 KiB
XML
Raw Blame History

<?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="DeassignLocationRequest.bpel">
<partnerLinks>
<partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
<partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
<partnerLink name="StorageServiceUtil" partnerLinkType="bean:StorageServiceUtil" />
<partnerLink name="StorageServiceImpl" partnerLinkType="bean:StorageServiceImpl" />
<partnerLink name="PackingGroupServiceUtil" partnerLinkType="bean:PackingGroupServiceUtil" />
<partnerLink name="PackingGroupServiceImpl" partnerLinkType="bean:PackingGroupServiceImpl" />
<partnerLink name="XmlUtil" partnerLinkType="bean:XmlUtil" />
<partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
</partnerLinks>
<variables>
<variable name="91" messageType="java.lang.String"></variable>
<variable name="DeassignLocationRequestReply" messageType="org.jdom.Document"></variable>
<variable name="durableUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
<variable name="Empty" 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="InService" messageType="java.lang.String"></variable>
<variable name="location" messageType="java.lang.String"></variable>
<variable name="M" messageType="java.lang.String"></variable>
<variable name="message" messageType="org.jdom.Document"></variable>
<variable name="MODWMSSender" messageType="java.lang.String"></variable>
<variable name="palletInfo" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
<variable name="palletKey" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey" expression="newInstance('com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey')" />
<variable name="palletList" messageType="java.util.List"></variable>
<variable name="palletName" messageType="java.lang.String"></variable>
<variable name="palletUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
<variable name="prePalletLocationName" messageType="java.lang.String"></variable>
<variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
<variable name="shelfData" messageType="com.cim.idm.wmspackage.storage.management.data.Storage"></variable>
<variable name="siteName" messageType="java.lang.String"></variable>
<variable name="stockState" messageType="java.lang.String"></variable>
<variable name="storageSpec" messageType="com.cim.idm.wmspackage.storage.management.data.StorageSpec"></variable>
<variable name="trayName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/LOCATIONNAME')" />
<variable name="unitName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/LOCATIONNAME')" />
</variables>
<Lane name="Lane" bounds="100,263,590,1251" backgroundcolor="253,250,192" />
<Lane name="Lane" bounds="115,278,590,1251" backgroundcolor="253,250,192" />
<note name="Note" bounds="138,323,91,-1">???<3F><>????????Shelf????<3F><><EFBFBD><EFBFBD>Shelf״̬<D7B4><CCAC>ΪEmpty????)</note>
<sequence>
<receive name="DeassignLocationRequest" bounds="407,30,225,84">
<input variable="message" type="org.jdom.Document" />
</receive>
<wait name="wait" timeout="1000" bounds="622,101,141,65">
<source idx="0" terminal="5,A" />
</wait>
<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="449,144,141,105" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="eventName" type="java.lang.String" />
<input constant="370WMS" 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 getStorageSpecData" type="invokebean" description="public com.cim.idm.wmspackage.storage.management.data.StorageSpec getStorageSpecData(java.lang.String siteName, java.lang.String storageName)" bounds="449,279,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 constant="B17" type="java.lang.String" />
<input variable="unitName" type="java.lang.String" />
<output variable="storageSpec" />
</invoke>
<switch name="switch" bounds="503,414,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="464,493,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="isNull('storageSpec')!='true'" bounds="380,572,32,49">
<source idx="0" terminal="5,A" />
<switch name="switch" bounds="380,651,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="341,730,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="getField('storageSpec','storageUseType') ='Storage'" bounds="265,809,32,49">
<source idx="0" terminal="5,A" />
<invoke name="StorageServiceUtil getStorageData" type="invokebean" description="public com.cim.idm.wmspackage.storage.management.data.Storage getStorageData(java.lang.String siteName, java.lang.String storageName)" bounds="211,888,141,105" partnerLink="StorageServiceUtil" partnerLinkType="StorageServiceUtil" operation="getStorageData" operationDesc="public com.cim.idm.wmspackage.storage.management.data.Storage getStorageData(java.lang.String siteName, java.lang.String storageName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="unitName" type="java.lang.String" />
<output variable="shelfData" />
</invoke>
<switch name="switch" bounds="265,1023,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="226,1102,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="getField('shelfData','useState')='Full'" bounds="166,1181,32,49">
<source idx="0" terminal="5,A" />
<invoke name="StorageServiceImpl modifyLocation" type="invokebean" description="public void modifyLocation(java.lang.String siteName, java.lang.String storageName, java.lang.String resourceState, java.lang.String useState, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="65,1260,235,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 constant="B17" type="java.lang.String" />
<input variable="unitName" type="java.lang.String" />
<input constant="InService" type="java.lang.String" />
<input constant="Empty" type="java.lang.String" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
</invoke>
</case>
<otherwise name="otherwise" type="otherwise" bounds="350,1181,61,49">
<source idx="0" terminal="5,A" />
</otherwise>
<switchend name="switchend" type="switchend" bounds="226,1382,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
</case>
<otherwise name="otherwise" type="otherwise" bounds="481,809,61,49">
<source idx="0" terminal="5,A" />
</otherwise>
<switchend name="switchend" type="switchend" bounds="337,1445,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
</case>
<otherwise name="otherwise" type="otherwise" bounds="612,572,61,49">
<source idx="0" terminal="5,A" />
</otherwise>
<switchend name="switchend" type="switchend" bounds="415,1530,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
<invoke name="PackingGroupServiceUtil getPackingGroupListByTrayName" type="invokebean" description="public java.util.List getPackingGroupListByTrayName(java.lang.String trayName)" bounds="211,1599,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPackingGroupListByTrayName" operationDesc="public java.util.List getPackingGroupListByTrayName(java.lang.String trayName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="trayName" type="java.lang.String" />
<output variable="palletList" />
</invoke>
<while name="while" bounds="267,1728,32,32" type="2" collection="palletList" element="palletInfo">
<source idx="0" terminal="5,A" />
<whilestart name="whilestart" type="whilestart" bounds="253,1783,110,49">
<source idx="0" terminal="5,A" />
</whilestart>
<expression name="expression" type="expression" bounds="211,1869,141,65">
<source idx="0" terminal="5,A" />
<function value="setVariable('palletKey',getField('palletInfo','key'))" />
<function value="setVariable('stockState',getField('palletInfo','stockState'))" />
</expression>
<invoke name="PackingGroupServiceImpl deassignTray" type="invokebean" description="public void deassignTray(java.lang.String SiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey palletkey, com.cim.idm.framework.data.EventInfo eventInfo, java.util.Map palletUserColumns, java.util.Map durableUserColumns)" bounds="211,1964,141,105" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="deassignTray" operationDesc="public void deassignTray(java.lang.String SiteName, com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey palletkey, com.cim.idm.framework.data.EventInfo eventInfo, java.util.Map palletUserColumns, java.util.Map durableUserColumns)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="palletKey" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPackingKey" />
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
<input variable="palletUserColumns" type="java.util.Map" />
<input variable="durableUserColumns" type="java.util.Map" />
</invoke>
<invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="179,2119,162,102" 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="DeassignLocationRequestReply" />
</invoke>
<expression name="expression" type="expression" bounds="190,2251,141,65">
<source idx="0" terminal="5,A" />
<function value="setXmlData('DeassignLocationRequestReply','/Message/Header/MESSAGENAME','DeassignLocationRequestReply')" />
<function value="addElement('DeassignLocationRequestReply','/Message/Body','RETURNCODE','0')" />
<function value="addElement('DeassignLocationRequestReply','/Message/Body','RETURNMESSAGE','SUCCESS')" />
</expression>
<invoke name="ESBService sendReplyBodyBySender" type="invokebean" description="public void sendReplyBodyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="152,2346,216,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBodyBySender" operationDesc="public void sendReplyBodyBySender(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="DeassignLocationRequestReply" type="org.jdom.Document" />
<input constant="MODWMSSender" type="java.lang.String" />
</invoke>
<whileend name="whileend" type="whileend" bounds="191,2514,110,49">
<source idx="0" terminal="5,A" />
</whileend>
</while>
</sequence>
</process>