<?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="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">
                    <ParticipantType 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="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>
                    <TransitionRestrictions>
                        <TransitionRestriction>
                            <Join Type="XOR"/>
                        </TransitionRestriction>
                    </TransitionRestrictions>
                    <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>
                    <TransitionRestrictions>
                        <TransitionRestriction>
                            <Join Type="XOR"/>
                        </TransitionRestriction>
                    </TransitionRestrictions>
                    <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_MGR_SIGN">
                    <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="CONFIRM">
                    <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>
