<?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="NoPOStockIn.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="MaterialPackingNoPOStockInImpl" partnerLinkType="bean:MaterialPackingNoPOStockInImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
    </partnerLinks>
    <variables>
        <variable name="10001" messageType="java.lang.String"></variable>
        <variable name="300" messageType="int"></variable>
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('NoPOStockIn', '//Message/Header/EVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('NoPOStockIn', '//Message/Header/EVENTUSER')" />
        <variable name="GetInspectedList" messageType="java.lang.String"></variable>
        <variable name="messageName" messageType="java.lang.String" expression="getXmlData('NoPOStockIn', '//Message/Header/MESSAGENAME')" />
        <variable name="NoPOStockIn" messageType="org.jdom.Document"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="oplist" messageType="java.util.List"></variable>
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('NoPOStockIn', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="toerplist" messageType="java.util.List"></variable>
        <variable name="undolist" messageType="java.util.List"></variable>
    </variables>
    <sequence>
        <receive name="NoPOStockIn" bounds="93,17,149,62">
            <input variable="NoPOStockIn" 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,137,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="messageName" type="java.lang.String" />
            <input variable="eventUser" type="java.lang.String" />
            <input variable="eventComment" type="java.lang.String" />
            <input constant="101" type="java.lang.String" />
            <input constant="0001" type="java.lang.String" />
            <output variable="eventInfo" />
        </invoke>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="89,272,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="MaterialPackingNoPOStockInImpl GetNoPOStockInList" type="invokebean" description="public java.util.List GetNoPOStockInList(org.jdom.Document document)" bounds="89,407,141,105" partnerLink="MaterialPackingNoPOStockInImpl" partnerLinkType="MaterialPackingNoPOStockInImpl" operation="GetNoPOStockInList" operationDesc="public java.util.List GetNoPOStockInList(org.jdom.Document document)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="NoPOStockIn" type="org.jdom.Document" />
            <output variable="oplist" />
        </invoke>
        <invoke name="MaterialPackingNoPOStockInImpl GetToERPList" type="invokebean" description="public java.util.List GetToERPList(java.util.List msilist)" bounds="89,542,141,105" partnerLink="MaterialPackingNoPOStockInImpl" partnerLinkType="MaterialPackingNoPOStockInImpl" operation="GetToERPList" operationDesc="public java.util.List GetToERPList(java.util.List msilist)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="oplist" type="java.util.List" />
            <output variable="toerplist" />
        </invoke>
        <invoke name="MaterialPackingNoPOStockInImpl SaveNoPOStockInInfo" type="invokebean" description="public void SaveNoPOStockInInfo(java.util.List toerplist, com.cim.idm.framework.data.EventInfo eventinfo)" bounds="88,728,141,105" partnerLink="MaterialPackingNoPOStockInImpl" partnerLinkType="MaterialPackingNoPOStockInImpl" operation="SaveNoPOStockInInfo" operationDesc="public void SaveNoPOStockInInfo(java.util.List toerplist, com.cim.idm.framework.data.EventInfo eventinfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="toerplist" type="java.util.List" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="89,947,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="89,1082,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="NoPOStockIn" type="org.jdom.Document" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl getQueryResult" type="invokebean" description="public void getQueryResult(java.lang.String messageName, java.lang.String queryId, java.lang.String version, java.lang.String senderName)" bounds="89,1217,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="getQueryResult" operationDesc="public void getQueryResult(java.lang.String messageName, java.lang.String queryId, java.lang.String version, java.lang.String senderName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="messageName" type="java.lang.String" />
            <input constant="GetInspectedList" type="java.lang.String" />
            <input constant="10001" type="java.lang.String" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <terminate name="terminate" bounds="89,1352,141,65">
            <source idx="0" terminal="5,A" />
        </terminate>
    </sequence>
</process>

