<?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="NoPOStockOutForAccount.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialPackingServiceImpl" partnerLinkType="bean:MaterialPackingServiceImpl" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="MaterialPackingStockInImpl" partnerLinkType="bean:MaterialPackingStockInImpl" />
        <partnerLink name="ERPInterfaceServiceImpl" partnerLinkType="bean:ERPInterfaceServiceImpl" />
        <partnerLink name="MaterialPackingServiceUtil" partnerLinkType="bean:MaterialPackingServiceUtil" />
        <partnerLink name="CommonValidation" partnerLinkType="bean:CommonValidation" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="boxList" messageType="java.util.List"></variable>
        <variable name="DeliveryType" messageType="java.lang.String"></variable>
        <variable name="ERPEventTime" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/SHIPTIME')" />
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/LASTEVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Header/EVENTUSER')" />
        <variable name="materialDoinfoList" messageType="java.util.List"></variable>
        <variable name="messageid" messageType="java.lang.String"></variable>
        <variable name="NoPOStockOutForAccount" messageType="org.jdom.Document"></variable>
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="oldpoName" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/SHIPREQUESTNAME')" />
        <variable name="receiveActNo" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/RECEIVEACTNO')" />
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="resultundo" messageType="java.lang.String"></variable>
        <variable name="shipRequestDetailName" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/SHIPREQUESTDETAILNAME')" />
        <variable name="shipRequestName" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/SHIPREQUESTNAME')" />
        <variable name="siteName" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/SITENAME')" />
        <variable name="stockState" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/STOCKSTATE')" />
        <variable name="type" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/STOCKINTYPE')" />
        <variable name="UndoID" messageType="java.lang.String" expression="getXmlData('NoPOStockOutForAccount', '//Message/Body/UNDOID')" />
    </variables>
    <sequence>
        <receive name="NoPOStockOutForAccount" bounds="70,30,149,78">
            <input variable="NoPOStockOutForAccount" 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="74,138,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="MaterialPackingServiceImpl checkBoxOQA" type="invokebean" description="public static java.lang.String checkBoxOQA(java.lang.String shipRequestName, java.lang.String shipRequestDetailName, java.lang.String siteName, java.lang.String stockState)" bounds="74,273,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="checkBoxOQA" operationDesc="public static java.lang.String checkBoxOQA(java.lang.String shipRequestName, java.lang.String shipRequestDetailName, java.lang.String siteName, java.lang.String stockState)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="shipRequestName" type="java.lang.String" />
            <input variable="shipRequestDetailName" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="stockState" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="74,408,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="MaterialPackingStockInImpl GetMessageID" type="invokebean" description="public java.lang.String GetMessageID(java.lang.String sitename)" bounds="74,543,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="GetMessageID" operationDesc="public java.lang.String GetMessageID(java.lang.String sitename)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="siteName" type="java.lang.String" />
            <output variable="messageid" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,678,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="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="74,813,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="MaterialPackingServiceImpl UndoIDtoReceiveActNo" type="invokebean" description="public java.lang.String UndoIDtoReceiveActNo(java.lang.String UndoID)" bounds="74,948,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="UndoIDtoReceiveActNo" operationDesc="public java.lang.String UndoIDtoReceiveActNo(java.lang.String UndoID)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="UndoID" type="java.lang.String" />
            <output variable="receiveActNo" />
        </invoke>
        <invoke name="ERPInterfaceServiceImpl erp_NoPOStockOutForAccount_WMS15" type="invokebean" description="public static java.util.List erp_NoPOStockOutForAccount_WMS15(java.lang.String shipRequestName, java.lang.String shipRequestDetailName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String receiveActNo, java.lang.String erpEventTime, java.lang.String messageid)" bounds="74,1083,141,105" partnerLink="ERPInterfaceServiceImpl" partnerLinkType="ERPInterfaceServiceImpl" operation="erp_NoPOStockOutForAccount_WMS15" operationDesc="public static java.util.List erp_NoPOStockOutForAccount_WMS15(java.lang.String shipRequestName, java.lang.String shipRequestDetailName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String receiveActNo, java.lang.String erpEventTime, java.lang.String messageid)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="shipRequestName" type="java.lang.String" />
            <input variable="shipRequestDetailName" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="receiveActNo" type="java.lang.String" />
            <input variable="ERPEventTime" type="java.lang.String" />
            <input variable="messageid" type="java.lang.String" />
            <output variable="materialDoinfoList" />
        </invoke>
        <invoke name="MaterialPackingServiceUtil getPackingListForAccount" type="invokebean" description="public java.util.List getPackingListForAccount(java.lang.String shipRequestName, java.lang.String shipRequestDetailName, java.lang.String receiveActNo)" bounds="74,1218,141,105" partnerLink="MaterialPackingServiceUtil" partnerLinkType="MaterialPackingServiceUtil" operation="getPackingListForAccount" operationDesc="public java.util.List getPackingListForAccount(java.lang.String shipRequestName, java.lang.String shipRequestDetailName, java.lang.String receiveActNo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="shipRequestName" type="java.lang.String" />
            <input variable="shipRequestDetailName" type="java.lang.String" />
            <input variable="receiveActNo" type="java.lang.String" />
            <output variable="boxList" />
        </invoke>
        <invoke name="MaterialPackingServiceImpl updateMessageID" type="invokebean" description="public void updateMessageID(java.util.List materialPackingNameList, java.lang.String siteName, java.lang.String messageid, com.cim.idm.framework.data.EventInfo eventinfo)" bounds="74,1353,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="updateMessageID" operationDesc="public void updateMessageID(java.util.List materialPackingNameList, java.lang.String siteName, java.lang.String messageid, com.cim.idm.framework.data.EventInfo eventinfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="boxList" type="java.util.List" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="messageid" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,1488,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="TransactionUtil beginTransaction" type="invokebean" description="public void beginTransaction()" bounds="74,1623,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="MaterialPackingServiceImpl UndoStateChange" type="invokebean" description="public void UndoStateChange(java.util.List UnDoList, java.lang.String UndoID, java.lang.String SiteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String shipRequestDetailName)" bounds="74,1758,141,105" partnerLink="MaterialPackingServiceImpl" partnerLinkType="MaterialPackingServiceImpl" operation="UndoStateChange" operationDesc="public void UndoStateChange(java.util.List UnDoList, java.lang.String UndoID, java.lang.String SiteName, com.cim.idm.framework.data.EventInfo eventInfo, java.lang.String shipRequestDetailName)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="materialDoinfoList" type="java.util.List" />
            <input variable="UndoID" type="java.lang.String" />
            <input variable="siteName" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <input variable="shipRequestDetailName" type="java.lang.String" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,2028,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="CommonValidation setReturnDoc" type="invokebean" description="public static void setReturnDoc(java.lang.String nodeValue, java.lang.String nodeName, org.jdom.Document doc)" bounds="74,2163,141,105" partnerLink="CommonValidation" partnerLinkType="CommonValidation" operation="setReturnDoc" operationDesc="public static void setReturnDoc(java.lang.String nodeValue, java.lang.String nodeName, org.jdom.Document doc)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="resultundo" type="java.lang.String" />
            <input constant="UNDOID" type="java.lang.String" />
            <input variable="NoPOStockOutForAccount" type="org.jdom.Document" />
        </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,2298,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="NoPOStockOutForAccount" type="org.jdom.Document" />
            <input constant="OICSender" type="java.lang.String" />
        </invoke>
        <terminate name="terminate" bounds="74,2433,141,65">
            <source idx="0" terminal="5,A" />
        </terminate>
    </sequence>
</process>

