<?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="NPCancelOQA.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="CommonValidation" partnerLinkType="bean:CommonValidation" />
        <partnerLink name="MaterialPackingNoPOStockInImpl" partnerLinkType="bean:MaterialPackingNoPOStockInImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <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="groupname" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/MATERIALPROCESSGROUPNAME')" />
        <variable name="message" messageType="org.jdom.Document"></variable>
        <variable name="mplist" messageType="java.util.List"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('message', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="sitename" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/SITENAME')" />
        <variable name="type" messageType="java.lang.String" expression="getXmlData('message', '//Message/Body/LASTEVENTNAME')" />
    </variables>
    <sequence>
        <receive name="NPCancelOQA" 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 variable="type" 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="CommonValidation print" type="invokebean" description="public void print(java.lang.Object obj)" bounds="74,392,141,105" partnerLink="CommonValidation" partnerLinkType="CommonValidation" operation="print" operationDesc="public void print(java.lang.Object obj)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="type" type="java.lang.Object" />
        </invoke>
        <invoke name="MaterialPackingNoPOStockInImpl CancleNPOQAResult" type="invokebean" description="public void CancleNPOQAResult(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, org.jdom.Document doc, java.lang.String materialProcessGroupName)" bounds="74,527,141,105" partnerLink="MaterialPackingNoPOStockInImpl" partnerLinkType="MaterialPackingNoPOStockInImpl" operation="CancleNPOQAResult" operationDesc="public void CancleNPOQAResult(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String siteName, org.jdom.Document doc, java.lang.String materialProcessGroupName)" 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="message" type="org.jdom.Document" />
            <input variable="groupname" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialPackingNoPOStockInImpl CancelOQAGroupInfo" type="invokebean" description="public void CancelOQAGroupInfo(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String sitename, java.lang.String groupname)" bounds="74,662,141,105" partnerLink="MaterialPackingNoPOStockInImpl" partnerLinkType="MaterialPackingNoPOStockInImpl" operation="CancelOQAGroupInfo" operationDesc="public void CancelOQAGroupInfo(com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String sitename, java.lang.String groupname)" 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="groupname" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialPackingNoPOStockInImpl changeNPFlag" type="invokebean" description="public void changeNPFlag(org.jdom.Document doc, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="74,797,141,105" partnerLink="MaterialPackingNoPOStockInImpl" partnerLinkType="MaterialPackingNoPOStockInImpl" operation="changeNPFlag" operationDesc="public void changeNPFlag(org.jdom.Document doc, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="message" type="org.jdom.Document" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,932,141,105" 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="74,1067,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>
        <terminate name="terminate" bounds="74,1202,141,65">
            <source idx="0" terminal="5,A" />
        </terminate>
    </sequence>
</process>

