<?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="PDACreateCheckRecord.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="CheckRecordSolutionServiceImpl" partnerLinkType="bean:CheckRecordSolutionServiceImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="actLocation" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/ACTLOCATION')" />
        <variable name="checkMaterialType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CHECKMATERIALTYPE')" />
        <variable name="checkPackingType" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CHECKPACKINGTYPE')" />
        <variable name="checkPlanName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CHECKPLANNAME')" />
        <variable name="checkState" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CHECKSTATE')" />
        <variable name="checkTimeKey" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/CHECKTIMEKEY')" />
        <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="lastAction" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/LASTACTION')" />
        <variable name="materialActQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALACTQUANTITY')" />
        <variable name="materialPackingName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALPACKINGNAME')" />
        <variable name="materialQuantity" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALQUANTITY')" />
        <variable name="materialSpecName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALSPECNAME')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="packingState" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALPACKING/PACKINGSTATE')" />
        <variable name="PDABoxScrap" messageType="java.lang.String"></variable>
        <variable name="PDACreateCheckRecord" messageType="org.jdom.Document"></variable>
        <variable name="PDASender" messageType="java.lang.String"></variable>
        <variable name="planDate" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/PLANDATE')" />
        <variable name="reasonCode" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALPACKING/REASONCODE')" />
        <variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="returnElement" messageType="org.jdom.Element"></variable>
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
        <variable name="sysLocation" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SYSLOCATION')" />
    </variables>
    <sequence>
        <receive name="PDACreateCheckRecord" bounds="70,30,149,62">
            <input variable="message" type="org.jdom.Document" />
        </receive>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="74,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="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="74,257,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="PDACreateCheckRecord" 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 variable="reasonCode" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="CheckRecordSolutionServiceImpl PDACreateCheckRecord" type="invokebean" description="public void PDACreateCheckRecord(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String planDate, java.lang.String checkPlanName, java.lang.String materialPackingName, java.lang.String actLocation, java.lang.String sysLocation, java.lang.String siteName, java.lang.String erpLocation, java.lang.String materialQuantity, java.lang.String materialActQuantity, java.lang.String checkTimeKey, java.lang.String checkState, java.lang.String lastAction, java.lang.String materialSpecName, java.lang.String checkMaterialType, java.lang.String checkPackingType)" bounds="74,392,141,105" partnerLink="CheckRecordSolutionServiceImpl" partnerLinkType="CheckRecordSolutionServiceImpl" operation="PDACreateCheckRecord" operationDesc="public void PDACreateCheckRecord(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String planDate, java.lang.String checkPlanName, java.lang.String materialPackingName, java.lang.String actLocation, java.lang.String sysLocation, java.lang.String siteName, java.lang.String erpLocation, java.lang.String materialQuantity, java.lang.String materialActQuantity, java.lang.String checkTimeKey, java.lang.String checkState, java.lang.String lastAction, java.lang.String materialSpecName, java.lang.String checkMaterialType, java.lang.String checkPackingType)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="planDate" type="java.lang.String" />
            <input variable="checkPlanName" type="java.lang.String" />
            <input variable="materialPackingName" type="java.lang.String" />
            <input variable="actLocation" type="java.lang.String" />
            <input variable="sysLocation" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="erpLocation" type="java.lang.String" />
            <input variable="materialQuantity" type="java.lang.String" />
            <input variable="materialActQuantity" type="java.lang.String" />
            <input variable="checkTimeKey" type="java.lang.String" />
            <input variable="checkState" type="java.lang.String" />
            <input variable="lastAction" type="java.lang.String" />
            <input variable="materialSpecName" type="java.lang.String" />
            <input variable="checkMaterialType" type="java.lang.String" />
            <input variable="checkPackingType" type="java.lang.String" />
        </invoke>
        <invoke name="ESBService sendReplyBySender" type="invokebean" description="public void sendReplyBySender(String replySubject, org.jdom.Document doc, org.jdom.Element element, String senderName)&#xD;&#xA;&#x9;&#x9;throws java.lang.Exception" bounds="-4,527,296,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(String replySubject, org.jdom.Document doc, org.jdom.Element element, String senderName)&#xA;&#x9;&#x9;throws java.lang.Exception" 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 variable="returnElement" type="org.jdom.Element" />
            <input constant="PDASender" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,659,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>

