<?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="CreateReceiveDetailRequest.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="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="CreateReceiveDetailRequest" bounds="70,30,101,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="50,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="CreateReceiveDetailRequest" 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 create1" type="invokebean" description="public void create1(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveRequestDetailName, java.lang.String pocategory, java.lang.String receiveRequestDetailType, java.lang.String materialSpecName, java.lang.String description, java.lang.String requestQuantity, java.lang.String receivedQuantity, java.lang.String erpLocation, java.lang.String returnFlag, java.lang.String freeFlag, java.lang.String forceCompletedFlag, java.lang.String receiveRequestDetailState, java.lang.String holdState, java.lang.String iqcFlag, java.lang.String planDate, java.lang.String erpFactory)" bounds="50,257,141,105" partnerLink="MaterialReceiveRequestDetailServiceImpl" partnerLinkType="MaterialReceiveRequestDetailServiceImpl" operation="create1" operationDesc="public void create1(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, java.lang.String receiveRequestName, java.lang.String receiveRequestDetailName, java.lang.String pocategory, java.lang.String receiveRequestDetailType, java.lang.String materialSpecName, java.lang.String description, java.lang.String requestQuantity, java.lang.String receivedQuantity, java.lang.String erpLocation, java.lang.String returnFlag, java.lang.String freeFlag, java.lang.String forceCompletedFlag, java.lang.String receiveRequestDetailState, java.lang.String holdState, java.lang.String iqcFlag, java.lang.String planDate, java.lang.String erpFactory)" 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 variable="receiveRequestName" type="java.lang.String" />
            <input variable="receiveRequestDetailName" type="java.lang.String" />
            <input variable="pocategory" type="java.lang.String" />
            <input variable="receiveRequestDetailType" type="java.lang.String" />
            <input variable="materialSpecName" type="java.lang.String" />
            <input variable="description" type="java.lang.String" />
            <input variable="requestQuantity" type="java.lang.String" />
            <input variable="receivedQuantity" type="java.lang.String" />
            <input variable="erpLocation" type="java.lang.String" />
            <input variable="returnFlag" type="java.lang.String" />
            <input variable="freeFlag" type="java.lang.String" />
            <input variable="forceCompletedFlag" type="java.lang.String" />
            <input variable="receiveRequestDetailstate" type="java.lang.String" />
            <input variable="holdState" type="java.lang.String" />
            <input variable="iqcFlag" type="java.lang.String" />
            <input variable="planDate" type="java.lang.String" />
            <input variable="erpFactory" 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="50,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>

