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

327 lines
34 KiB
XML

<?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="PalletInfoRequestfor370.bpel">
<partnerLinks>
<partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
<partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
<partnerLink name="XmlUtil" partnerLinkType="bean:XmlUtil" />
<partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
<partnerLink name="PackingGroupServiceUtil" partnerLinkType="bean:PackingGroupServiceUtil" />
<partnerLink name="CommonValidation" partnerLinkType="bean:CommonValidation" />
<partnerLink name="PackingGroupServiceImpl" partnerLinkType="bean:PackingGroupServiceImpl" />
</partnerLinks>
<variables>
<variable name="B17" messageType="java.lang.String"></variable>
<variable name="B9" messageType="java.lang.String"></variable>
<variable name="boxName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/PALLETNAME')" />
<variable name="boxNameList" messageType="java.util.List"></variable>
<variable name="boxQty" messageType="long"></variable>
<variable name="bs_cellpallet" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BS_CELLPackingGroup"></variable>
<variable name="bs_modpallet" messageType="com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup"></variable>
<variable name="checkInCode" messageType="java.lang.String"></variable>
<variable name="checkValue" messageType="java.lang.String"></variable>
<variable name="count" messageType="int"></variable>
<variable name="customException" messageType="com.cim.idm.fgwmsextend.generic.errorHandler.CustomException"></variable>
<variable name="deflag" messageType="java.lang.String"></variable>
<variable name="error" messageType="java.lang.Exception"></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="fabpallet" messageType="com.cim.idm.fgwmsextend.customizing.management.data.fab.FABPalletShippingToFGMS"></variable>
<variable name="firstBoxName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/BOXLIST/BOX/BOXNAME')" />
<variable name="grade" messageType="java.lang.String"></variable>
<variable name="isFullPallet" messageType="java.lang.String"></variable>
<variable name="isStockInFGMS" messageType="boolean"></variable>
<variable name="language" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/LANGUAGE')" />
<variable name="locationName" messageType="java.lang.String"></variable>
<variable name="materialType" messageType="java.lang.String"></variable>
<variable name="message" messageType="org.jdom.Document"></variable>
<variable name="messageBoxName" messageType="java.lang.String"></variable>
<variable name="messageBoxNameList" messageType="java.util.List" expression="getXmlDataList('message','/Message/Body/BOXLIST/BOX/BOXNAME')" />
<variable name="modpallet" messageType="com.cim.idm.fgwmsextend.customizing.management.data.module.ProcessGroup"></variable>
<variable name="PALLET-0113" messageType="java.lang.String"></variable>
<variable name="PALLET-9000" messageType="java.lang.String"></variable>
<variable name="palletFrom" messageType="java.lang.String"></variable>
<variable name="palletInfo" messageType="com.cim.idm.wmspackage.productpacking.management.data.ProductPacking"></variable>
<variable name="PalletInfoRequestReply" messageType="org.jdom.Document"></variable>
<variable name="palletName" messageType="java.lang.String"></variable>
<variable name="palletSize" messageType="java.lang.String"></variable>
<variable name="portName" messageType="java.lang.String" expression="getXmlData('message','/Message/Body/UNITNAME')" />
<variable name="productSpecName" messageType="java.lang.String"></variable>
<variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
<variable name="returnMessage" messageType="java.lang.String"></variable>
<variable name="revisionCode" messageType="java.lang.String"></variable>
<variable name="singlePanelQty" messageType="long"></variable>
<variable name="WMSSender" messageType="java.lang.String"></variable>
</variables>
<faultHandlers name="faultHandlers" bounds="1010,-267,279,776">
<catchAll name="catchAll" type="catchAll" bounds="22,23,240,692">
<invoke name="TransactionUtil rollbackTransaction" type="invokebean" description="public void rollbackTransaction()" bounds="41,9,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="rollbackTransaction" operationDesc="public void rollbackTransaction()" ignoreThrow="false" fork="false" />
<invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="40,122,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="PalletInfoRequestReply" />
</invoke>
<invoke name="ESBService getReturnErrorMessage" type="invokebean" description="public java.lang.String getReturnErrorMessage(java.lang.String lanuage, java.lang.Exception e)" bounds="38,234,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="getReturnErrorMessage" operationDesc="public java.lang.String getReturnErrorMessage(java.lang.String lanuage, java.lang.Exception e)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="language" type="java.lang.String" />
<input variable="error" type="java.lang.Exception" />
<output variable="returnMessage" />
</invoke>
<expression name="expression" type="expression" bounds="38,349,141,65">
<source idx="0" terminal="5,A" />
<function value="setXmlData('PalletInfoRequestReply','/Message/Header/MESSAGENAME','PalletInfoRequestReplyfor370')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','RETURNCODE','ERR01')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','RETURNMESSAGE',getVariable('returnMessage'))" />
</expression>
<invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" bounds="39,431,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(java.lang.String replySubject, org.jdom.Document doc, org.jdom.Element element, java.lang.String senderName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="replySubjectName" />
<input variable="PalletInfoRequestReply" />
<input constant="MODWMSSender" type="java.lang.String" />
</invoke>
<invoke name="ESBService makeWMSErrorMessageLog" type="invokebean" description="public void makeWMSErrorMessageLog(org.jdom.Document doc)" bounds="26,550,168,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="makeWMSErrorMessageLog" operationDesc="public void makeWMSErrorMessageLog(org.jdom.Document doc)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="PalletInfoRequestReply" type="org.jdom.Document" />
</invoke>
</catchAll>
</faultHandlers>
<sequence>
<receive name="PalletInfoRequestfor370" bounds="448,30,149,62">
<input variable="message" type="org.jdom.Document" />
</receive>
<invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="452,122,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
</invoke>
<invoke name="PackingGroupServiceUtil getNotFullPalletName" type="invokebean" description="public java.lang.String getNotFullPalletName(java.lang.String siteName, java.lang.String boxName)" bounds="403,257,239,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getNotFullPalletName" operationDesc="public java.lang.String getNotFullPalletName(java.lang.String siteName, java.lang.String boxName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="boxName" type="java.lang.String" />
<output variable="palletName" />
</invoke>
<invoke name="PackingGroupServiceUtil checkPalletFrom" type="invokebean" description="public static java.lang.String checkPalletFrom(java.lang.String siteName, java.lang.String packingGroupName)" bounds="403,389,239,102" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPalletFrom" operationDesc="public static java.lang.String checkPalletFrom(java.lang.String siteName, java.lang.String packingGroupName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<output variable="palletFrom" />
</invoke>
<switch name="switch" bounds="506,521,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="467,600,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="getVariable('palletFrom')='MOD'" bounds="265,679,60,49">
<source idx="0" terminal="5,A" />
<invoke name="PackingGroupServiceUtil getPalletInfo" type="invokebean" description="public java.lang.String getPalletInfo(java.lang.String palletName)" bounds="225,758,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPalletInfo" operationDesc="public java.lang.String getPalletInfo(java.lang.String palletName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="palletName" type="java.lang.String" />
<output variable="checkValue" />
<fault faultName="catchAll" variable="error" />
</invoke>
<switch name="switch" bounds="279,893,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="240,972,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="isNull('checkValue') = 'true'" bounds="114,1051,60,19">
<source idx="0" terminal="5,A" />
<invoke name="CommonValidation throwException" type="invokebean" description="public void throwException(java.lang.String errorcode, java.lang.Object para1)" bounds="74,1100,141,105" partnerLink="CommonValidation" partnerLinkType="CommonValidation" operation="throwException" operationDesc="public void throwException(java.lang.String errorcode, java.lang.Object para1)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="PALLET-9000" type="java.lang.String" />
<input variable="palletName" type="java.lang.Object" />
<fault faultName="catchAll" variable="error" />
</invoke>
</case>
<otherwise name="otherwise" type="otherwise" bounds="403,1051,88,19">
<source idx="0" terminal="5,A" />
<invoke name="PackingGroupServiceUtil checkReceivePackingGroupAlreadyExist" type="invokebean" description="public void checkReceivePackingGroupAlreadyExist(java.lang.String SiteName, java.lang.String packingGroupName)" bounds="328,1100,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 constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<fault faultName="catchAll" variable="error" />
</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="338,1232,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 constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<output variable="bs_modpallet" />
</invoke>
<invoke name="PackingGroupServiceUtil getBoxList" type="invokebean" description="public java.util.List getBoxList(com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup bs_modpallet)" bounds="377,1364,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>
<expression name="expression" type="expression" bounds="377,1496,141,65">
<source idx="0" terminal="5,A" />
<function value="setVariable('boxQty',getListSize('boxNameList'))" />
<function value="setVariable('productSpecName',getField('bs_modpallet','productSpecName'))" />
</expression>
<invoke name="PackingGroupServiceUtil checkPalletFull2" type="invokebean" description="public java.lang.String checkPalletFull2(java.lang.String SiteName, java.lang.String palletName)" bounds="377,1591,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPalletFull2" operationDesc="public java.lang.String checkPalletFull2(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<output variable="isFullPallet" />
<fault faultName="catchAll" variable="error" />
</invoke>
<invoke name="PackingGroupServiceUtil getPalletSize2" type="invokebean" description="public java.lang.String getPalletSize2(java.lang.String SiteName, java.lang.String palletName)" bounds="377,1726,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPalletSize2" operationDesc="public java.lang.String getPalletSize2(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<output variable="palletSize" />
<fault faultName="catchAll" variable="error" />
</invoke>
</otherwise>
<switchend name="switchend" type="switchend" bounds="240,1851,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
<invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="218,1930,155,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="PalletInfoRequestReply" />
</invoke>
<expression name="expression" type="expression" bounds="225,2062,141,65">
<source idx="0" terminal="5,A" />
<function value="setXmlData('PalletInfoRequestReply','/Message/Header/MESSAGENAME','PalletInfoRequestReplyfor370')" />
<function value="setVariable('productSpecName',getField('bs_modpallet','productSpecName'))" />
<function value="setVariable('grade',getField('bs_modpallet','packingGrade'))" />
<function value="setVariable('revisionCode',getField('bs_modpallet','revisionCode'))" />
<function value="setVariable('checkInCode',getField('bs_modpallet','checkInCode'))" />
<function value="setVariable('deflag',getField('bs_modpallet','domesticExport'))" />
<function value="setVariable('boxQty',getField('bs_modpallet','subPackingQuantity'))" />
<function value="setVariable('singlePanelQty',getField('bs_modpallet','productQuantity'))" />
<function value="removeElement('PalletInfoRequestReply','/Message/Body/BOXLIST')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','TRAYNAME','')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','MATRIALTYPE','Normal')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PRODUCTSPECNAME',getVariable('productSpecName'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','GRADE',getVariable('grade'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','REVISIONCODE',getVariable('revisionCode'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','CHECKINCODE',getVariable('checkInCode'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','D_EFLAG',getVariable('deflag'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','BOXQTY',toString(getVariable('boxQty')))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PANELQTY',toString(getVariable('singlePanelQty')))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PALLETSTATE',getVariable('isFullPallet'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PALLETSIZE',getVariable('palletSize'))" />
</expression>
</case>
<otherwise name="otherwise" type="otherwise" bounds="833,679,88,56">
<source idx="0" terminal="5,A" />
<invoke name="PackingGroupServiceUtil getPalletInfoMES" type="invokebean" description="public java.lang.String getPalletInfoMES(java.lang.String palletName)" bounds="807,765,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPalletInfoMES" operationDesc="public java.lang.String getPalletInfoMES(java.lang.String palletName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input variable="palletName" type="java.lang.String" />
<output variable="checkValue" />
<fault faultName="catchAll" variable="error" />
</invoke>
<switch name="switch" bounds="861,900,33,33" type="switch">
<source idx="0" terminal="5,A" />
<switchstart name="switchstart" type="switchstart" bounds="822,979,110,49">
<source idx="0" terminal="5,A" />
</switchstart>
<case name="case" type="case" condition="getVariable('checkValue')='MOD'" bounds="720,1058,60,52">
<source idx="0" terminal="5,A" />
<invoke name="PackingGroupServiceImpl MODShipPalletToFGMS" type="invokebean" description="public void MODShipPalletToFGMS(java.lang.String SiteName, java.lang.String palletName)" bounds="680,1140,140,102" partnerLink="PackingGroupServiceImpl" partnerLinkType="PackingGroupServiceImpl" operation="MODShipPalletToFGMS" operationDesc="public void MODShipPalletToFGMS(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<fault faultName="catchAll" variable="error" />
</invoke>
<invoke name="PackingGroupServiceUtil checkReceivePackingGroupAlreadyExist" type="invokebean" description="public void checkReceivePackingGroupAlreadyExist(java.lang.String SiteName, java.lang.String packingGroupName)" bounds="631,1272,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 constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<fault faultName="catchAll" variable="error" />
</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="641,1404,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 constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<output variable="bs_modpallet" />
</invoke>
<invoke name="PackingGroupServiceUtil getBoxList" type="invokebean" description="public java.util.List getBoxList(com.cim.idm.fgwmsextend.customizing.management.data.BS_MODPackingGroup bs_modpallet)" bounds="680,1536,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>
<expression name="expression" type="expression" bounds="680,1668,141,65">
<source idx="0" terminal="5,A" />
<function value="setVariable('boxQty',getListSize('boxNameList'))" />
<function value="setVariable('productSpecName',getField('bs_modpallet','productSpecName'))" />
</expression>
<invoke name="PackingGroupServiceUtil checkPalletFull2" type="invokebean" description="public java.lang.String checkPalletFull2(java.lang.String SiteName, java.lang.String palletName)" bounds="680,1763,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="checkPalletFull2" operationDesc="public java.lang.String checkPalletFull2(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="productSpecName" type="java.lang.String" />
<input variable="boxQty" type="long" />
<output variable="isFullPallet" />
<fault faultName="catchAll" variable="error" />
</invoke>
<invoke name="PackingGroupServiceUtil getPalletSize2" type="invokebean" description="public java.lang.String getPalletSize2(java.lang.String SiteName, java.lang.String palletName)" bounds="680,1898,141,105" partnerLink="PackingGroupServiceUtil" partnerLinkType="PackingGroupServiceUtil" operation="getPalletSize2" operationDesc="public java.lang.String getPalletSize2(java.lang.String SiteName, java.lang.String palletName)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="B17" type="java.lang.String" />
<input variable="palletName" type="java.lang.String" />
<output variable="palletSize" />
<fault faultName="catchAll" variable="error" />
</invoke>
<invoke name="XmlUtil clone" type="invokebean" description="public org.jdom.Document clone(org.jdom.Document doc)" bounds="673,2033,155,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="PalletInfoRequestReply" />
</invoke>
<expression name="expression" type="expression" bounds="680,2165,141,65">
<source idx="0" terminal="5,A" />
<function value="setVariable('productSpecName',getField('bs_modpallet','productSpecName'))" />
<function value="setVariable('grade',getField('bs_modpallet','packingGrade'))" />
<function value="setVariable('revisionCode',getField('bs_modpallet','revisionCode'))" />
<function value="setVariable('checkInCode',getField('bs_modpallet','checkInCode'))" />
<function value="setVariable('deflag',getField('bs_modpallet','domesticExport'))" />
<function value="setVariable('boxQty',getField('bs_modpallet','subPackingQuantity'))" />
<function value="setVariable('singlePanelQty',getField('bs_modpallet','productQuantity'))" />
<function value="removeElement('PalletInfoRequestReply','/Message/Body/BOXLIST')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','TRAYNAME','')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','MATRIALTYPE','Normal')" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PRODUCTSPECNAME',getVariable('productSpecName'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','GRADE',getVariable('grade'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','REVISIONCODE',getVariable('revisionCode'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','CHECKINCODE',getVariable('checkInCode'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','D_EFLAG',getVariable('deflag'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','BOXQTY',toString(getVariable('boxQty')))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PANELQTY',toString(getVariable('singlePanelQty')))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PALLETSTATE',getVariable('isFullPallet'))" />
<function value="addElement('PalletInfoRequestReply','/Message/Body','PALLETSIZE',getVariable('palletSize'))" />
<function value="setXmlData('PalletInfoRequestReply','/Message/Header/MESSAGENAME','PalletInfoRequestReply')" />
</expression>
</case>
<otherwise name="otherwise" type="otherwise" bounds="960,1058,88,54">
<source idx="0" terminal="5,A" />
<invoke name="CommonValidation throwException" type="invokebean" description="public void throwException(java.lang.String errorcode, java.lang.Object para1)" bounds="934,1142,141,105" partnerLink="CommonValidation" partnerLinkType="CommonValidation" operation="throwException" operationDesc="public void throwException(java.lang.String errorcode, java.lang.Object para1)" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
<input constant="PALLET-9000" type="java.lang.String" />
<input variable="palletName" type="java.lang.Object" />
<fault faultName="catchAll" variable="error" />
</invoke>
</otherwise>
<switchend name="switchend" type="switchend" bounds="822,2250,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
</otherwise>
<switchend name="switchend" type="switchend" bounds="240,2319,110,49">
<source idx="0" terminal="5,A" />
<source idx="1" terminal="5,A" />
</switchend>
</switch>
<invoke name="ESBService sendReplyBodyBySender" type="invokebean" description="public void sendReplyBodyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="145,2398,300,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="PalletInfoRequestReply" type="org.jdom.Document" />
<input constant="MODWMSSender" type="java.lang.String" />
</invoke>
<invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="225,2530,141,105" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
<source idx="0" terminal="5,A" />
</invoke>
</sequence>
</process>