Commit e3bbe9c9 authored by abibave's avatar abibave

Request Id:W16LSER006

Added activity to update wf_status column as 'O'  if tran_type is not 'SR' or 'RC' in Sales Return Workflow.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@43774 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b718775e
......@@ -15,7 +15,7 @@
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SRTNFLAPR1" Name="SRTNFLAPR1">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SRTNFLAPR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -24,7 +24,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SRTNFLAPR2" Name="SRTNFLAPR2">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SRTNFLAPR2"/>
<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="SALRTNINTR" Name="SALRTNINTR">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SALRTNINTR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Intimation"/>
......@@ -69,7 +69,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SRTNFINAPR" Name="SRTNFINAPR">
<ParticipantType Type="ROLE"/>
<ParticipantType1 Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SRTNFINAPR"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -378,6 +378,7 @@
<TransitionRefs>
<TransitionRef Id="TO_APV1_SIGN"/>
<TransitionRef Id="SALERETURNWF_Tra62"/>
<TransitionRef Id="SRTRNTOINVTRNTYP"/>
</TransitionRefs>
</Split>
</TransitionRestriction>
......@@ -848,7 +849,7 @@
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTNINTR"/>
<ExtendedAttribute Name="XOffset" Value="330"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
<ExtendedAttribute Name="YOffset" Value="210"/>
</ExtendedAttributes>
</Activity>
<Activity Id="UPDAPRV2SGNSTAT" Name="UPDAPRV2SGNSTAT">
......@@ -1143,6 +1144,30 @@
<ExtendedAttribute Name="YOffset" Value="13"/>
</ExtendedAttributes>
</Activity>
<Activity Id="UPD_WFSTS_INVTRNTYP" Name="UPD_WFSTS_INVTRNTYP">
<Implementation>
<Tool Id="SaleReturnConfWF" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>&lt;Detail1.site_code&gt;</ActualParameter>
<ActualParameter>O</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SALRTNINTR</Performer>
<StartMode>
<Automatic/>
</StartMode>
<FinishMode>
<Automatic/>
</FinishMode>
<ExtendedAttributes>
<ExtendedAttribute Name="ParticipantID" Value="SALRTNINTR"/>
<ExtendedAttribute Name="XOffset" Value="330"/>
<ExtendedAttribute Name="YOffset" Value="50"/>
</ExtendedAttributes>
</Activity>
</Activities>
<Transitions>
<Transition From="SALERETURNWF" Id="TO_APV1_SIGN" Name="TO_APV1_SIGN" To="SRTRN_APR1_SGN">
......@@ -1365,6 +1390,13 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SALERETURNWF" Id="SRTRNTOINVTRNTYP" Name="SRTRNTOINVTRNTYP" To="UPD_WFSTS_INVTRNTYP">
<Condition Type="CONDITION">tran_type != "RC" &amp;&amp; tran_type != "SR" &amp;&amp; tran_type != "SR " &amp;&amp; tran_type != "RC "</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="tran_type.String"/>
</ExtendedAttributes>
</Transition>
</Transitions>
<ExtendedAttributes>
<ExtendedAttribute Name="StartOfWorkflow" Value="SALRTNINTR;SALERETURNWF;80;49;NOROUTING"/>
......@@ -1373,6 +1405,7 @@
<ExtendedAttribute Name="EndOfWorkflow" Value="SALRTNINTR;END;990;50;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SRTNFLAPR1;SRTRN1_CONFMAIL;990;166;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SRTNFLAPR2;SRTRN2_REJMAIL;780;174;NOROUTING"/>
<ExtendedAttribute Name="EndOfWorkflow" Value="SALRTNINTR;UPD_WFSTS_INVTRNTYP;470;50;NOROUTING"/>
<ExtendedAttribute Name="ParticipantVisualOrder" Value="SALRTNINTR;SRTNFLAPR1;SRTNFLAPR2;SRTNFINAPR;"/>
</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