Commit 7952e4a3 authored by jshaikh's avatar jshaikh

new work flow components for subscription porder and pcontract

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179359 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 256ce044
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="SUBPCONTRACTWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2018-01-10 16:13:44</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="SUBPCONTRACTWF" Name="SUBPCONTRACTWF">
<ProcessHeader DurationUnit="D">
<Created>2018-01-10 16:14:05</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SB_PC_INIT" Name="SB_PC_INIT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SB_PC_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator of subscription pcontract"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SB_PC_APR1" Name="SB_PC_APR1">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SB_PC_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="First level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SB_PC_APR2" Name="SB_PC_APR2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SB_PC_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SB_PC_APR3" Name="SB_PC_APR3">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SB_PC_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Final level approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.supp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="processInstanceId" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="roleCodeSign" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="entityCode" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="formatCode" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="xslFileName" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="context3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="PurContractConfWF" Name="PurContractConfWF">
<FormalParameters>
<FormalParameter Id="CONTRACT_NO" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="EMP_CODE_APRV" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA_ALL" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="keyFlag" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.PurContractConfWF"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMail" Name="EMail">
<FormalParameters>
<FormalParameter Id="mailXMLStr" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="infoType" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="SUBPCONTRACTWF" Name="SUBPCONTRACTWF">
<Implementation>
<No/>
</Implementation>
<Performer>SB_PC_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_INIT"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR1_SGN" Name="SBPC_APR1_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SB_PCONT_APRV</ActualParameter>
<ActualParameter>SUBPCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Subscription Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="ESCALATE" Value="APR1_ESC"/>
</ExtendedAttributes>
</Tool>
</Implementation>
<Performer>SB_PC_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPCONTRACTWF_Tra18"/>
<TransitionRef Id="APR1_ESC"/>
<TransitionRef Id="SUBPCONTRACTWF_Tra3"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR1"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR2_SGN" Name="SBPC_APR2_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SB_PCONT_APRV</ActualParameter>
<ActualParameter>SUBPCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Subscription Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="ESCALATE" Value="APR2_ESC"/>
</ExtendedAttributes>
</Tool>
</Implementation>
<Performer>SB_PC_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPCONTRACTWF_Tra5"/>
<TransitionRef Id="SUBPCONTRACTWF_Tra19"/>
<TransitionRef Id="APR2_ESC"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR2"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR3_SGN" Name="SBPC_APR3_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SB_PCONT_APRV</ActualParameter>
<ActualParameter>SUBPCONTRACTWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Subscription Contract</ActualParameter>
<ActualParameter>&lt;Detail1.contract_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.contract_no&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPCONTRACTWF_Tra20"/>
<TransitionRef Id="SUBPCONTRACTWF_Tra7"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR3"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR1_TSAVE" Name="SBPC_APR1_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>pcontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR1"/>
<ExtendedAttribute Name="XOffset" Value="420"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR2_TSAVE" Name="SBPC_APR2_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>pcontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR2"/>
<ExtendedAttribute Name="XOffset" Value="420"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR3_TSAVE" Name="SBPC_APR3_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>pcontract</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR3"/>
<ExtendedAttribute Name="XOffset" Value="420"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_CONF" Name="SBPC_CONF">
<Implementation>
<Tool Id="PurContractConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPCONTRACTWF_Tra12"/>
<TransitionRef Id="SUBPCONTRACTWF_Tra11"/>
<TransitionRef Id="SUBPCONTRACTWF_Tra13"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR3"/>
<ExtendedAttribute Name="XOffset" Value="610"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR2_CONF_MAIL" Name="SBPC_APR2_CONF_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SBPCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR2"/>
<ExtendedAttribute Name="XOffset" Value="680"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_APR1_CONF_MAIL" Name="SBPC_APR1_CONF_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SBPCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_APR1"/>
<ExtendedAttribute Name="XOffset" Value="650"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_INIT_CONF_MAIL" Name="SBPC_INIT_CONF_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SBPCONT_APRV_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_INIT"/>
<ExtendedAttribute Name="XOffset" Value="610"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPC_INIT_REJ_MAIL" Name="SBPC_INIT_REJ_MAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;pcontract&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SBPCONT_APRV_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SB_PC_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_INIT"/>
<ExtendedAttribute Name="XOffset" Value="410"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ESC_ACTIVITY" Name="ESC_ACTIVITY">
<Implementation>
<No/>
</Implementation>
<Performer>SB_PC_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SB_PC_INIT"/>
<ExtendedAttribute Name="XOffset" Value="270"/>
<ExtendedAttribute Name="YOffset" Value="120"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="SUBPCONTRACTWF" Id="SUBPCONTRACTWF_Tra2" To="SBPC_APR1_SGN">
<Condition Type="CONDITION">contract_type=="AC"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="contract_type.String"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR1_SGN" Id="SUBPCONTRACTWF_Tra3" To="SBPC_APR1_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR1_TSAVE" Id="SUBPCONTRACTWF_Tra4" To="SBPC_APR2_SGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR2_SGN" Id="SUBPCONTRACTWF_Tra5" To="SBPC_APR2_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR2_TSAVE" Id="SUBPCONTRACTWF_Tra6" To="SBPC_APR3_SGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR3_SGN" Id="SUBPCONTRACTWF_Tra7" To="SBPC_APR3_TSAVE">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR1_SGN" Id="APR1_ESC" Name="APR1_ESC" To="SBPC_APR2_SGN">
<Condition Type="CONDITION">$HR_SPAN &lt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR2_SGN" Id="APR2_ESC" Name="APR2_ESC" To="SBPC_APR3_SGN">
<Condition Type="CONDITION">$HR_SPAN &lt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR3_TSAVE" Id="SUBPCONTRACTWF_Tra10" To="SBPC_CONF">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_CONF" Id="SUBPCONTRACTWF_Tra11" To="SBPC_APR2_CONF_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_CONF" Id="SUBPCONTRACTWF_Tra12" To="SBPC_APR1_CONF_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_CONF" Id="SUBPCONTRACTWF_Tra13" To="SBPC_INIT_CONF_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR1_SGN" Id="SUBPCONTRACTWF_Tra18" To="SBPC_INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR2_SGN" Id="SUBPCONTRACTWF_Tra19" To="SBPC_INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPC_APR3_SGN" Id="SUBPCONTRACTWF_Tra20" To="SBPC_INIT_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="SB_PC_INIT;SUBPCONTRACTWF;60;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SB_PC_APR2;SBPC_APR2_CONF_MAIL;810;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SB_PC_APR1;SBPC_APR1_CONF_MAIL;810;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SB_PC_INIT;SBPC_INIT_REJ_MAIL;530;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SB_PC_INIT;SBPC_INIT_CONF_MAIL;810;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SB_PC_INIT;SB_PC_APR1;SB_PC_APR2;SB_PC_APR3;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="SUBPORDERWF" xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0 http://wfmc.org/standards/docs/TC-1025_schema_10_xpdl.xsd">
<PackageHeader>
<XPDLVersion>1.0</XPDLVersion>
<Vendor>Together</Vendor>
<Created>2018-01-25 13:56:16</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="SUBPORDERWF" Name="SUBPORDERWF">
<ProcessHeader DurationUnit="D">
<Created>2018-01-25 13:56:29</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SUBPO_INIT" Name="SUBPO_INIT">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SUBPO_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SUBPO_APR1" Name="SUBPO_APR1">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SUBPO_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="First approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SUBPO_APR2" Name="SUBPO_APR2">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SUBPO_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SUBPO_APR3" Name="SUBPO_APR3">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SUBPO_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Final approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.site_code__dlv:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
</Participants>
<Applications>
<Application Id="SignTrans" Name="SignTrans">
<FormalParameters>
<FormalParameter Id="PRC_ID" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_ROLE_CODE" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORMAT_CODE" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XSL_FILE_NAME" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="SIGN_FOR" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX3" Index="9" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.SignTrans"/>
<ExtendedAttribute Name="METHOD_NAME" Value="insertSignCtx"/>
<ExtendedAttribute Name="EXEC_MODE" Value="ASYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="PurchaseOrderAprvConf" Name="PurchaseOrderAprvConf">
<FormalParameters>
<FormalParameter Id="PURC_ORDER" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="EMP_CODE_APRV" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA_ALL" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="keyFlag" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.wrkflw.PurchaseOrderAprvConf"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="TranSave" Name="TranSave">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="REF_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="ENTITY_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_INST_ID" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRANS_INFO" Index="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRFMR_CODE" Index="6" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="NEW_REC" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.wrkflw.utility.TransSave"/>
<ExtendedAttribute Name="METHOD_NAME" Value="saveChangeInTrans"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
<Application Id="EMail" Name="EMail">
<FormalParameters>
<FormalParameter Id="MAIL_XML" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="INFO_TYPE" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="PRC_ID" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.utility.EMail"/>
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="SUBPORDERWF" Name="SUBPORDERWF">
<Implementation>
<No/>
</Implementation>
<Performer>SUBPO_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_INIT"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_APR1_SGN" Name="SUBPO_APR1_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SUBPORD_APRV</ActualParameter>
<ActualParameter>SUBPORDERWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Subscription POrder</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.purc_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPORDERWF_Tra16"/>
<TransitionRef Id="SUBPORDERWF_Tra7"/>
<TransitionRef Id="SUBPORDERWF_Tra2"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR1"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="55"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_APR2_SGN" Name="SUBPO_APR2_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SUBPORD_APRV</ActualParameter>
<ActualParameter>SUBPORDERWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Subscription POrder</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.purc_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPORDERWF_Tra10"/>
<TransitionRef Id="SUBPORDERWF_Tra4"/>
<TransitionRef Id="SUBPORDERWF_Tra17"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR2"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_APR3_SGN" Name="SUBPO_APR3_SGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SUBPORD_APRV</ActualParameter>
<ActualParameter>SUBPORDERWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Subscription POrder</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.purc_order&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPORDERWF_Tra18"/>
<TransitionRef Id="SUBPORDERWF_Tra12"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR3"/>
<ExtendedAttribute Name="XOffset" Value="230"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SBPO_HR_SPAN" Name="SBPO_HR_SPAN">
<Implementation>
<Tool Id="PurchaseOrderAprvConf" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR1"/>
<ExtendedAttribute Name="XOffset" Value="120"/>
<ExtendedAttribute Name="YOffset" Value="130"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPORDERWF_Act6" Name="SBPO_HR_SPAN">
<Implementation>
<Tool Id="PurchaseOrderAprvConf" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>E</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR2"/>
<ExtendedAttribute Name="XOffset" Value="120"/>
<ExtendedAttribute Name="YOffset" Value="125"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR1_TSAVE" Name="APR1_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>porder</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR1"/>
<ExtendedAttribute Name="XOffset" Value="480"/>
<ExtendedAttribute Name="YOffset" Value="55"/>
</ExtendedAttributes>
</Activity>
<Activity Id="APR2_TSAVE" Name="APR2_TSAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>porder</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR2"/>
<ExtendedAttribute Name="XOffset" Value="480"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_APRV_CONF" Name="SUBPO_APRV_CONF">
<Implementation>
<Tool Id="PurchaseOrderAprvConf" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>SUBPO_APR3</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="SUBPORDERWF_Tra13"/>
<TransitionRef Id="SUBPORDERWF_Tra14"/>
<TransitionRef Id="SUBPORDERWF_Tra15"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR3"/>
<ExtendedAttribute Name="XOffset" Value="640"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_INIT_CONF" Name="SUBPO_INIT_CONF">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SUBPORD_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_INIT"/>
<ExtendedAttribute Name="XOffset" Value="640"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_APR1_CONF" Name="SUBPO_APR1_CONF">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SUBPORD_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR1"/>
<ExtendedAttribute Name="XOffset" Value="690"/>
<ExtendedAttribute Name="YOffset" Value="45"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_APR2_CONF" Name="SUBPO_APR2_CONF">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SUBPORD_CONF&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_APR2"/>
<ExtendedAttribute Name="XOffset" Value="720"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SUBPO_INIT_REJMAIL" Name="SUBPO_INIT_REJMAIL">
<Implementation>
<Tool Id="EMail" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;porder&lt;/OBJ_NAME&gt;&lt;REF_ID&gt;$REF_ID&lt;/REF_ID&gt;&lt;REF_SER&gt;$REF_SER&lt;/REF_SER&gt;&lt;LINE_NO&gt;1&lt;/LINE_NO&gt;&lt;TRANS_INFO&gt;&lt;/TRANS_INFO&gt;&lt;DOM_STR&gt;$XML_DATA_ALL&lt;/DOM_STR&gt;&lt;FORMAT_CODE&gt;SUBPO_REJ&lt;/FORMAT_CODE&gt;&lt;XML_DATA&gt;$XML_DATA_ALL&lt;/XML_DATA&gt;&lt;ENTITY_CODE&gt;$PRFMR_CODE&lt;/ENTITY_CODE&gt;&lt;LINK_ADDR&gt;ITMTransactionEditor.jsp?Status=OUTER&amp;amp;OBJ_CONTEXT=1&amp;amp;OBJ_NAME=porder&amp;amp;EDIT_FLAG=V&amp;amp;DB_ID=$REF_ID&lt;/LINK_ADDR&gt;&lt;/ROOT&gt;</ActualParameter>
<ActualParameter>ITM</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SUBPO_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_INIT"/>
<ExtendedAttribute Name="XOffset" Value="430"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ESC_ACTIVITY" Name="ESC_ACTIVITY">
<Implementation>
<No/>
</Implementation>
<Performer>SUBPO_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SUBPO_INIT"/>
<ExtendedAttribute Name="XOffset" Value="310"/>
<ExtendedAttribute Name="YOffset" Value="140"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="SUBPO_APR1_SGN" Id="SUBPORDERWF_Tra2" To="SBPO_HR_SPAN">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="SBPO_HR_SPAN" Id="SUBPORDERWF_Tra3" To="SUBPO_APR2_SGN">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APR2_SGN" Id="SUBPORDERWF_Tra4" To="SUBPORDERWF_Act6">
<Condition Type="CONDITION">$HR_SPAN &gt; 120</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPORDERWF_Act6" Id="SUBPORDERWF_Tra5" To="SUBPO_APR3_SGN">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPORDERWF" Id="SUBPORDERWF_Tra6" To="SUBPO_APR1_SGN">
<Condition Type="CONDITION">order_type=="AC"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="order_type.String"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APR1_SGN" Id="SUBPORDERWF_Tra7" To="APR1_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR1_TSAVE" Id="SUBPORDERWF_Tra8" To="SUBPO_APR2_SGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APR2_SGN" Id="SUBPORDERWF_Tra10" To="APR2_TSAVE">
<Condition Type="CONDITION">$HR_SPAN &lt; 120 &amp;&amp; $APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$HR_SPAN,$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="APR2_TSAVE" Id="SUBPORDERWF_Tra11" To="SUBPO_APR3_SGN">
<Condition Type="CONDITION">$APP_STATUS == "1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APR3_SGN" Id="SUBPORDERWF_Tra12" To="SUBPO_APRV_CONF">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APRV_CONF" Id="SUBPORDERWF_Tra13" To="SUBPO_APR2_CONF">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APRV_CONF" Id="SUBPORDERWF_Tra14" To="SUBPO_APR1_CONF">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APRV_CONF" Id="SUBPORDERWF_Tra15" To="SUBPO_INIT_CONF">
<Condition Type="CONDITION">$APP_RESULT=="Y"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APR1_SGN" Id="SUBPORDERWF_Tra16" To="SUBPO_INIT_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APR2_SGN" Id="SUBPORDERWF_Tra17" To="SUBPO_INIT_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SUBPO_APR3_SGN" Id="SUBPORDERWF_Tra18" To="SUBPO_INIT_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="SUBPO_INIT;SUBPORDERWF;60;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SUBPO_INIT;SUBPO_INIT_CONF;840;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SUBPO_INIT;SUBPO_INIT_REJMAIL;560;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SUBPO_APR2;SUBPO_APR2_CONF;860;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SUBPO_APR1;SUBPO_APR1_CONF;850;45;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SUBPO_INIT;SUBPO_APR1;SUBPO_APR2;SUBPO_APR3;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='pcontract'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract no.:
<b><xsl:value-of select="contract_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="contract_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="supplier_supp_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="supp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Contract type:
<b><xsl:value-of select="contract_type"/></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series:
<b><xsl:for-each select="//Detail1">
(<xsl:value-of select="item_ser" />)&#160;
<xsl:value-of select="itemser_descr" />
</xsl:for-each></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Item: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
(<xsl:value-of select= "item_code"/>)&#160;
<xsl:value-of select= "item_descr"/>
</xsl:for-each>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</xsl:for-each>
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<!--<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/Proteus Vision Workflow/css/hr_portal1.css"></link>-->
<style type="text/css">
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;}
.tableClass td {border-bottom: 1px solid #d9d9d9; border-right: 1px solid
#d9d9d9; font-size:14px;}
.tbletopbrd{border-top:2px solid #5fdeb2;}
.date {
color: #9d9ca2;
font-size: 11px;
font-weight: normal;
}
td {
padding: 5px;
}
</style>
</head>
<body>
<INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='porder'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<xsl:for-each select="//Detail1">
<!--<xsl:variable name="dbID">
<xsl:value-of select="@dbID" />
</xsl:variable>
<xsl:variable name="sale_order">
<xsl:value-of select="sale_order" />
</xsl:variable>
<xsl:variable name="order_date">
<xsl:value-of select="order_date" />
</xsl:variable>
<xsl:variable name="order_type">
<xsl:value-of select="order_type" />
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="sales_pers">
<xsl:value-of select="sales_pers" />
</xsl:variable>
<xsl:variable name="crterm_descr">
<xsl:value-of select="crterm_descr" />
</xsl:variable>
<xsl:variable name="site_code__ship">
<xsl:value-of select="site_code__ship" />
</xsl:variable>
<xsl:variable name="itemser_descr">
<xsl:value-of select="itemser_descr" />
</xsl:variable>
<xsl:variable name="descr">
<xsl:value-of select="descr" />
</xsl:variable>
<xsl:variable name="os_amt ">
<xsl:value-of select="os_amt" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>-->
<TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3" >
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Purchase order:
<b><xsl:value-of select="purc_order" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="ord_date"/></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="supp_name"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="supp_code"/></b>
</font>
</div>
</td>
</tr>
&#160;
<tr>
<td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2">
Site :
<b><xsl:value-of select="site_descr"/>
(<xsl:value-of select="site_code__ord"/>)</b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Item series :
<b><xsl:value-of select="item_ser"/></b>
</font>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tr>
<td class="cellttl1">Department: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="department_descr"/>&#160;
(<xsl:value-of select="dept_code"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1"> Delivery term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="dlv_term" />&#160;
<xsl:value-of select="delivery_term_descr" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order by: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="emp_code" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery address: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "site_descr"/>&#160;
(<xsl:value-of select= "site_code__dlv"/>)<br/>
<xsl:value-of select= "site_add1"/>,<br/>
<xsl:value-of select= "site_add2"/>,&#160;
<xsl:value-of select= "city__site"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Transport mode: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:choose>
<xsl:when test="trans_mode='A' ">
By Air
</xsl:when>
<xsl:when test="trans_mode='R' ">
By Road
</xsl:when>
<xsl:when test="trans_mode='L' ">
By Rail
</xsl:when>
<xsl:when test="trans_mode='S' ">
By Ship
</xsl:when>
</xsl:choose>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Credit term: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select= "crterm_descr"/>&#160;
(<xsl:value-of select= "cr_term"/>)
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Order amount: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
(<xsl:value-of select="curr_code"/>) <xsl:value-of select="ord_amt" />
</font>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/>
<div style="overflow-x: scroll; width:100%">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody>
<xsl:for-each select="//Detail1">
<tr border="1">
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr no</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Discount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Tax amount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Net amount</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Total amount</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Delivery date</font>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//Detail2">
<xsl:sort select="item_code" />
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<xsl:variable name="line_no">
<xsl:value-of select="line_no" />
</xsl:variable>
<xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" />
</xsl:variable>
<tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/>
</font>
</td>
<!--<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="ovos_amt" />
</xsl:for-each>
</font>
</td>-->
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dlv_date" />
</xsl:for-each>
</font>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment