Commit 6bff7705 authored by jshaikh's avatar jshaikh

Updated purchase order, sale order, sale order amendment and sales return workflow to one level


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106731 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 273ae02d
......@@ -14,17 +14,17 @@
</ProcessHeader>
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="POAPPR1" Name="POAPPR1">
<ParticipantType1 Type="ROLE"/>
<Participant Id="POINITR" Name="POINITR">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver 1"/>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiator"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="POAPPR2" Name="POAPPR2">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="APPROVER 2"/>
......@@ -32,18 +32,18 @@
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="POAPPR3">
<ParticipantType1 Type="ROLE"/>
<Description>POAPPR3</Description>
<Participant Id="POAPPR">
<ParticipantType Type="ROLE"/>
<Description>POAPPR</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver 3"/>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approver"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="POAPPR4" Name="POAPPR4">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<Description>POAPPR4</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR4"/>
......@@ -53,14 +53,14 @@
</ExtendedAttributes>
</Participant>
<Participant Id="PORD_ON_REL_SELF" Name="PORD_ON_REL_SELF">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_REL"/>
<ExtendedAttribute Name="SIGN_FOR" Value="OnReleaseInit"/>
</ExtendedAttributes>
</Participant>
<Participant Id="PORD_ON_REL_ISER_SV" Name="PORD_ON_REL_ISER_SV">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_SV_A"/>
<ExtendedAttribute Name="SIGN_FOR" Value="AprvBySV"/>
......@@ -69,7 +69,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="PORD_ON_REL_ISER_SD" Name="PORD_ON_REL_ISER_SD">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_SD_A"/>
<ExtendedAttribute Name="SIGN_FOR" Value="AprvBySD"/>
......@@ -78,7 +78,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="POAPPR5" Name="POAPPR5">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR5"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval 6"/>
......@@ -87,7 +87,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="POAPPR6" Name="POAPPR6">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR6"/>
<ExtendedAttribute Name="SIGN_FOR" Value="APPROVER"/>
......@@ -96,7 +96,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="POAPPR7" Name="POAPPR7">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="P-ORD_APR7"/>
<ExtendedAttribute Name="SIGN_FOR" Value="APPROVAL"/>
......@@ -105,7 +105,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="PORD_SIGN_USER" Name="PORD_SIGN_USER">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="PO-CRETR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="PO CREATER"/>
......@@ -114,7 +114,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="HOD1" Name="HOD1">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="ESCHOD"/>
<ExtendedAttribute Name="SIGN_FOR" Value="APPROVE"/>
......@@ -123,7 +123,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="HODHODS1" Name="HODHODS1">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="ESCHODHODS"/>
<ExtendedAttribute Name="SIGN_FOR" Value="APPROVE"/>
......@@ -132,7 +132,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="HOD2" Name="HOD2">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="ESCHOD"/>
<ExtendedAttribute Name="SIGN_FOR" Value="APPROVE"/>
......@@ -141,7 +141,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="HODHODS2" Name="HODHODS2">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="ESCHODHODS"/>
<ExtendedAttribute Name="SIGN_FOR" Value="APPROVE"/>
......@@ -477,11 +477,11 @@
</Application>
</Applications>
<Activities>
<Activity Id="PORD_SIGN" Name="DUMMY">
<Activity Id="PORD_SIGN" Name="PORD_SIGN">
<Implementation>
<No/>
</Implementation>
<Performer>POAPPR1</Performer>
<Performer>POINITR</Performer>
<StartMode>
<Automatic/>
</StartMode>
......@@ -489,7 +489,7 @@
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR1"/>
<ExtendedAttribute Name="ParticipantID" Value="POINITR"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="30"/>
</ExtendedAttributes>
......@@ -510,7 +510,7 @@
</ActualParameters>
</Tool>
</Implementation>
<Performer>POAPPR3</Performer>
<Performer>POAPPR</Performer>
<StartMode>
<Automatic/>
</StartMode>
......@@ -528,7 +528,7 @@
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR3"/>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR"/>
<ExtendedAttribute Name="XOffset" Value="210"/>
<ExtendedAttribute Name="YOffset" Value="61"/>
</ExtendedAttributes>
......@@ -543,7 +543,7 @@
</ActualParameters>
</Tool>
</Implementation>
<Performer>POAPPR3</Performer>
<Performer>POAPPR</Performer>
<StartMode>
<Automatic/>
</StartMode>
......@@ -551,50 +551,11 @@
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR3"/>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR"/>
<ExtendedAttribute Name="XOffset" Value="510"/>
<ExtendedAttribute Name="YOffset" Value="61"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PORD_SIGN_Act31" Name="APPRV1_SIGN_MGR">
<Implementation>
<Tool Id="SignTransCtx" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>P-ORD_A1NSSC</ActualParameter>
<ActualParameter>&lt;Detail1.supp_name&gt; Dt: &lt;Detail1.ord_date&gt;, &lt;Detail1.curr_code&gt; &lt;Detail1.tot_amt&gt;/-</ActualParameter>
<ActualParameter>Purchase Order</ActualParameter>
<ActualParameter>&lt;Detail1.emp_code&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.ord_date&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>POAPPR2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="PORD_SIGN_Tra151"/>
<TransitionRef Id="PORD_SIGN_Tra70"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR2"/>
<ExtendedAttribute Name="XOffset" Value="209"/>
<ExtendedAttribute Name="YOffset" Value="102"/>
</ExtendedAttributes>
</Activity>
<Activity Id="PO_REJ_MAIL" Name="PO_REJ_MAIL">
<Implementation>
<Tool Id="EMAIL" Type="APPLICATION">
......@@ -605,20 +566,15 @@
</ActualParameters>
</Tool>
</Implementation>
<Performer>POAPPR1</Performer>
<Performer>POINITR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR1"/>
<ExtendedAttribute Name="ParticipantID" Value="POINITR"/>
<ExtendedAttribute Name="XOffset" Value="510"/>
<ExtendedAttribute Name="YOffset" Value="20"/>
</ExtendedAttributes>
......@@ -633,7 +589,7 @@
</ActualParameters>
</Tool>
</Implementation>
<Performer>POAPPR1</Performer>
<Performer>POINITR</Performer>
<StartMode>
<Automatic/>
</StartMode>
......@@ -641,14 +597,14 @@
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="POAPPR1"/>
<ExtendedAttribute Name="ParticipantID" Value="POINITR"/>
<ExtendedAttribute Name="XOffset" Value="510"/>
<ExtendedAttribute Name="YOffset" Value="130"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="PORD_SIGN" Id="PORD_SIGN_Tra10" Name="PORD_SIGN_Tra10" To="PORD_SIGN_Act31">
<Transition From="PORD_SIGN" Id="PORD_SIGN_Tra10" Name="PORD_SIGN_Tra10" To="PORD_SIGN_Act3">
<Condition Type="CONDITION">status == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
......@@ -662,13 +618,6 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PORD_SIGN_Act31" Id="PORD_SIGN_Tra151" To="PORD_SIGN_Act3">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="CONFIRMATION_PO" Id="PORD_SIGN_Tra1024" Name="PORD_SIGN_Tra1024" To="END_SVSD_CONF_EMAIL">
<Condition Type="CONDITION">$APP_RESULT == "Y"</Condition>
<ExtendedAttributes>
......@@ -683,19 +632,12 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="PORD_SIGN_Act31" Id="PORD_SIGN_Tra70" Name="PORD_SIGN_Tra70" To="PO_REJ_MAIL">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="POAPPR1;PORD_SIGN;100;30;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="POAPPR1;PO_REJ_MAIL;720;20;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="POAPPR1;END_SVSD_CONF_EMAIL;720;130;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="POAPPR1;POAPPR2;POAPPR3;"/>
<ExtendedAttribute Name="StartOfWorkflow" Value="POINITR;PORD_SIGN;100;30;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="POINITR;PO_REJ_MAIL;720;20;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="POINITR;END_SVSD_CONF_EMAIL;720;130;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="POINITR;POAPPR;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
......
......@@ -15,7 +15,7 @@
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SORD-AMD_REQ" Name="SORD-AMD_REQ">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<Description>Let first approve/sign the Sale order approver of SORDER Module.</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_ORD"/>
......@@ -25,14 +25,14 @@
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD_APPR2_Par1" Name="APPR2-SELORDER">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-A2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="approval between 10000 &amp; 20000"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SORD-AMD_SP" Name="SORD-AMD_SP">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_SP"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -41,7 +41,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SORD-AMD_FINAL" Name="SORD-AMD_FINAL">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<Description>This mail will go to order send by automatically after approved/ sign mail by approver.</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_FNAL"/>
......@@ -49,7 +49,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SORD-AMD_SP-CONF" Name="SORD-AMD_SP-CONF">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_SPCF"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiation"/>
......@@ -58,7 +58,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SORD-AMD-SP-REJA" Name="SORD-AMD-SP-REJA">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_SPRJ"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initialization"/>
......@@ -67,7 +67,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SORD-AMD-ORD-REJA" Name="SORD-AMD-ORD-REJA">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_EREJ"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initialization"/>
......@@ -76,7 +76,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SORD-AMD_CONF" Name="SORD-AMD_CONF">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_EMCF"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initialization"/>
......@@ -85,7 +85,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD-FAIL" Name="S-AMD-FAIL">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<Description>sending mail due to fail transaction action</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-F"/>
......@@ -95,14 +95,14 @@
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD_THRD-SECOND" Name="S-AMD_THRD-SECOND">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-A32"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Second Third Approval"/>
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD_ESC-SALES-PERS">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<Description>mail indication to sales person about auto sign by system after waiting for a fix time.</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-C21"/>
......@@ -112,7 +112,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD_RPT_TO" Name="S-AMD_RPT_TO">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD_R2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -121,28 +121,28 @@
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD_2ND_PU01">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-PU01"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiation"/>
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD_2ND_PU02">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-PU02"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiation"/>
</ExtendedAttributes>
</Participant>
<Participant Id="S-AMD_2ND_EX01">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-EX01"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiation"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SORD-AMD_CONF_2LEV" Name="SORD-AMD_CONF_2LEV">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<Description>Final confirmation email if approve in 2nd level.</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-AMD-CO2L"/>
......@@ -602,11 +602,6 @@
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SORD-AMD_REQ"/>
<ExtendedAttribute Name="XOffset" Value="520"/>
......@@ -636,45 +631,6 @@
<ExtendedAttribute Name="YOffset" Value="130"/>
</ExtendedAttributes>
</Activity>
<Activity Id="S-AMD_REPORT_TO" Name="S-AMD_REPORT_TO">
<Implementation>
<Tool Id="SignTransCtx" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>S-AMD_S-AMD-A2</ActualParameter>
<ActualParameter>Amended Order Of &lt;Detail1.customer_a_cust_name&gt; dated:&lt;Detail1.amd_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.sale_order&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.customer_b_cust_name&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>S-AMD_RPT_TO</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="S-AMD_Tra469"/>
<TransitionRef Id="S-AMD_Tra519"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="S-AMD_RPT_TO"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="60"/>
</ExtendedAttributes>
</Activity>
<Activity Id="S-AMD_SP_CONF" Name="S-AMD_SP_CONF">
<Implementation>
<Tool Id="SOrderAmdConfWF" Type="APPLICATION">
......@@ -700,7 +656,7 @@
</Activity>
</Activities>
<Transitions>
<Transition From="S-AMD" Id="T_S-AMD_Tra2" Name="mail transaction" To="S-AMD_REPORT_TO">
<Transition From="S-AMD" Id="T_S-AMD_Tra2" Name="mail transaction" To="S-AMD_REP_ATHORITY">
<Condition Type="CONDITION">order_status == "S"</Condition>
<Description>removed item_ser conditions</Description>
<ExtendedAttributes>
......@@ -718,20 +674,6 @@
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="S-AMD_REPORT_TO" Id="S-AMD_Tra469" To="MAIL_FOR_REJECTION">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="S-AMD_REPORT_TO" Id="S-AMD_Tra519" To="S-AMD_REP_ATHORITY">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="S-AMD_REP_ATHORITY" Id="S-AMD_Tra587" Name="S-AMD_Tra587" To="S-AMD_SP_CONF">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
......@@ -757,7 +699,7 @@
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="SORD-AMD_REQ;S-AMD;70;40;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SORD-AMD_REQ;WRKFLW_END;800;70;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SORD-AMD_REQ;S-AMD_RPT_TO;SORD-AMD_SP;"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SORD-AMD_REQ;SORD-AMD_SP;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
......
......@@ -44,8 +44,8 @@
<ParticipantType Type="ROLE"/>
<Description>This mail will go to order send by automatically after approved/ sign mail by approver.</Description>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-ORD-A3"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiation"/>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="S-ORD-A2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.emp_code__ord:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
......@@ -556,11 +556,6 @@
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="S-ORD_SORDER_Par1"/>
<ExtendedAttribute Name="XOffset" Value="460"/>
......@@ -610,7 +605,7 @@
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SIGN_SORDER_Part3"/>
<ExtendedAttribute Name="XOffset" Value="460"/>
<ExtendedAttribute Name="YOffset" Value="115"/>
<ExtendedAttribute Name="YOffset" Value="105"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SORD_FINAL_ATHOR" Name="SIGN_FINAL_ATHOR">
......@@ -649,51 +644,12 @@
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SIGN_SORDER_Part3"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="119"/>
</ExtendedAttributes>
</Activity>
<Activity Id="S-ORD_REP_ATHORITY" Name="S-ORD_REP_ATHORITY">
<Implementation>
<Tool Id="SignTransCtx" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>S-ORD_S-ORD-A1</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>&lt;Detail1.emp_code__ord&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.order_date&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SIGN_SORDER_Part2</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="S-ORD_Tra114"/>
<TransitionRef Id="S-ORD_Tra138"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SIGN_SORDER_Part2"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
<ExtendedAttribute Name="YOffset" Value="105"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="S-ORD" Id="T_SORDER_Tra2" Name="mail transaction" To="S-ORD_REP_ATHORITY">
<Transition From="S-ORD" Id="T_SORDER_Tra2" Name="mail transaction" To="SORD_FINAL_ATHOR">
<Condition Type="CONDITION">order_status == "S"</Condition>
<Description>removed item_ser conditions.</Description>
<ExtendedAttributes>
......@@ -722,26 +678,12 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="S-ORD_REP_ATHORITY" Id="S-ORD_Tra114" To="SORD_FINAL_ATHOR">
<Condition Type="CONDITION">$APP_RESULT == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="S-ORD_REP_ATHORITY" Id="S-ORD_Tra138" To="MAIL_FOR_REJECTION">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="S-ORD_SORDER_Par1;S-ORD;70;40;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="S-ORD_SORDER_Par1;S-ORD_EMAIL_APRV_INT;640;130;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="S-ORD_SORDER_Par1;MAIL_FOR_REJECTION;640;40;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="S-ORD_SORDER_Par1;SIGN_SORDER_Part2;SIGN_SORDER_Part3;"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="S-ORD_SORDER_Par1;SIGN_SORDER_Part3;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
......
......@@ -15,7 +15,7 @@
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SALRTNAPV1" Name="SALRTNAPV1">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTNAPR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -23,17 +23,17 @@
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SALRTNAPV2" Name="SALRTNAPV2">
<ParticipantType1 Type="ROLE"/>
<Participant Id="SALRTNAPV" Name="SALRTNAPV">
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTNAPR2"/>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTN_APR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.cust_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
</Participant>
<Participant Id="SC_RET_APP" Name="SC_RET_APP">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SC_RET_APP"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -42,7 +42,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="RETURNED" Name="RETURNED">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="RETURNED"/>
<ExtendedAttribute Name="SIGN_FOR" Value="salesReturn"/>
......@@ -51,7 +51,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SR_SYS_ADM" Name="SR_SYS_ADM">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SR_SYS_ADM"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1:"/>
......@@ -60,10 +60,10 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SALRTRNINT" Name="SALRTRNINT">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTN_INT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Intimation"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiation"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1.cust_code:"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR_TYPE" Value="String:"/>
</ExtendedAttributes>
......@@ -295,45 +295,6 @@
<ExtendedAttribute Name="YOffset" Value="49"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SALRTRN_APR1_SIGN" Name="SALRTRN_APR1_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$PRC_ID</ActualParameter>
<ActualParameter>$PRFMR_ROLE_CODE</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SALE_RETURN_APRV</ActualParameter>
<ActualParameter>SALESRETURN</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>Sales Return</ActualParameter>
<ActualParameter>&lt;Detail1.tran_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.tran_id&gt;</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SALRTNAPV1</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Split Type="XOR">
<TransitionRefs>
<TransitionRef Id="TO_APV2_SIGN"/>
<TransitionRef Id="T0_REJMAIL"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTNAPV1"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="80"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SALRTRN_APR2_SIGN" Name="SALRTRN_APR2_SIGN">
<Implementation>
<Tool Id="SignTrans" Type="APPLICATION">
......@@ -350,7 +311,7 @@
</ActualParameters>
</Tool>
</Implementation>
<Performer>SALRTNAPV2</Performer>
<Performer>SALRTNAPV</Performer>
<StartMode>
<Automatic/>
</StartMode>
......@@ -368,7 +329,7 @@
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTNAPV2"/>
<ExtendedAttribute Name="ParticipantID" Value="SALRTNAPV"/>
<ExtendedAttribute Name="XOffset" Value="180"/>
<ExtendedAttribute Name="YOffset" Value="65"/>
</ExtendedAttributes>
......@@ -384,7 +345,7 @@
</ActualParameters>
</Tool>
</Implementation>
<Performer>SALRTNAPV2</Performer>
<Performer>SALRTNAPV</Performer>
<StartMode>
<Automatic/>
</StartMode>
......@@ -392,7 +353,7 @@
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTNAPV2"/>
<ExtendedAttribute Name="ParticipantID" Value="SALRTNAPV"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
<ExtendedAttribute Name="YOffset" Value="65"/>
</ExtendedAttributes>
......@@ -459,11 +420,6 @@
<FinishMode>
<Automatic/>
</FinishMode>
<TransitionRestrictions>
<TransitionRestriction>
<Join Type="XOR"/>
</TransitionRestriction>
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTRNINT"/>
<ExtendedAttribute Name="XOffset" Value="490"/>
......@@ -520,20 +476,13 @@
</Activity>
</Activities>
<Transitions>
<Transition From="SALESRETURN" Id="TO_APV1_SIGN" Name="TO_APV1_SIGN" To="SALRTRN_APR1_SIGN">
<Transition From="SALESRETURN" Id="TO_APV1_SIGN" Name="TO_APV1_SIGN" To="SALRTRN_APR2_SIGN">
<Condition Type="CONDITION">wf_status == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="wf_status.String"/>
</ExtendedAttributes>
</Transition>
<Transition From="SALRTRN_APR1_SIGN" Id="TO_APV2_SIGN" Name="TO_APV2_SIGN" To="SALRTRN_APR2_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="SALRTRN_APR2_SIGN" Id="TO_CONFIRM" Name="TO_CONFIRM" To="SLRTRN_CONF">
<Condition Type="CONDITION">$APP_RESULT=="S"</Condition>
<ExtendedAttributes>
......@@ -555,13 +504,6 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SALRTRN_APR1_SIGN" Id="T0_REJMAIL" Name="T0_REJMAIL" To="SLRTRN_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SALRTRN_APR2_SIGN" Id="SALESRETURN_Tra36" To="SLRTRN_REJMAIL">
<Condition Type="CONDITION">$APP_RESULT=="R"</Condition>
<ExtendedAttributes>
......@@ -590,7 +532,7 @@
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="SALRTRNINT;SALESRETURN;80;49;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SALRTRNINT;END;870;90;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SALRTRNINT;SALRTNAPV1;SALRTNAPV2;"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SALRTRNINT;SALRTNAPV;"/>
</ExtendedAttributes>
</WorkflowProcess>
</WorkflowProcesses>
......
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