<?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="ModifyMaterialPackingChargeName.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="CommonValidation" partnerLinkType="bean:CommonValidation" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialReceiveRequestServiceImpl" partnerLinkType="bean:MaterialReceiveRequestServiceImpl" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="areaName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/AREANAME')" />
        <variable name="capaCity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CAPACITY')" />
        <variable name="chargeList" messageType="java.util.List" expression="getXmlDataList('message', '//Message/Body/BOXLIST/BOX/CHARGE')" />
        <variable name="contentType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CONTENTTYPE')" />
        <variable name="description" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESCRIPTION')" />
        <variable name="erpEventTime" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVETIME')" />
        <variable name="ERPFactoryList" messageType="java.util.List" expression="getXmlDataList('message', '//Message/Body/BOXLIST/BOX/ERPFACTORY')" />
        <variable name="ERPLocationList" messageType="java.util.List" expression="getXmlDataList('message', '//Message/Body/BOXLIST/BOX/ERPLOCATION')" />
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/LASTEVENTCOMMENT')" />
        <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="holdState" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/HOLDSTATE')" />
        <variable name="itemElement" messageType="org.jdom.Element"></variable>
        <variable name="itemList" messageType="java.util.List"></variable>
        <variable name="lsatEnentComment" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/LASTEVENTCOMMENT')" />
        <variable name="materialPackingNameList" messageType="java.util.List" expression="getXmlDataList('message', '//Message/Body/BOXLIST/BOX/MATERIALPACKINGNAME')" />
        <variable name="MaterialSpecName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALSPECNAME')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="messageID" messageType="java.lang.String"></variable>
        <variable name="ModifyStorageSpec" messageType="java.lang.String"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="POName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="POReturn" messageType="java.lang.String"></variable>
        <variable name="reasonCode" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/REASONCODE')" />
        <variable name="receiveActNo" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVEACTNO')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="requestDetail" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESCRIPTION')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="s" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/S')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/SITENAME')" />
        <variable name="siteNameList" messageType="java.util.List" expression="getXmlDataList('message', '//Message/Body/BOXLIST/BOX/SITENAME')" />
        <variable name="sourceSpec" messageType="java.lang.String"></variable>
        <variable name="storageName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/STORAGENAME')" />
        <variable name="storageOperationType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/STORAGEOPERATIONTYPE')" />
        <variable name="storageUseType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/STORAGEUSETYPE')" />
        <variable name="superStorageName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SUPERSTORAGENAME')" />
        <variable name="toCharge" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CHARGE')" />
        <variable name="toErpLocation" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ERPLOCATION')" />
        <variable name="toMaterialSpecName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/TOMATERIALSPECNAME')" />
        <variable name="x" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/X')" />
        <variable name="y" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/Y')" />
        <variable name="z" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/Z')" />
    </variables>
    <sequence>
        <receive name="ModifyMaterialPackingChargeName" bounds="70,30,144,62">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="72,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="CommonValidation GetMessageID" type="invokebean" description="public java.lang.String GetMessageID(java.lang.String sitename)" bounds="72,257,141,105" partnerLink="CommonValidation" partnerLinkType="CommonValidation" operation="GetMessageID" operationDesc="public java.lang.String GetMessageID(java.lang.String sitename)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <output variable="messageID" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="61,392,162,103" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="72,525,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="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="72,660,141,105" partnerLink="EventInfoUtil" partnerLinkType="EventInfoUtil" operation="makeEventInfo" operationDesc="public static com.cim.idm.framework.data.EventInfo makeEventInfo(java.lang.String eventName, java.lang.String eventUser, java.lang.String eventComment, java.lang.String reasonCodeType, java.lang.String reasonCode)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input constant="ModifyMaterialPackingChargeName" 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="MaterialReceiveRequestServiceImpl CreateMaterialRRActByLabel" type="invokebean" description="public void CreateMaterialRRActByLabel(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveActNo, java.lang.String actType)" bounds="72,795,141,105" partnerLink="MaterialReceiveRequestServiceImpl" partnerLinkType="MaterialReceiveRequestServiceImpl" operation="CreateMaterialRRActByLabel" operationDesc="public void CreateMaterialRRActByLabel(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveActNo, java.lang.String actType)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="siteName" type="java.lang.String" />
            <input constant="ModifyMaterialCharge" type="java.lang.String" />
            <input variable="receiveActNo" type="java.lang.String" />
            <input constant="ModifyMaterialCharge" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl ModifyMaterialPackingChargeName" type="invokebean" description="public void ModifyMaterialPackingChargeName(java.lang.String siteName, java.util.List materialPackingNameList, java.util.List ERPFactoryList, java.util.List ERPLocationList, java.util.List chargList, java.lang.String requestDetailName, java.lang.String erpEventTime, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String materialSpecName, java.lang.String toErpLocation, java.lang.String toCharge, java.lang.String receiveActNo, java.lang.String MessageID)" bounds="72,930,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="ModifyMaterialPackingChargeName" operationDesc="public void ModifyMaterialPackingChargeName(java.lang.String siteName, java.util.List materialPackingNameList, java.util.List ERPFactoryList, java.util.List ERPLocationList, java.util.List chargList, java.lang.String requestDetailName, java.lang.String erpEventTime, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String materialSpecName, java.lang.String toErpLocation, java.lang.String toCharge, java.lang.String receiveActNo, java.lang.String MessageID)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="materialPackingNameList" type="java.util.List" />
            <input variable="ERPFactoryList" type="java.util.List" />
            <input variable="ERPLocationList" type="java.util.List" />
            <input variable="chargeList" type="java.util.List" />
            <input variable="requestDetail" type="java.lang.String" />
            <input variable="erpEventTime" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="MaterialSpecName" type="java.lang.String" />
            <input variable="toErpLocation" type="java.lang.String" />
            <input variable="toCharge" type="java.lang.String" />
            <input variable="receiveActNo" type="java.lang.String" />
            <input variable="messageID" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="61,1065,162,103" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="commitTransaction" operationDesc="public void commitTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="72,1198,141,105" 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>
    </sequence>
</process>

