<?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="PDAGetCustomFormInfo.bpel">
    <partnerLinks>
        <partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
        <partnerLink name="TransactionUtil" partnerLinkType="bean:TransactionUtil" />
        <partnerLink name="EventInfoUtil" partnerLinkType="bean:EventInfoUtil" />
        <partnerLink name="MaterialPackingStockInImpl" partnerLinkType="bean:MaterialPackingStockInImpl" />
        <partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
    </partnerLinks>
    <variables>
        <variable name="erpfactory" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Body/ERPFACTORY')" />
        <variable name="eventComment" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Body/LASTEVENTCOMMENT')" />
        <variable name="eventInfo" messageType="com.cim.idm.framework.data.EventInfo"></variable>
        <variable name="eventUser" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Header/EVENTUSER')" />
        <variable name="function" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Body/FUNCTION')" />
        <variable name="GetCustomFormInfo" messageType="org.jdom.Document"></variable>
        <variable name="jiezhuanform" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Body/JIEZHUANFROM')" />
        <variable name="messageName" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Header/messagename')" />
        <variable name="OICSender" messageType="java.lang.String"></variable>
        <variable name="PDASender" messageType="java.lang.String"></variable>
        <variable name="PODetailname" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Body/RECEIVEREQUESTDETAILNAME')" />
        <variable name="POname" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Body/RECEIVEREQUESTNAME')" />
        <variable name="replysubjectname" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Header/ORIGINALSOURCESUBJECTNAME')" />
        <variable name="result" messageType="boolean"></variable>
        <variable name="returndoc" messageType="org.jdom.Document"></variable>
        <variable name="taxid" messageType="java.lang.String" expression="getXmlData('GetCustomFormInfo', '//Message/Body/TAXID')" />
    </variables>
    <sequence>
        <receive name="PDAGetCustomFormInfo" bounds="70,30,149,62">
            <input variable="GetCustomFormInfo" 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="messageName" 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="MaterialPackingStockInImpl generateCustomFormInfoMessage" type="invokebean" description="public org.jdom.Document generateCustomFormInfoMessage(java.lang.String POname, java.lang.String function, java.lang.String erpfactory, java.lang.String POdetailname, java.lang.String taxid, java.lang.String jiezhuanform, com.cim.idm.framework.data.EventInfo eventInfo)" bounds="74,392,141,105" partnerLink="MaterialPackingStockInImpl" partnerLinkType="MaterialPackingStockInImpl" operation="generateCustomFormInfoMessage" operationDesc="public org.jdom.Document generateCustomFormInfoMessage(java.lang.String POname, java.lang.String function, java.lang.String erpfactory, java.lang.String POdetailname, java.lang.String taxid, java.lang.String jiezhuanform, com.cim.idm.framework.data.EventInfo eventInfo)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="POname" type="java.lang.String" />
            <input variable="function" type="java.lang.String" />
            <input variable="erpfactory" type="java.lang.String" />
            <input variable="PODetailname" type="java.lang.String" />
            <input variable="taxid" type="java.lang.String" />
            <input variable="jiezhuanform" type="java.lang.String" />
            <input variable="eventInfo" type="com.cim.idm.framework.data.EventInfo" />
            <output variable="returndoc" />
        </invoke>
        <invoke name="TransactionUtil commitTransaction" type="invokebean" description="public void commitTransaction()" bounds="74,527,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, java.lang.String resultCode, java.lang.String resultMessage)" bounds="74,662,141,105" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendReplyBySender" operationDesc="public void sendReplyBySender(java.lang.String replySubject, org.jdom.Document doc, java.lang.String senderName, java.lang.String resultCode, java.lang.String resultMessage)" ignoreThrow="false" fork="false">
            <source idx="0" terminal="5,A" />
            <input variable="replysubjectname" type="java.lang.String" />
            <input variable="returndoc" type="org.jdom.Document" />
            <input constant="PDASender" type="java.lang.String" />
            <input constant="0" type="java.lang.String" />
            <input constant="" type="java.lang.String" />
        </invoke>
        <terminate name="terminate" bounds="74,797,141,65">
            <source idx="0" terminal="5,A" />
        </terminate>
    </sequence>
</process>

