143 lines
13 KiB
Plaintext
143 lines
13 KiB
Plaintext
|
<?xml version="1.0" encoding="euc-kr"?>
|
||
|
<process xmlns:bean="http://bean.boe.com/" xmlns:bpel="http://bpel.boe.com/" targetNamespace="http://bpel.boe.com/bpelj/" name="RMAPalletStockOut.bpel">
|
||
|
<partnerLinks>
|
||
|
<partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
|
||
|
<partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
|
||
|
<partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
|
||
|
<partnerLink name="PackingGroupServiceUtil" partnerLinkType="bean:PackingGroupServiceUtil" />
|
||
|
<partnerLink name="PackingGroupServiceImpl" partnerLinkType="bean:PackingGroupServiceImpl" />
|
||
|
<partnerLink name="StorageServiceImpl" partnerLinkType="bean:StorageServiceImpl" />
|
||
|
<partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
|
||
|
</partnerLinks>
|
||
|
<variables>
|
||
|
<variable name="boxUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
|
||
|
<variable name="customException" messageType="com.cim.idm.fgwmsextend.generic.errorHandler.CustomException"></variable>
|
||
|
<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="eventUser" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/EVENTUSER')" />
|
||
|
<variable name="InService" messageType="java.lang.String"></variable>
|
||
|
<variable name="locationName" messageType="java.lang.String"></variable>
|
||
|
<variable name="makeStockOutInfo" messageType="com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo"></variable>
|
||
|
<variable name="MaterialPalletStockOut" messageType="java.lang.String"></variable>
|
||
|
<variable name="message" messageType="org.jdom.Document"></variable>
|
||
|
<variable name="OICSender" messageType="java.lang.String"></variable>
|
||
|
<variable name="palletInfo" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
|
||
|
<variable name="palletName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/PALLETNAME')" />
|
||
|
<variable name="palletUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
|
||
|
<variable name="productUserColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
|
||
|
<variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
|
||
|
<variable name="RMAPalletStockOut" messageType="org.jdom.Document"></variable>
|
||
|
<variable name="siteName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/SITENAME')" />
|
||
|
</variables>
|
||
|
<sequence>
|
||
|
<receive name="RMAPalletStockOut" bounds="353,8,149,94">
|
||
|
<input variable="message" type="org.jdom.Document" />
|
||
|
</receive>
|
||
|
<invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="342,150,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="268,282,289,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="MaterialPalletStockOut" 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 getPackingGroupData" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.data.ProductPacking getPackingGroupData(java.lang.String originalPalletName, java.lang.String siteName)" bounds="342,414,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="palletName" type="java.lang.String" />
|
||
|
<input variable="siteName" type="java.lang.String" />
|
||
|
<output variable="palletInfo" />
|
||
|
</invoke>
|
||
|
<switch name="switch" bounds="392,546,33,33" type="switch">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<switchstart name="switchstart" type="switchstart" bounds="377,625,110,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
</switchstart>
|
||
|
<case name="case" type="case" condition="getField('palletInfo','holdState') = 'Y'" bounds="145,704,32,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<throw name="throw" bounds="91,783,140,62" faultName="CatchAll" variable="customException">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<input constant="PALLET-0101" type="java.lang.String" />
|
||
|
<input variable="palletName" type="java.lang.Object" />
|
||
|
</throw>
|
||
|
</case>
|
||
|
<case name="case" type="case" condition="getField('palletInfo','oqaRtFlag') = 'Y'" bounds="396,704,32,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<throw name="throw" bounds="342,783,140,62" faultName="CatchAll" variable="customException">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<input constant="PALLET-0112" type="java.lang.String" />
|
||
|
<input variable="palletName" type="java.lang.Object" />
|
||
|
</throw>
|
||
|
</case>
|
||
|
<otherwise name="otherwise" type="otherwise" bounds="793,704,61,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<expression name="expression" type="expression" bounds="753,783,140,62">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<function value="addMap(getVariable('boxUserColumns'),'locationName','')" />
|
||
|
<function value="addMap(getVariable('palletUserColumns'),'locationName','')" />
|
||
|
<function value="setVariable('locationName',getField(getVariable('palletInfo'),'locationName'))" />
|
||
|
</expression>
|
||
|
<invoke name="PackingGroupServiceUtil makeStockOutInfo" type="invokebean" description="public com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo(java.util.Map palletUserColumns, java.util.Map boxUserColumns, java.util.Map productUserColumns)" bounds="669,875,309,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="makeStockOutInfo" operationDesc="public com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo(java.util.Map palletUserColumns, java.util.Map boxUserColumns, java.util.Map productUserColumns)" ignoreThrow="false" fork="false">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<input variable="palletUserColumns" type="java.util.Map" />
|
||
|
<input variable="boxUserColumns" type="java.util.Map" />
|
||
|
<input variable="productUserColumns" type="java.util.Map" />
|
||
|
<output variable="makeStockOutInfo" />
|
||
|
</invoke>
|
||
|
<invoke name="PackingGroupServiceImpl makeStockOut" type="invokebean" description="public void makeStockOut(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking pallet, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo)" bounds="711,1007,225,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="makeStockOut" operationDesc="public void makeStockOut(com.cim.idm.wmspackage.productpacking.management.data.ProductPacking pallet, com.cim.idm.framework.data.EventInfo eventInfo, com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo makeStockOutInfo)" ignoreThrow="false" fork="false">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<input variable="palletInfo" type="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking" />
|
||
|
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
|
||
|
<input variable="makeStockOutInfo" type="com.cim.idm.wmspackage.productpacking.management.info.MakeStockOutInfo" />
|
||
|
</invoke>
|
||
|
<switch name="switch" bounds="803,1139,33,33" type="switch">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<switchstart name="switchstart" type="switchstart" bounds="788,1218,110,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
</switchstart>
|
||
|
<case name="case" type="case" condition="getVariable('locationName')!=''" bounds="670,1297,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="562,1376,249,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="locationName" type="java.lang.String" />
|
||
|
<input constant="InService" type="java.lang.String" />
|
||
|
<input constant="Empty" type="java.lang.String" />
|
||
|
<input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
|
||
|
</invoke>
|
||
|
</case>
|
||
|
<otherwise name="otherwise" type="otherwise" bounds="931,1297,61,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<empty name="empty" bounds="891,1376,140,62">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
</empty>
|
||
|
</otherwise>
|
||
|
<switchend name="switchend" type="switchend" bounds="792,1498,110,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<source idx="1" terminal="5,A" />
|
||
|
</switchend>
|
||
|
</switch>
|
||
|
</otherwise>
|
||
|
<switchend name="switchend" type="switchend" bounds="381,1567,110,49">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
<source idx="1" terminal="5,A" />
|
||
|
<source idx="2" terminal="5,A" />
|
||
|
</switchend>
|
||
|
</switch>
|
||
|
<invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="300,1646,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="342,1778,140,102" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
|
||
|
<source idx="0" terminal="5,A" />
|
||
|
</invoke>
|
||
|
</sequence>
|
||
|
</process>
|
||
|
|