Commit 6b833886 authored by abibave's avatar abibave

Request Id: D16EBAS004

Updated workflow XML for sales return menu


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103346 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 85883739
......@@ -15,7 +15,7 @@
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SALRTNAPV1" Name="SALRTNAPV1">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTNAPR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -24,7 +24,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SALRTNAPV2" Name="SALRTNAPV2">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTNAPR2"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -33,7 +33,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SC_RET_APP" Name="SC_RET_APP">
<ParticipantType Type="ROLE"/>
<ParticipantType1 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">
<ParticipantType Type="ROLE"/>
<ParticipantType1 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">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SR_SYS_ADM"/>
<ExtendedAttribute Name="PRFMR_ROLE_EXPR" Value="Detail1:"/>
......@@ -60,7 +60,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SALRTRNINT" Name="SALRTRNINT">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTN_INT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Intimation"/>
......@@ -415,7 +415,7 @@
</TransitionRestrictions>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTRNINT"/>
<ExtendedAttribute Name="XOffset" Value="620"/>
<ExtendedAttribute Name="XOffset" Value="760"/>
<ExtendedAttribute Name="YOffset" Value="90"/>
</ExtendedAttributes>
</Activity>
......@@ -470,13 +470,61 @@
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="UPDT_WFSTAT_REJ" Name="UPDT_WFSTAT_REJ">
<Implementation>
<Tool Id="SaleReturnConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>&lt;Detail1.site_code&gt;</ActualParameter>
<ActualParameter>R</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SALRTRNINT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTRNINT"/>
<ExtendedAttribute Name="XOffset" Value="630"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
<Activity Id="UPDT_WFSTAT_CONF" Name="UPDT_WFSTAT_CONF">
<Implementation>
<Tool Id="SaleReturnConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>&lt;Detail1.site_code&gt;</ActualParameter>
<ActualParameter>C</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SALRTRNINT</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTRNINT"/>
<ExtendedAttribute Name="XOffset" Value="630"/>
<ExtendedAttribute Name="YOffset" Value="150"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="SALESRETURN" Id="TO_APV1_SIGN" Name="TO_APV1_SIGN" To="SALRTRN_APR1_SIGN">
<Condition Type="CONDITION">confirmed == "N"</Condition>
<Condition Type="CONDITION">wf_status == "S"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="confirmed.String"/>
<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">
......@@ -493,9 +541,11 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SLRTRN_CONFMAIL" Id="CONF_TO_END" Name="CONF_TO_END" To="END">
<Transition From="SLRTRN_CONFMAIL" Id="CONF_TO_END" Name="CONF_TO_END" To="UPDT_WFSTAT_CONF">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SLRTRN_CONF" Id="TO_CONFMAIL" Name="TO_CONFMAIL" To="SLRTRN_CONFMAIL">
......@@ -519,7 +569,19 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SLRTRN_REJMAIL" Id="REJ_TO_END" Name="REJ_TO_END" To="END">
<Transition From="SLRTRN_REJMAIL" Id="REJ_TO_END" Name="REJ_TO_END" To="UPDT_WFSTAT_REJ">
<Condition Type="CONDITION">$APP_STATUS=="1"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="UPDT_WFSTAT_REJ" Id="SALESRETURN_Tra47" To="END">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
</Transition>
<Transition From="UPDT_WFSTAT_CONF" Id="SALESRETURN_Tra48" To="END">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
......@@ -527,7 +589,7 @@
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="SALRTRNINT;SALESRETURN;80;49;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SALRTRNINT;END;760;90;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SALRTRNINT;END;870;90;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SALRTRNINT;SALRTNAPV1;SALRTNAPV2;"/>
</ExtendedAttributes>
</WorkflowProcess>
......
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