Commit 50a22507 authored by asant's avatar asant

Added purchase order xml and xsl files.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194760 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 83ca03a0
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="PRUC_WRKFLW" Name="PRUC_WRKFLW" 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-12-15 16:28:59</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="PRUC_WRKFLW" Name="Process">
<ProcessHeader DurationUnit="D">
<Created>2018-12-15 16:29:20</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="PURC_INIT" Name="PURC_INIT">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PURC_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.chg_user:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PURC_APR1" Name="PURC_APR1">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PURC_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail2.purc_order:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PURC_APR2" Name="PURC_APR2">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PURC_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PURC_APR3" Name="PURC_APR3">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PURC_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
</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="5" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="signFor" Index="6" 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>
<FormalParameter Id="signRightsChar" Index="10" 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="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>
<Application Id="PRUC_CONF" Name="PRUC_CONF">
<FormalParameters>
<FormalParameter Id="PO_ID" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XTRA_PARAMS" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORCED_FLAG" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="4" 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.adv.PorderConf"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="PRUC_WRKFLW" Name="PRUC_WRKFLW">
<Implementation>
<No/>
</Implementation>
<Performer>PURC_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_INIT"/>
<ExtendedAttribute Name="XOffset" Value="340"/>
<ExtendedAttribute Name="YOffset" Value="90"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PRUC_APPR_SIGN1" Name="PRUC_APPR_SIGN1">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PURC_SIGN</ActualParameter>
<ActualParameter>PRUC_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Purchase</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail2.purc_order&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PURC_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PRUC_WRKFLW_Tra3"/>
<TransitionRef Id="PRUC_WRKFLW_Tra12"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_APR1"/>
<ExtendedAttribute Name="XOffset" Value="340"/>
<ExtendedAttribute Name="YOffset" Value="70"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PRUC_APPR_SIGN2" Name="PRUC_APPR_SIGN2">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PURC_SIGN</ActualParameter>
<ActualParameter>PRUC_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Purchase</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail2.purc_order&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PURC_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PRUC_WRKFLW_Tra11"/>
<TransitionRef Id="PRUC_WRKFLW_Tra13"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_APR2"/>
<ExtendedAttribute Name="XOffset" Value="340"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PRUC_APPR_SIGN3" Name="PRUC_APPR_SIGN3">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>PURC_SIGN</ActualParameter>
<ActualParameter>PRUC_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Purchase</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail2.purc_order&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PURC_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PRUC_WRKFLW_Tra14"/>
<TransitionRef Id="PRUC_WRKFLW_Tra7"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_APR3"/>
<ExtendedAttribute Name="XOffset" Value="340"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PorderConf" Name="PorderConf">
<Implementation>
<Tool Id="PRUC_CONF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>loginCode=$PRFMR_CODE~tloginEmpCode=$PRFMR_CODE</ActualParameter>
<ActualParameter>true</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>PURC_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PRUC_WRKFLW_Tra8"/>
<TransitionRef Id="PRUC_WRKFLW_Tra9"/>
<TransitionRef Id="PRUC_WRKFLW_Tra10"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_APR3"/>
<ExtendedAttribute Name="XOffset" Value="580"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PURC_APPRV_MAIL1" Name="PURC_APPRV_MAIL1">
<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;PURC_APPRVD&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>PURC_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_INIT"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="70"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PRUC_REJ_MAIL" Name="PRUC_REJ_MAIL">
<Implementation>
<No/>
</Implementation>
<Performer>PURC_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_INIT"/>
<ExtendedAttribute Name="XOffset" Value="170"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PURC_APPRV_MAIL2" Name="PURC_APPRV_MAIL2">
<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;PURC_APPRVD&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>PURC_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_APR1"/>
<ExtendedAttribute Name="XOffset" Value="580"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PURC_APPRV_MAIL3" Name="PURC_APPRV_MAIL3">
<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;PURC_APPRVD&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>PURC_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="PURC_APR2"/>
<ExtendedAttribute Name="XOffset" Value="640"/>
<ExtendedAttribute Name="YOffset" Value="70"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="PRUC_WRKFLW" Id="PRUC_WRKFLW_Tra2" To="PRUC_APPR_SIGN1">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="PRUC_APPR_SIGN1" Id="PRUC_WRKFLW_Tra3" To="PRUC_APPR_SIGN2">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PRUC_APPR_SIGN3" Id="PRUC_WRKFLW_Tra7" To="PorderConf">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PorderConf" Id="PRUC_WRKFLW_Tra8" To="PURC_APPRV_MAIL3">
<Condition Type="CONDITION">$APP_RESULT=="Y" || $APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT,$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="PorderConf" Id="PRUC_WRKFLW_Tra9" To="PURC_APPRV_MAIL2">
<Condition Type="CONDITION">$APP_RESULT=="Y" || $APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT,$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="PorderConf" Id="PRUC_WRKFLW_Tra10" To="PURC_APPRV_MAIL1">
<Condition Type="CONDITION">$APP_RESULT=="Y" || $APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT,$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="PRUC_APPR_SIGN2" Id="PRUC_WRKFLW_Tra11" To="PRUC_APPR_SIGN3">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PRUC_APPR_SIGN1" Id="PRUC_WRKFLW_Tra12" To="PRUC_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="PRUC_APPR_SIGN2" Id="PRUC_WRKFLW_Tra13" To="PRUC_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="PRUC_APPR_SIGN3" Id="PRUC_WRKFLW_Tra14" To="PRUC_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="PURC_INIT;PRUC_WRKFLW;350;10;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PURC_INIT;PRUC_REJ_MAIL;80;60;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PURC_APR2;PURC_APPRV_MAIL3;750;70;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PURC_APR1;PURC_APPRV_MAIL2;700;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="PURC_INIT;PURC_APPRV_MAIL1;670;70;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="PURC_INIT;PURC_APR1;PURC_APR2;PURC_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>
<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="AML-NOT-DefN" >
<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