<?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="ModifySupplierCustomer.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="SupplierCustomerServiceImpl" partnerLinkType="bean:SupplierCustomerServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="address" messageType="java.lang.String" expression="getXmlData('message','//Message/Body/ADDRESS')" />
        <variable name="body" messageType="org.jdom.Element" expression="getXmlElement('message', '//Message/Body')" />
        <variable name="city" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CITY')" />
        <variable name="customException" messageType="com.cim.idm.wmsextend.generic.errorHandler.CustomException"></variable>
        <variable name="description" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESCRIPTION')" />
        <variable name="destination" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESTINATION')" />
        <variable name="email" messageType="java.lang.String" expression="getXmlData('message','//Message/Body/EMAIL')" />
        <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"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/EVENTUSER')" />
        <variable name="fax" messageType="java.lang.String" expression="getXmlData('message','//Message/Body/FAX')" />
        <variable name="Hold" messageType="java.lang.String"></variable>
        <variable name="holdCode" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/REASONCODE')" />
        <variable name="incharge" messageType="java.lang.String" expression="getXmlData('message','//Message/Body/INCHARGE')" />
        <variable name="index" messageType="int"></variable>
        <variable name="language" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/LANGUAGE')" />
        <variable name="lastEventTime" messageType="java.lang.String" expression="getXmlData('message','//Message/Body/LASTEVENTTIME')" />
        <variable name="lastEventUser" messageType="java.lang.String" expression="getXmlData('message','//Message/Body/LASTEVENTUSER')" />
        <variable name="lotQuantity" messageType="int"></variable>
        <variable name="materialUdfs" messageType="java.util.HashMap"></variable>
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="nationalNo" messageType="java.lang.String" expression="getXmlData('message','//Message/Body/NATIONALNO')" />
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="oldRTFlag" messageType="java.lang.String">N</variable>
        <variable name="oqaComment" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/OQACOMMENT')" />
        <variable name="palletElement" messageType="org.jdom.Element"></variable>
        <variable name="palletList" messageType="java.util.List"></variable>
        <variable name="palletName" messageType="java.lang.String"></variable>
        <variable name="palletSDERP_ReleaseList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 10)" />
        <variable name="palletSDERPList" messageType="java.util.List" expression="newInstance('java.util.ArrayList', 10)" />
        <variable name="postCode" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/POSTCODE')" />
        <variable name="reasonCode" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/REASONCODE')" />
        <variable name="reasonCodeType" messageType="java.lang.String"></variable>
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="SupplierCustomer" messageType="com.cim.idm.wmspackage.supplier.management.data.Supplier"></variable>
        <variable name="supplierName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SUPPLIERNAME')" />
        <variable name="supplierNo" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SUPPLIERNO')" />
        <variable name="supplierType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SUPPLIERTYPE')" />
        <variable name="telephone" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/TEL')" />
        <variable name="typeName" messageType="java.lang.String">PackingGroup</variable>
        <variable name="userColumns" messageType="java.util.Map" expression="newInstance('java.util.HashMap', 10)" />
    </variables>
    <sequence>
        <receive name="ModifySupplierCustomer" bounds="70,30,120,91">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="80,151,100,92" partnerLink="TransactionUtil" partnerLinkType="TransactionUtil" operation="beginTransaction" operationDesc="public void beginTransaction()" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
        </invoke>
        <invoke name="SupplierCustomerServiceImpl modify" type="invokebean" description="public com.cim.idm.wmspackage.supplier.management.data.Supplier modify(java.lang.String supplierNo, java.lang.String supplierName, java.lang.String description, java.lang.String telephone, java.lang.String fax, java.lang.String incharge, java.lang.String address, java.lang.String email, java.lang.String city, java.lang.String postCode, java.lang.String lastEventUser)" bounds="-105,273,470,119" partnerLink="SupplierCustomerServiceImpl" partnerLinkType="SupplierCustomerServiceImpl" operation="modify" operationDesc="public com.cim.idm.wmspackage.supplier.management.data.Supplier modify(java.lang.String supplierNo, java.lang.String supplierName, java.lang.String description, java.lang.String telephone, java.lang.String fax, java.lang.String incharge, java.lang.String address, java.lang.String email, java.lang.String city, java.lang.String postCode, java.lang.String lastEventUser)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="supplierNo" />
            <input variable="supplierName" />
            <input variable="description" />
            <input variable="telephone" />
            <input variable="nationalNo" />
            <input variable="fax" />
            <input variable="incharge" />
            <input variable="address" />
            <input variable="email" />
            <input variable="city" />
            <input variable="postCode" />
            <input variable="eventUser" />
            <output variable="SupplierCustomer" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="77,428,100,92" 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="88,560,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>

