Commit ad0c1e0f authored by asant's avatar asant

Added For Indent workflow

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194700 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7e5098a3
......@@ -7,6 +7,7 @@ import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.sys.CreateRCPXML;
import ibase.system.config.ConnDriver;
import ibase.utility.E12GenericUtility;
import ibase.utility.UserInfoBean;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
......@@ -45,6 +46,41 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
}
return retString;
}
// Added by AMOL on 18-12-18 [START]
public String confirm(String tranID,String xtraParams, String forcedFlag,String userInfoStr) throws RemoteException,ITMException
{
System.out.println("#### Calling confirm ...");
String retString = "";
Connection conn = null;
ConnDriver connDriver = new ConnDriver();
try
{
UserInfoBean userInfo = new UserInfoBean(userInfoStr);
String transDB = userInfo.getTransDB();
System.out.println("#### TransDB connection in : "+transDB);
if (transDB != null && transDB.trim().length() > 0)
{
conn = connDriver.getConnectDB(transDB);
}
else
{
conn = connDriver.getConnectDB("DriverITM");
}
conn.setAutoCommit(false);
connDriver = null;
retString = this.confirm(tranID, xtraParams, forcedFlag, conn);
System.out.println("retString:::::"+retString);
}
catch(Exception e)
{
System.out.println("Exception in [IndentReqConf] confirm " + e.getMessage());
throw new ITMException(e);
}
return retString;
}
//// Added by AMOL on 18-12-18 [END]
public String confirm(String tranId, String xtraParams, String forcedFlag, Connection conn) throws RemoteException,ITMException
{
......
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="INDENT_WRKFLW" Name="INDENT_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-13 17:06:38</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="INDENT_WRKFLW" Name="Process">
<ProcessHeader DurationUnit="D">
<Created>2018-12-13 17:07:33</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="INDT_INIT" Name="INDT_INIT">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDT_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="INDT_APR1" Name="INDT_APR1">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDT_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.ind_no:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDT_APR2" Name="INDT_APR2">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDT_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDT_APR3" Name="INDT_APR3">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDT_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.ind_no:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDT_APR4" Name="INDT_APR4">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDT_APR4"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
</ExtendedAttributes>
</Participant>
<Participant Id="INDT_APR5" Name="INDT_APR5">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="INDT_APR5"/>
<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="INDT_CONF" Name="INDT_CONF">
<FormalParameters>
<FormalParameter Id="TRAN_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.IndentReqConf"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="INDENT_WRKFLW" Name="INDENT_WRKFLW">
<Implementation>
<No/>
</Implementation>
<Performer>INDT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="360"/>
<ExtendedAttribute Name="YOffset" Value="80"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPR_SIGN1" Name="INDT_APPR_SIGN1">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDT_SIGN</ActualParameter>
<ActualParameter>INDENT_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENT_WRKFLW_Tra4"/>
<TransitionRef Id="INDENT_WRKFLW_Tra10"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="360"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPR_SIGN2" Name="INDT_APPR_SIGN2">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDT_SIGN</ActualParameter>
<ActualParameter>INDENT_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENT_WRKFLW_Tra5"/>
<TransitionRef Id="INDENT_WRKFLW_Tra11"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="360"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPR_SIGN3" Name="INDT_APPR_SIGN3">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDT_SIGN</ActualParameter>
<ActualParameter>INDENT_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENT_WRKFLW_Tra12"/>
<TransitionRef Id="INDENT_WRKFLW_Tra6"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="360"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPR_SIGN4" Name="INDT_APPR_SIGN4">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDT_SIGN</ActualParameter>
<ActualParameter>INDENT_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDT_APR4</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENT_WRKFLW_Tra7"/>
<TransitionRef Id="INDENT_WRKFLW_Tra13"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR4"/>
<ExtendedAttribute Name="XOffset" Value="360"/>
<ExtendedAttribute Name="YOffset" Value="70"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPR_SIGN5" Name="INDT_APPR_SIGN5">
<Implementation>
<Tool Id="signTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>INDT_SIGN</ActualParameter>
<ActualParameter>INDENT_WRKFLW</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Indent</ActualParameter>
<ActualParameter>&lt;Detail1.ind_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ind_no&gt;</ActualParameter>
<ActualParameter>SR</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>INDT_APR5</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENT_WRKFLW_Tra14"/>
<TransitionRef Id="INDENT_WRKFLW_Tra15"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR5"/>
<ExtendedAttribute Name="XOffset" Value="250"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_REJ_MAIL" Name="INDT_REJ_MAIL">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&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;INDT_REJTD&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>INDT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="160"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_WRK_APPRD" Name="INDT_WRK_APPRD">
<Implementation>
<Tool Id="INDT_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>INDT_APR5</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="INDENT_WRKFLW_Tra19"/>
<TransitionRef Id="INDENT_WRKFLW_Tra21"/>
<TransitionRef Id="INDENT_WRKFLW_Tra16"/>
<TransitionRef Id="INDENT_WRKFLW_Tra18"/>
<TransitionRef Id="INDENT_WRKFLW_Tra20"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR5"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPRV_MAIL1" Name="INDT_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;indent_req&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;INDT_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>INDT_INIT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_INIT"/>
<ExtendedAttribute Name="XOffset" Value="570"/>
<ExtendedAttribute Name="YOffset" Value="40"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPRV_MAIL2" Name="INDT_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;indent_req&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;INDT_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>INDT_APR1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR1"/>
<ExtendedAttribute Name="XOffset" Value="670"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPRV_MAIL3" Name="INDT_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;indent_req&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;INDT_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>INDT_APR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR2"/>
<ExtendedAttribute Name="XOffset" Value="740"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPRV_MAIL4" Name="INDT_APPRV_MAIL4">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&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;INDT_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>INDT_APR3</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR3"/>
<ExtendedAttribute Name="XOffset" Value="770"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="INDT_APPRV_MAIL5" Name="INDT_APPRV_MAIL5">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
<ActualParameters>
<ActualParameter>&lt;ROOT&gt;&lt;EMAIL_TYPE&gt;link&lt;/EMAIL_TYPE&gt;&lt;OBJ_NAME&gt;indent_req&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;INDT_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>INDT_APR4</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="INDT_APR4"/>
<ExtendedAttribute Name="XOffset" Value="790"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="INDENT_WRKFLW" Id="INDENT_WRKFLW_Tra3" To="INDT_APPR_SIGN1">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDT_APPR_SIGN1" Id="INDENT_WRKFLW_Tra4" To="INDT_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="INDT_APPR_SIGN2" Id="INDENT_WRKFLW_Tra5" To="INDT_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="INDT_APPR_SIGN3" Id="INDENT_WRKFLW_Tra6" To="INDT_APPR_SIGN4">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDT_APPR_SIGN4" Id="INDENT_WRKFLW_Tra7" To="INDT_APPR_SIGN5">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDT_APPR_SIGN1" Id="INDENT_WRKFLW_Tra10" To="INDT_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="INDT_APPR_SIGN2" Id="INDENT_WRKFLW_Tra11" To="INDT_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="INDT_APPR_SIGN3" Id="INDENT_WRKFLW_Tra12" To="INDT_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="INDT_APPR_SIGN4" Id="INDENT_WRKFLW_Tra13" To="INDT_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="INDT_APPR_SIGN5" Id="INDENT_WRKFLW_Tra14" To="INDT_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="INDT_APPR_SIGN5" Id="INDENT_WRKFLW_Tra15" To="INDT_WRK_APPRD">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="INDT_WRK_APPRD" Id="INDENT_WRKFLW_Tra16" To="INDT_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="INDT_WRK_APPRD" Id="INDENT_WRKFLW_Tra18" To="INDT_APPRV_MAIL5">
<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="INDT_WRK_APPRD" Id="INDENT_WRKFLW_Tra19" To="INDT_APPRV_MAIL4">
<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="INDT_WRK_APPRD" Id="INDENT_WRKFLW_Tra20" To="INDT_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="INDT_WRK_APPRD" Id="INDENT_WRKFLW_Tra21" To="INDT_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>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="INDT_INIT;INDENT_WRKFLW;380;1;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDT_APR2;INDT_APPRV_MAIL3;890;60;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDT_INIT;INDT_APPRV_MAIL1;700;40;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDT_APR4;INDT_APPRV_MAIL5;930;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDT_APR1;INDT_APPRV_MAIL2;820;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDT_APR3;INDT_APPRV_MAIL4;910;60;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="INDT_INIT;INDT_REJ_MAIL;80;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="INDT_INIT;INDT_APR1;INDT_APR2;INDT_APR3;INDT_APR4;INDT_APR5;"/>
</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/GTPL_WORKFLOW/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_WORKFLOW/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/home/base/Jaff/GTPL_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='indent_req'/>
<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="wf_status">
<xsl:value-of select="wf_status" />
</xsl:variable>
<xsl:variable name="ind_no">
<xsl:value-of select="ind_no" />
</xsl:variable>
<xsl:variable name="ind_date">
<xsl:value-of select="ind_date" />
</xsl:variable>
<xsl:variable name="ind_type">
<xsl:value-of select="ind_type" />
</xsl:variable>
<xsl:variable name="site_code__ori">
<xsl:value-of select="site_code__ori" />
</xsl:variable>
<xsl:variable name="dept_code">
<xsl:value-of select="dept_code" />
</xsl:variable>
<xsl:variable name="emp_code__req">
<xsl:value-of select="emp_code__req" />
</xsl:variable>
<xsl:variable name="proj_code">
<xsl:value-of select="proj_code" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="work_order">
<xsl:value-of select="work_order" />
</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">
Indent:
<b><xsl:value-of select="ind_no" /></b>
</font>
</td>
<td class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2">
Date:
<b><xsl:value-of select="ind_date" /></b>
</font>
</td>
</tr>
<tr>
<td colspan="3" class = "tLabelDataD3" >
<div class = "tLabelDataD3" >
<font size="4">
<b><xsl:value-of select="employee_emp_fname"/>&#160;
<xsl:value-of select="employee_emp_lname"/></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="3">
<b><xsl:value-of select="emp_code__req"/></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" />&#160;
(<xsl:value-of select="site_code__ori" />)</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" style='border:1px solid lightgrey;' >
<tr>
<td class="cellttl1">Reference: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="ref_no" />
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Delivery to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__del"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Bill to: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="site_code__bil"/>
</font>
</td>
</tr>
<tr>
<td class="cellttl1">Project: </td>
<td class="tLabelDataD1" style="text-align:left">
<font size="2">
<xsl:value-of select="proj_code" />
</font>
</td>
</tr>
<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">Minimum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "min_batch_qty"/>
</td>
</tr>
<tr>
<td class="cellttl1">Maximum batch quantity : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select= "max_batch_qty"/>
</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">
<font face="Times New Roman" size="2">Unit</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Quantity</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Approximate rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Maximum rate</font>
</td>
<td class="editDisplayheaderClass" align="right">
<font face="Times New Roman" size="2">Last purchase rate</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Required date</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Expected <br/>consumption 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;">
<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;">
<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="quantity" />
</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="purc_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="max_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="last_pur_rate" />
</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="req_date" />
</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="exp_cons_date" />
</xsl:for-each>
</font>
</td>
</tr>
<!--<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font>
</td>-->
</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