Commit e7b0f39e authored by ryadav's avatar ryadav

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92361 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 283bbc66
@CHARSET "UTF-8";
body {
background-color: white;
}
.tTableHeader {
border: 2px groove;
background-color: #CCF8CC;
}
.tTableDetail {
border: 2px groove;
background-color: #FFFFD9;
}
.tTitle {
font-size: 21px;
color: white;
background-color: gray;
}
.tLabel {
font-weight: bold;
}
.tLabelData {
font-family: arial,tahoma,serif,sans-serif;
font-size: 15px;
}
=============================================
wf_role_users
=============================================
INSERT INTO wf_role_users
(
role_code ,
userid ,
chg_date ,
chg_user ,
chg_term
)
VALUES
(
'ACT_EX ',
'SUPER ',
TO_TIMESTAMP('10-10-2010 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'E '
);
COMMIT;
/
=============================================
INSERT INTO wf_role_users
(
role_code ,
userid ,
chg_date ,
chg_user ,
chg_term
)
VALUES (
'ACT_MGR ',
'SUPER ',
TO_TIMESTAMP('10-10-2010 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'E '
);
COMMIT;
/
=============================================
wf_role
=============================================
INSERT INTO wf_role
(
role_code ,
role_type ,
event_carr ,
descr ,
user_id ,
subject_str,
include_data,
chg_date,
chg_user,
chg_term,
role_entity,
role_entity_sql,
email_addr,
dyn_role_ref
)
VALUES (
'ACT_EX ',
'S',
'S',
'ACCOUNTS EXECUTIVE ',
'BASE ',
'Accounts Executive Approval ',
NULL,
TO_DATE('11-09-2012 11:08:58','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
'E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE=?',
'swakade@baseinformation.com',
NULL);
commit;
/
=============================================
INSERT INTO wf_role
(
role_code ,
role_type ,
event_carr ,
descr ,
user_id ,
subject_str,
include_data,
chg_date,
chg_user,
chg_term,
role_entity,
role_entity_sql,
email_addr,
dyn_role_ref
)
VALUES (
'ACT_MGR ',
'S',
'S',
'ACCOUNTS MANAGER ',
'BASE ',
'Accounts Manager Approval ',
NULL,
TO_DATE('11-09-2012 11:08:58','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
'E',
'SELECT EMP_CODE FROM EMPLOYEE WHERE EMP_CODE=?',
'swakade@baseinformation.com',
NULL);
commit;
/
=============================================
mail format for payable_voucher,fin_payment,
fin_credit_note,fin_debit_note
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTEXAPRVFINPAY',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Payment<Detail1.tran_id> assigned to Account Executive',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTMGRAPRVFINCRENOTE',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Credit Note<Detail1.tran_id> assigned to Account Manager',
NULL,
1,
1,
NULL,
NULL,
'M',
'192.168.0.142',
'192.168.0.142',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTEXAPRVFINCRENOTE',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Credit Note<Detail1.tran_id> assigned to Account Executive',
NULL,
1,
1,
NULL,
NULL,
'M',
'192.168.0.142',
'192.168.0.142',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTMGRAPRVFINDEBNOTE',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Debit Note<Detail1.tran_id> assigned to Account Manager',
NULL,
1,
1,
NULL,
NULL,
'M',
'192.168.0.142',
'192.168.0.142',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTEXAPRVFINDEBNOTE',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Debit Note<Detail1.tran_id> assigned to Account Executive',
NULL,
1,
1,
NULL,
NULL,
'M',
'192.168.0.142',
'192.168.0.142',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTEXAPRVPAYVOU',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Payable voucher<Detail1.tran_id> assigned to Account Executive',
NULL,
1,
1,
NULL,
NULL,
'M',
'192.168.0.142',
'192.168.0.142',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTMGRAPRVFINPAY',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Payment<Detail1.tran_id> assigned to Account Manager',
NULL,
1,
1,
NULL,
NULL,
'M',
'192.168.0.142',
'192.168.0.142',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
INSERT INTO mail_format
(
format_code,
format_type,
send_to,
copy_to,
blind_copy,
subject,
body_text,
body_comp ,
priority,
delivery_report,
return_receipt,
mail_application,
mail_server,
mail_box,
mail_id,
attach_type,
attach_text,
mail_generation,
win_name,
cond_method,
fn_name
)
VALUES (
'ACTMGRAPRVPAYVOU',
'T',
'[(E)ROLE_CODE]',
NULL,
NULL,
'FIN-Request for approval : Finance Payable voucher<Detail1.tran_id> assigned to Account Manager',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
commit;
/
=============================================
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="FIN_CREDIT_NOTE" Name="FIN_CREDIT_NOTE" 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>2012-12-04 15:07:39</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="FIN_CREDIT_NOTE" Name="FIN_CREDIT_NOTE">
<ProcessHeader DurationUnit="D">
<Created>2012-12-04 15:10:07</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="ACT_EX" Name="ACT_EX">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PFMR_ROLE_CODE" Value="ACT_EX"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="ACT_MGR" Name="ACT_MGR">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PFMR_ROLE_CODE" Value="ACT_MGR"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<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="CTX_1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_3" 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="CallConfirmService" Name="CallConfirmService">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRAN_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XTRA_PARAMS" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORCED_FLAG" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="EJB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.sys.CallConfirmService"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="FIN_CREDIT_NOTE" Name="CHECK STATUS">
<Implementation>
<No/>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="150"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_SIGN" Name="ACCT_EXEC_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTEXAPRVFINCRENOTE</ActualParameter>
<ActualParameter>FIN_CREDIT_NOTE</ActualParameter>
<ActualParameter>FIN Credit Note for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>FIN Credit Note</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="250"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_SIGN" Name="ACCT_MGR_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTMGRAPRVFINCRENOTE</ActualParameter>
<ActualParameter>FIN_CREDIT_NOTE</ActualParameter>
<ActualParameter>FIN Credit Note for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>FIN Credit Note</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_TRAN_SAVE" Name="ACCT_EXEC_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>drcrpay_cr</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_TRAN_SAVE" Name="ACCT_MGR_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>drcrpay_cr</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CONFIRM" Name="CONFIRM">
<Implementation>
<Tool Id="CallConfirmService" Type="APPLICATION">
<ActualParameters>
<ActualParameter>drcrpay_cr</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>loginCode=$PRFMR_CODE~~loginEmpCode=$PRFMR_CODE~~runMode=I</ActualParameter>
<ActualParameter>S</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="110"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="FIN_CREDIT_NOTE" Id="FIN_CREDIT_NOTE_Tra2" To="ACT_EX_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_SIGN" Id="FIN_CREDIT_NOTE_Tra3" To="ACT_EX_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_TRAN_SAVE" Id="FIN_CREDIT_NOTE_Tra4" To="ACT_MGR_SIGN">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_SIGN" Id="FIN_CREDIT_NOTE_Tra5" To="ACT_MGR_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_TRAN_SAVE" Id="FIN_CREDIT_NOTE_Tra6" To="CONFIRM">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="ACT_EX;FIN_CREDIT_NOTE;70;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="ACT_MGR;CONFIRM;670;110;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="ACT_EX;ACT_MGR;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="FIN_DEBIT_NOTE" Name="FIN_DEBIT_NOTE" 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>2012-12-04 15:07:39</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="FIN_DEBIT_NOTE" Name="FIN_DEBIT_NOTE">
<ProcessHeader DurationUnit="D">
<Created>2012-12-04 15:10:07</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="ACT_EX" Name="ACT_EX">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PFMR_ROLE_CODE" Value="ACT_EX"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="ACT_MGR" Name="ACT_MGR">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PFMR_ROLE_CODE" Value="ACT_MGR"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<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="CTX_1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_3" 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="CallConfirmService" Name="CallConfirmService">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRAN_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XTRA_PARAMS" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORCED_FLAG" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="EJB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.sys.CallConfirmService"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="FIN_DEBIT_NOTE" Name="CHECK STATUS">
<Implementation>
<No/>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="150"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_SIGN" Name="ACCT_EXEC_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTEXAPRVFINDEBNOTE</ActualParameter>
<ActualParameter>FIN_DEBIT_NOTE</ActualParameter>
<ActualParameter>FIN DEBIT NOTE for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>FIN DEBIT NOTE</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="250"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_SIGN" Name="ACCT_MGR_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTMGRAPRVFINDEBNOTE</ActualParameter>
<ActualParameter>FIN_DEBIT_NOTE</ActualParameter>
<ActualParameter>FIN DEBIT NOTE for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>FIN DEBIT NOTE</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_TRAN_SAVE" Name="ACCT_EXEC_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>drcrpay_dr</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_TRAN_SAVE" Name="ACCT_MGR_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>drcrpay_dr</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CONFIRM" Name="CONFIRM">
<Implementation>
<Tool Id="CallConfirmService" Type="APPLICATION">
<ActualParameters>
<ActualParameter>drcrpay_dr</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>loginCode=$PRFMR_CODE~~loginEmpCode=$PRFMR_CODE~~runMode=I</ActualParameter>
<ActualParameter>S</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="110"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="FIN_DEBIT_NOTE" Id="FIN_DEBIT_NOTE_Tra2" To="ACT_EX_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_SIGN" Id="FIN_DEBIT_NOTE_Tra3" To="ACT_EX_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_TRAN_SAVE" Id="FIN_DEBIT_NOTE_Tra4" To="ACT_MGR_SIGN">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_SIGN" Id="FIN_DEBIT_NOTE_Tra5" To="ACT_MGR_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_TRAN_SAVE" Id="FIN_DEBIT_NOTE_Tra6" To="CONFIRM">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="ACT_EX;FIN_DEBIT_NOTE;70;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="ACT_MGR;CONFIRM;670;110;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="ACT_EX;ACT_MGR;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="FIN_PAYMENTS" Name="FIN_PAYMENTS" 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>2012-12-04 15:07:39</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="FIN_PAYMENTS" Name="FIN_PAYMENTS">
<ProcessHeader DurationUnit="D">
<Created>2012-12-04 15:10:07</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="ACT_EX" Name="ACT_EX">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PFMR_ROLE_CODE" Value="ACT_EX"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="ACT_MGR" Name="ACT_MGR">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PFMR_ROLE_CODE" Value="ACT_MGR"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<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="CTX_1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_3" 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="CallConfirmService" Name="CallConfirmService">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRAN_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XTRA_PARAMS" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORCED_FLAG" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="EJB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.sys.CallConfirmService"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="FIN_PAYMENTS" Name="CHECK STATUS">
<Implementation>
<No/>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="150"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_SIGN" Name="ACCT_EXEC_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTEXAPRVFINPAY</ActualParameter>
<ActualParameter>FIN_PAYMENTS</ActualParameter>
<ActualParameter>FIN Payment for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>FIN Payment</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="250"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_SIGN" Name="ACCT_MGR_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTMGRAPRVFINPAY</ActualParameter>
<ActualParameter>FIN_PAYMENTS</ActualParameter>
<ActualParameter>FIN Payment for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>FIN Payment</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_TRAN_SAVE" Name="ACCT_EXEC_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>misc_pay</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_TRAN_SAVE" Name="ACCT_MGR_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>misc_pay</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CONFIRM" Name="CONFIRM">
<Implementation>
<Tool Id="CallConfirmService" Type="APPLICATION">
<ActualParameters>
<ActualParameter>misc_pay</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>loginCode=$PRFMR_CODE~~loginEmpCode=$PRFMR_CODE~~runMode=I</ActualParameter>
<ActualParameter>S</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="110"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="FIN_PAYMENTS" Id="FIN_PAYMENTS_Tra2" To="ACT_EX_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_SIGN" Id="FIN_PAYMENTS_Tra3" To="ACT_EX_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_TRAN_SAVE" Id="FIN_PAYMENTS_Tra4" To="ACT_MGR_SIGN">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_SIGN" Id="FIN_PAYMENTS_Tra5" To="ACT_MGR_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_TRAN_SAVE" Id="FIN_PAYMENTS_Tra6" To="CONFIRM">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="ACT_EX;FIN_PAYMENTS;70;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="ACT_MGR;CONFIRM;670;110;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="ACT_EX;ACT_MGR;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Package Id="PAYABLE_VOUCHER" Name="PAYABLE_VOUCHER" 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>2012-12-04 15:07:39</Created>
</PackageHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<ConformanceClass GraphConformance="NON_BLOCKED"/>
<WorkflowProcesses>
<WorkflowProcess AccessLevel="PUBLIC" Id="PAYABLE_VOUCHER" Name="PAYABLE_VOUCHER">
<ProcessHeader DurationUnit="D">
<Created>2012-12-04 15:10:07</Created>
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="ACT_EX" Name="ACT_EX">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="ACT_EX"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="ACT_MGR" Name="ACT_MGR">
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="ACT_MGR"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<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="CTX_1" Index="7" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_2" Index="8" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="CTX_3" 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="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="CallConfirmService" Name="CallConfirmService">
<FormalParameters>
<FormalParameter Id="OBJ_NAME" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="TRAN_ID" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XTRA_PARAMS" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="FORCED_FLAG" Index="4" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="EJB"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.sys.CallConfirmService"/>
<ExtendedAttribute Name="METHOD_NAME" Value="confirm"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="PAYABLE_VOUCHER" Name="CHECK STATUS">
<Implementation>
<No/>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="150"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_SIGN" Name="ACCT_EXEC_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTEXAPRVPAYVOU</ActualParameter>
<ActualParameter>FIN_PAYABLE_VOUCHER</ActualParameter>
<ActualParameter>Payable Voucher for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>Payable Voucher</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="250"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_SIGN" Name="ACCT_MGR_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>ACTMGRAPRVPAYVOU</ActualParameter>
<ActualParameter>FIN_PAYABLE_VOUCHER</ActualParameter>
<ActualParameter>Payable Voucher for &lt;Detail1.tran_id&gt;</ActualParameter>
<ActualParameter>Payable Voucher</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_EX_TRAN_SAVE" Name="ACCT_EXEC_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>misc_voucher</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_EX</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_EX"/>
<ExtendedAttribute Name="XOffset" Value="390"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="ACT_MGR_TRAN_SAVE" Name="ACCT_MGR_TRAN_SAVE">
<Implementation>
<Tool Id="TranSave" Type="APPLICATION">
<ActualParameters>
<ActualParameter>misc_voucher</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>E</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
</Activity>
<Activity Id="CONFIRM" Name="CONFIRM">
<Implementation>
<Tool Id="CallConfirmService" Type="APPLICATION">
<ActualParameters>
<ActualParameter>misc_voucher</ActualParameter>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>loginCode=$PRFMR_CODE~~loginEmpCode=$PRFMR_CODE~~runMode=I</ActualParameter>
<ActualParameter>S</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>ACT_MGR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="ACT_MGR"/>
<ExtendedAttribute Name="XOffset" Value="550"/>
<ExtendedAttribute Name="YOffset" Value="110"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="PAYABLE_VOUCHER" Id="PAYABLE_VOUCHER_Tra2" To="ACT_EX_SIGN">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_SIGN" Id="PAYABLE_VOUCHER_Tra3" To="ACT_EX_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_EX_TRAN_SAVE" Id="PAYABLE_VOUCHER_Tra4" To="ACT_MGR_SIGN">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_SIGN" Id="PAYABLE_VOUCHER_Tra5" To="ACT_MGR_TRAN_SAVE">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="ACT_MGR_TRAN_SAVE" Id="PAYABLE_VOUCHER_Tra6" To="CONFIRM">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="ACT_EX;PAYABLE_VOUCHER;70;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="ACT_MGR;CONFIRM;670;110;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="ACT_EX;ACT_MGR;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
<ExtendedAttributes>
<ExtendedAttribute Name="MadeBy" Value="JaWE"/>
<ExtendedAttribute Name="Version" Value="1.4.2"/>
</ExtendedAttributes>
</Package>
\ 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:output method="html"/>
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/>
</head>
<body>
<div>
<table border="1" width="100%" class="tTableHeader">
<tr>
<td colspan="4" align="center" class="tTitle">Credit Note</td>
</tr>
<tr>
<td>
<span class="tLabel">Transaction ID : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_id"/></span>
</td>
<td>
<span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_date"/></span>
</td>
<td colspan="2">
<span class="tLabel">Site: </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/site_code"/> [<xsl:value-of select="//Detail1/site_descr"/>]</span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Reference Series : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_ser"/></span>
</td>
<td>
<span class="tLabel">Currency Code : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/curr_code"/></span>
</td>
<td>
<span class="tLabel">Exchange Rate : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/exch_rate"/></span>
</td>
<td>
<span class="tLabel">Amount : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/amount"/></span>
</td>
</tr>
<tr>
<td colspan="2">
<span class="tLabel">Account : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/acct_code"/> [<xsl:value-of select="//Detail1/accounts_descr"/>]</span>
</td>
<td>
<span class="tLabel">Cost center : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/cctr_code"/></span>
</td>
<td>
<span class="tLabel">Analysis Code : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/anal_code"/></span>
</td>
</tr>
<tr>
<td colspan="3">
<span class="tLabel">Remarks : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/remarks"/></span>
</td>
<td>
<span class="tLabel">Change User : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/change_user"/></span>
</td>
</tr>
</table>
</div>
<br /><br />
<xsl:if test="//Detail2/line_no!=''">
<div>
<table border="1" width="100%" class="tTableDetail">
<tr>
<td colspan="7" align="center" class="tTitle">Pay Detail</td>
</tr>
<tr>
<td class="tLabel">Line No</td>
<td class="tLabel">Reason Code</td>
<td class="tLabel">DR/CR Amount</td>
<td class="tLabel">Tax Amount</td>
<td class="tLabel">Net Amount</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost center</td>
</tr>
<xsl:for-each select="//Detail2">
<tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="reas_code"/></td>
<td class="tLabelData"><xsl:value-of select="drcr_amt"/></td>
<td class="tLabelData"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData"><xsl:value-of select="net_amt"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:if>
<br />
<xsl:if test="//Detail3/line_no!=''">
<div>
<table border="1" width="100%" class="tTableDetail">
<tr>
<td colspan="5" align="center" class="tTitle">Pay Account</td>
</tr>
<tr>
<td class="tLabel">Line No</td>
<td class="tLabel">Analysis Code</td>
<td class="tLabel">Amount</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost center</td>
</tr>
<xsl:for-each select="//Detail3">
<tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="anal_code"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:if>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/>
</head>
<body>
<div>
<table border="1" width="100%" class="tTableHeader">
<tr>
<td colspan="4" align="center" class="tTitle">Debit Note</td>
</tr>
<tr>
<td>
<span class="tLabel">Transaction ID : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_id"/></span>
</td>
<td>
<span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_date"/></span>
</td>
<td colspan="2">
<span class="tLabel">Site: </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/site_code"/> [<xsl:value-of select="//Detail1/site_descr"/>]</span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Reference Series : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_ser"/></span>
</td>
<td>
<span class="tLabel">Currency Code : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/curr_code"/></span>
</td>
<td>
<span class="tLabel">Exchange Rate : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/exch_rate"/></span>
</td>
<td>
<span class="tLabel">Amount : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/amount"/></span>
</td>
</tr>
<tr>
<td colspan="2">
<span class="tLabel">Account : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/acct_code"/> [<xsl:value-of select="//Detail1/accounts_descr"/>]</span>
</td>
<td>
<span class="tLabel">Cost center : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/cctr_code"/></span>
</td>
<td>
<span class="tLabel">Analysis Code : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/anal_code"/></span>
</td>
</tr>
<tr>
<td colspan="3">
<span class="tLabel">Remarks : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/remarks"/></span>
</td>
<td>
<span class="tLabel">Change User : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/change_user"/></span>
</td>
</tr>
</table>
</div>
<br /><br />
<xsl:if test="//Detail2/line_no!=''">
<div>
<table border="1" width="100%" class="tTableDetail">
<tr>
<td colspan="7" align="center" class="tTitle">Pay Detail</td>
</tr>
<tr>
<td class="tLabel">Line No</td>
<td class="tLabel">Reason Code</td>
<td class="tLabel">DR/CR Amount</td>
<td class="tLabel">Tax Amount</td>
<td class="tLabel">Net Amount</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost center</td>
</tr>
<xsl:for-each select="//Detail2">
<tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="reas_code"/></td>
<td class="tLabelData"><xsl:value-of select="drcr_amt"/></td>
<td class="tLabelData"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData"><xsl:value-of select="net_amt"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:if>
<br />
<xsl:if test="//Detail3/line_no!=''">
<div>
<table border="1" width="100%" class="tTableDetail">
<tr>
<td colspan="5" align="center" class="tTitle">Pay Account</td>
</tr>
<tr>
<td class="tLabel">Line No</td>
<td class="tLabel">Analysis Code</td>
<td class="tLabel">Amount</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost center</td>
</tr>
<xsl:for-each select="//Detail3">
<tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="anal_code"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:if>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/>
</head>
<body>
<div>
<table border="1" width="100%" class="tTableHeader">
<tr>
<td colspan="4" align="center" class="tTitle">Journal Voucher</td>
</tr>
<tr>
<td>
<span class="tLabel">Journal Vouch No. : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_id"/></span>
</td>
<td>
<span class="tLabel">Transaction Type : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_type"/></span>
</td>
<td>
<span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_date"/></span>
</td>
<td>
<span class="tLabel">Effective Date : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/eff_date"/></span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Reference Series : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/ref_ser"/> </span>
</td>
<td>
<span class="tLabel">Reference No. : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/ref_no"/> </span>
</td>
<td colspan="2">
<span class="tLabel">Site: </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/site_code"/> [<xsl:value-of select="//Detail1/site_descr"/>]</span>
</td>
</tr>
<tr>
<td colspan="2">
<span class="tLabel">Reverse Site : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/site_code__rev"/>[<xsl:value-of select="//Detail1/site_b_descr"/>]</span>
</td>
<td colspan="2">
<span class="tLabel">Site For : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/site_code__for"/> [<xsl:value-of select="//Detail/site_descr_1"/>]</span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Remarks : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/remarks"/></span>
</td>
</tr>
</table>
</div>
<br /> <br />
<div>
<table border="1" width="100%" class="tTableDetail">
<xsl:if test="//Detail2/line_no!=''">
<tr>
<td colspan="6" align="center" class="tTitle">Details</td>
</tr>
<tr>
<td class="tLabel">Journal Vouch No.</td>
<td class="tLabel">Line No.</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost Center</td>
<td class="tLabel">Debit/Credit</td>
<td class="tLabel">Amount</td>
</tr>
<xsl:for-each select="//Detail2">
<tr>
<td class="tLabelData"><xsl:value-of select="tran_id"/></td>
<td class="tLabelData"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td>
<td class="tLabelData"><xsl:value-of select="drcr_flag"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td>
</tr>
</xsl:for-each>
</xsl:if>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/>
</head>
<body>
<div>
<table border="1" width="100%" class="tTableHeader">
<xsl:for-each select="//Detail1">
<tr>
<td colspan="4" align="center" class="tTitle">Payable Voucher</td>
</tr>
<tr>
<td>
<span class="tLabel">Transaction ID : </span>
<span class="tLabelData"><xsl:value-of select="tran_id"/></span>
</td>
<td>
<span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="tran_date"/></span>
</td>
<td>
<span class="tLabel">Voucher Type :</span>
<span class="tLabelData">
<xsl:variable name="vouchType"><xsl:value-of select="vouch_type"/></xsl:variable>
<xsl:choose>
<xsl:when test="$vouchType = 'N'">
Training
</xsl:when>
<xsl:when test="$vouchType = 'R'">
Recruitment
</xsl:when>
<xsl:when test="$vouchType = 'G'">
Freight
</xsl:when>
<xsl:when test="$vouchType = 'F'">
Field Staff
</xsl:when>
<xsl:when test="$vouchType = 'O'">
Other Employee
</xsl:when>
<xsl:when test="$vouchType = 'E'">
Expense
</xsl:when>
<xsl:when test="$vouchType = 'P'">
Purchase
</xsl:when>
<xsl:when test="$vouchType = 'A'">
Loan and Advance
</xsl:when>
<xsl:when test="$vouchType = 'D'">
Debit Note
</xsl:when>
<xsl:when test="$vouchType = 'C'">
Credit Note
</xsl:when>
<xsl:when test="$vouchType = 'B'">
SPR Employee
</xsl:when>
<xsl:when test="$vouchType = 'H'">
SPR Others
</xsl:when>
</xsl:choose>
</span>
</td>
<td>
<span class="tLabel">Site Code :</span>
<span class="tLabelData"><xsl:value-of select="site_code" /> [<xsl:value-of select="site_descr" />]</span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Bill No : </span>
<span class="tLabelData"><xsl:value-of select="bill_no"/></span>
</td>
<td>
<span class="tLabel">Bill Date : </span>
<span class="tLabelData"><xsl:value-of select="bill_date"/></span>
</td>
<td>
<span class="tLabel">Sundry Type : </span>
<span class="tLabelData"><xsl:value-of select="sundry_type" /> [<xsl:value-of select="advance" />]</span>
</td>
<td>
<span class="tLabel">Sundry Code : </span>
<span class="tLabelData"><xsl:value-of select="sundry_code" /> [<xsl:value-of select="sundry_name" />]</span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Cheque Name : </span>
<span class="tLabelData"><xsl:value-of select="chq_name"/></span>
</td>
<td>
<span class="tLabel">Reference Order : </span>
<span class="tLabelData"><xsl:value-of select="order_ref"/></span>
</td>
<td>
<span class="tLabel">Remarks : </span>
<span class="tLabelData"><xsl:value-of select="remarks" /></span>
</td>
</tr>
</xsl:for-each>
</table>
</div>
<BR></BR>
<xsl:if test="//Detail3/line_no!=''">
<div>
<table border="1" width="100%" class ="tTableDetail">
<tr>
<td class="tLabel" rowspan="2">#</td>
<td class="tLabel" colspan="3">Ref. Sundry Information</td>
<td class="tLabel" rowspan="2">Account</td>
<td class="tLabel" rowspan="2">Cost Center</td>
<td class="tLabel" rowspan="2">Analysis</td>
<td class="tLabel" rowspan="2">Bill No</td>
<td class="tLabel" rowspan="2">Bill Date</td>
<td class="tLabel" rowspan="2">Bill Amount(Rs.)</td>
<td class="tLabel" rowspan="2">Tax Amount</td>
<td class="tLabel" rowspan="2">Amount</td>
<td class="tLabel" rowspan="2">Remarks</td>
</tr>
<tr>
<td class="tLabel" width="2%">Type </td>
<td class="tLabel" width="2%">Code </td>
<td class="tLabel" width="10%">Name </td>
</tr>
<xsl:for-each select="//Detail3">
<tr>
<td class="tLabelData" align="center"><xsl:value-of select="line_no"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="sundry_type__for"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="sundry_code__for"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="sundry_name"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData" align="center"><xsl:value-of select="cctr_code"/> [<xsl:value-of select="costctr_descr"/>]</td>
<td class="tLabelData" align="center"><xsl:value-of select="anal_code"/> [<xsl:value-of select="anal_code"/>]</td>
<td class="tLabelData" align="center"><xsl:value-of select="bill_no"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="bill_date"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="bill_amt"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="amount"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="remarks"/></td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:if>
</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:output method="html"/>
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/>
</head>
<body>
<div>
<table border="1" width="100%" class="tTableHeader">
<tr>
<td colspan="4" align="center" class="tTitle">Payments</td>
</tr>
<xsl:for-each select="//Detail1">
<tr>
<td colspan="2">
<span class="tLabel">Transaction ID : </span>
<span class="tLabelData"><xsl:value-of select="tran_id"/></span>
</td>
<td colspan="2">
<span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="tran_date"/></span >
</td>
</tr>
<tr>
<td>
<span class="tLabel">Payment Type : </span>
<span class="tLabelData"><xsl:value-of select="tran_type"/></span>
</td>
<td colspan="3">
<span class="tLabel">Payment Mode : </span>
<span class="tLabelData">
<xsl:variable name="payMode"><xsl:value-of select="pay_mode"/></xsl:variable>
<xsl:choose>
<xsl:when test="$payMode = 'C'">
Cash
</xsl:when>
<xsl:when test="$payMode = 'Q'">
Cheque
</xsl:when>
<xsl:when test="$payMode = 'D'">
Demand Draft
</xsl:when>
<xsl:when test="$payMode = 'T'">
Electronic Transfer
</xsl:when>
<xsl:when test="$payMode = 'I'">
EDI
</xsl:when>
<xsl:when test="$payMode = 'P'">
Pay Order
</xsl:when>
<xsl:when test="$payMode = 'R'">
Credit Card
</xsl:when>
<xsl:when test="$payMode = 'Y'">
Payment Advice
</xsl:when>
<xsl:when test="$payMode = 'G'">
RTGS
</xsl:when>
<xsl:when test="$payMode = 'N'">
NEFT
</xsl:when>
</xsl:choose>
</span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Site Code : </span>
<span class="tLabelData"><xsl:value-of select="site_code"/> [<xsl:value-of select="site_descr"/>]</span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Sundry Code : </span>
<span class="tLabelData"><xsl:value-of select="sundry_code"/> [<xsl:value-of select="sundry_name"/>]</span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Sundry Type : </span>
<span class="tLabelData"><xsl:value-of select="sundry_type"/></span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Cheque/DD No : </span>
<span class="tLabelData"><xsl:value-of select="ref_no"/></span>
</td>
<td colspan="3">
<span class="tLabel">Cheque/DD Date : </span>
<span class="tLabelData"><xsl:value-of select="ref_date"/></span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Cheque Name : </span>
<span class="tLabelData"><xsl:value-of select="chq_name"/></span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Remarks : </span>
<span class="tLabelData"><xsl:value-of select="remarks"/></span>
</td>
</tr>
</xsl:for-each>
</table>
</div>
<xsl:if test="//Detail2/line_no!=''">
<div>
<table border="1" width="100%" class="tTableDetail">
<tr>
<td colspan="12" align="center" class="tTitle">Details</td>
</tr>
<tr>
<td class="tLabel">Line No.</td>
<td class="tLabel">Tran Series</td>
<td class="tLabel">Voucher No.</td>
<td class="tLabel">Voucher Date</td>
<td class="tLabel">Exchange Rate</td>
<td class="tLabel">Currency</td>
<td class="tLabel">Net Amount</td>
<td class="tLabel">Amount Paid</td>
<td class="tLabel">Bill No.</td>
<td class="tLabel">Bill Date</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost Center</td>
</tr>
<xsl:for-each select="//Detail2">
<tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="tran_ser"/></td>
<td class="tLabelData"><xsl:value-of select="vouch_no"/></td>
<td class="tLabelData"><xsl:value-of select="vouch_date"/></td>
<td class="tLabelData"><xsl:value-of select="curr_code"/></td>
<td class="tLabelData"><xsl:value-of select="exch_rate__vouch"/></td>
<td class="tLabelData"><xsl:value-of select="net_amt"/></td>
<td class="tLabelData"><xsl:value-of select="pay_amt"/></td>
<td class="tLabelData"><xsl:value-of select="bill_no"/></td>
<td class="tLabelData"><xsl:value-of select="bill_date"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code__ap"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code__ap"/></td>
</tr>
</xsl:for-each>
</table>
</div>
</xsl:if>
</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:output method="html"/>
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/>
</head>
<body>
<div>
<table border="1" width="100%" class="tTableHeader">
<tr>
<td colspan="4" align="center" class="tTitle">Purchase Voucher</td>
</tr>
<tr>
<td>
<span class="tLabel">Voucher No. : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_id"/></span>
</td>
<td>
<span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_date"/></span>
</td>
<td>
<span class="tLabel">Voucher Type : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/vouch_type"/> </span>
</td>
<td>
<span class="tLabel">Transaction Type : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_type"/> </span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Purchase order : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/purc_order"/></span>
</td>
<td>
<span class="tLabel">Supplier : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/supp_code"/> [<xsl:value-of select="//Detail1/supp_name"/>]</span>
</td>
<td>
<span class="tLabel">Station : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/stan_descr"/></span>
</td>
<td>
<span class="tLabel">Bill No. : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/bill_no"/></span>
</td>
</tr>
<tr>
<td>
<span class="tLabel">Bill Date : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/bill_date"/></span>
</td>
<td>
<span class="tLabel">Bill Amount : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/supp_bill_amt"/> [<xsl:value-of select="//Detail/advance"/>]</span>
</td>
<td colspan="2">
<span class="tLabel">Site: </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/site_code"/> [<xsl:value-of select="//Detail1/site_descr"/>]</span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Remarks : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/remarks"/></span>
</td>
</tr>
</table>
</div>
<br /><br />
<div>
<table border="1" width="100%" class="tTableDetail">
<tr>
<td colspan="9" align="center" class="tTitle">Advance</td>
</tr>
<tr>
<td class="tLabel">Reference Series</td>
<td class="tLabel">Reference No.</td>
<td class="tLabel">Total Amount</td>
<td class="tLabel">Adjusted Amount</td>
<td class="tLabel">Diff Amt Exch</td>
<td class="tLabel">Currency</td>
<td class="tLabel">Exchange Rate</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost Center</td>
</tr>
<tr>
<td class="tLabelData"><xsl:value-of select="//Detail2/ref_ser"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/ref_no"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/tot_amt"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/adj_amt"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/diff_amt__exch"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/curr_code"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/exch_rate__vouch"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/acct_code"/>[<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="//Detail2/cctr_code"/></td>
</tr>
</table>
</div>
<br />
<div>
<table border="1" width="100%">
<xsl:if test="//Detail3/line_no!=''">
<tr>
<td colspan="10" align="center"><h4>Receipt</h4></td>
</tr>
<tr>
<td class="tLabel">Line No.</td>
<td class="tLabel">Purchase Receipt No.</td>
<td class="tLabel">Line No. Receipt</td>
<td class="tLabel">Item</td>
<td class="tLabel">Item Description</td>
<td class="tLabel">Voucher Quantity</td>
<td class="tLabel">Voucher Rate</td>
<td class="tLabel">Voucher Amount</td>
<td class="tLabel">Voucher No.</td>
<td class="tLabel">Unit</td>
</tr>
<xsl:for-each select="//Detail3">
<tr>
<td class="tLabelData"><xsl:value-of select="//Detail3/line_no"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/prcp_id"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/line_no__rcp"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/item_code"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/item_descr"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/vouch_qty"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/vouch_rate"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/vouch_amt"/>[<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="//Detail3/tran_id"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/unit"/></td>
</tr>
</xsl:for-each>
</xsl:if>
</table>
</div>
<br />
<div>
<table border="1" width="100%" class="tTableDetail">
<xsl:if test="//Detail4/line_no!=''">
<tr>
<td colspan="11" align="center" class="tTitle">Detail</td>
</tr>
<tr>
<td class="tLabel">Transaction ID</td>
<td class="tLabel">Line No.</td>
<td class="tLabel">Account</td>
<td class="tLabel">Cost Center</td>
<td class="tLabel">Department Code</td>
<td class="tLabel">Amount</td>
<td class="tLabel">Apply Tax</td>
<td class="tLabel">Tax Amount</td>
<td class="tLabel">Tax Class</td>
<td class="tLabel">Tax Chap</td>
<td class="tLabel">Tax Env</td>
</tr>
<xsl:for-each select="//Detail4">
<tr>
<td class="tLabelData"><xsl:value-of select="tran_id"/></td>
<td class="tLabelData"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/>[<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td>
<td class="tLabelData"><xsl:value-of select="dept_code"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td>
<td class="tLabelData"><xsl:value-of select="apply_tax"/></td>
<td class="tLabelData"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData"><xsl:value-of select="tax_class"/></td>
<td class="tLabelData"><xsl:value-of select="tax_chap"/></td>
<td class="tLabelData"><xsl:value-of select="tax_env"/></td>
</tr>
</xsl:for-each>
</xsl:if>
</table>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
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