<?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="ModifyPOReceivedQty.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialReceiveRequestDetailServiceImpl" partnerLinkType="bean:MaterialReceiveRequestDetailServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="CreateReceiveDetailRequest" messageType="java.lang.String"></variable>
        <variable name="description" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/DESCRIPTION')" />
        <variable name="erpFactory" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ERPFACTORY')" />
        <variable name="erpLocation" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ERPLOCATION')" />
        <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="forceCompletedFlag" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/FORCECOMPLETEDFLAG')" />
        <variable name="freeFlag" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/FREEFLAG')" />
        <variable name="holdState" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/HOLDSTATE')" />
        <variable name="iqcFlag" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/IQCFLAG')" />
        <variable name="materialSpecName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALSPECNAME')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="planDate" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/PLANDATE')" />
        <variable name="pocategory" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/POCATEGORY')" />
        <variable name="receivedQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVEDQUANTITY')" />
        <variable name="receiveRequestDetailName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVEREQUESTDETAILNAME')" />
        <variable name="receiveRequestDetailState" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVEREQUESTDETAILSTATE')" />
        <variable name="receiveRequestDetailType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVEREQUESTDETAILTYPE')" />
        <variable name="receiveRequestName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="requestQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/REQUESTQUANTITY')" />
        <variable name="returnFlag" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/RETURNFLAG')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
    </variables>
    <sequence>
        <receive name="ModifyPOReceivedQty" bounds="70,30,179,62">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <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="89,122,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="ModifyPOReceivedQty" 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="MaterialReceiveRequestDetailServiceImpl modifyPOReceivedQty" type="invokebean" description="public void modifyPOReceivedQty(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveRequestDetailName, java.lang.String materialSpecName, java.lang.String description, java.lang.String erpFactory, java.lang.String erpLocation, java.lang.String requestQuantity, java.lang.String receivedQuantity)" bounds="89,257,141,105" partnerLink="MaterialReceiveRequestDetailServiceImpl" partnerLinkType="MaterialReceiveRequestDetailServiceImpl" operation="modifyPOReceivedQty" operationDesc="public void modifyPOReceivedQty(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveRequestDetailName, java.lang.String materialSpecName, java.lang.String description, java.lang.String erpFactory, java.lang.String erpLocation, java.lang.String requestQuantity, java.lang.String receivedQuantity)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input constant="B10" type="java.lang.String" />
            <input variable="receiveRequestName" type="java.lang.String" />
            <input variable="receiveRequestDetailName" type="java.lang.String" />
            <input variable="materialSpecName" type="java.lang.String" />
            <input variable="description" type="java.lang.String" />
            <input variable="erpFactory" type="java.lang.String" />
            <input variable="erpLocation" type="java.lang.String" />
            <input variable="requestQuantity" type="java.lang.String" />
            <input variable="receivedQuantity" type="java.lang.String" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName)" bounds="89,392,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>

