Commit 44a5893e authored by asant's avatar asant

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192182 ce508802-f39f-4f6c-b175-0d175dae99d5
parent eb372ebe
......@@ -185,7 +185,7 @@
<name>compute</name>
<dbname>compute_0022</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_quot_calc&quot; ) COMPUTE(NAME=&quot;&apos;&apos; as sr_no&quot;) COLUMN(NAME=&quot;sales_quot_calc.quot_no&quot;) COLUMN(NAME=&quot;sales_quot_calc.line_no&quot;) COLUMN(NAME=&quot;sales_quot_calc.item_code&quot;) COMPUTE(NAME=&quot;&apos;&apos; as item_descr&quot;) COLUMN(NAME=&quot;sales_quot_calc.unit&quot;) COLUMN(NAME=&quot;sales_quot_calc.qty_per_month&quot;) COLUMN(NAME=&quot;sales_quot_calc.rate&quot;) COLUMN(NAME=&quot;sales_quot_calc.discount&quot;) COLUMN(NAME=&quot;sales_quot_calc.rate__new&quot;) COLUMN(NAME=&quot;sales_quot_calc.gross_rate&quot;) COLUMN(NAME=&quot;sales_quot_calc.comm_perc&quot;) COLUMN(NAME=&quot;sales_quot_calc.comm_per_unit&quot;) COMPUTE(NAME=&quot;&apos;&apos; as basic_dist_price&quot;) COLUMN(NAME=&quot;sales_quot_calc.cost_rate&quot;) COMPUTE(NAME=&quot;&apos;&apos; as available_stock&quot;) COMPUTE(NAME=&quot;&apos;&apos; as profit&quot;) COMPUTE(NAME=&quot;&apos;&apos; as profit_on_goods&quot;) COMPUTE(NAME=&quot;&apos;&apos; as final_price&quot;) COMPUTE(NAME=&quot;&apos;&apos; as perc_profit&quot;) COLUMN(NAME=&quot;sales_quot_calc.discount_type&quot;) COMPUTE(NAME=&quot;&apos;&apos; as&quot;)WHERE( EXP1 =&quot;~&quot;SALES_QUOT_CALC~&quot;.~&quot;QUOT_NO~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:quot_no&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;SALES_QUOT_CALC~&quot;.~&quot;LINE_NO~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;quot_no&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;sales_quot_calc&quot; ) COMPUTE(NAME=&quot;&apos;&apos; as sr_no&quot;) COLUMN(NAME=&quot;sales_quot_calc.quot_no&quot;) COLUMN(NAME=&quot;sales_quot_calc.line_no&quot;) COLUMN(NAME=&quot;sales_quot_calc.item_code&quot;) COMPUTE(NAME=&quot;&apos;&apos; as item_descr&quot;) COLUMN(NAME=&quot;sales_quot_calc.unit&quot;) COLUMN(NAME=&quot;sales_quot_calc.qty_per_month&quot;) COLUMN(NAME=&quot;sales_quot_calc.rate&quot;) COLUMN(NAME=&quot;sales_quot_calc.discount&quot;) COLUMN(NAME=&quot;sales_quot_calc.rate__new&quot;) COLUMN(NAME=&quot;sales_quot_calc.gross_rate&quot;) COLUMN(NAME=&quot;sales_quot_calc.comm_perc&quot;) COLUMN(NAME=&quot;sales_quot_calc.comm_per_unit&quot;) COMPUTE(NAME=&quot;&apos;&apos; as basic_dist_price&quot;) COLUMN(NAME=&quot;sales_quot_calc.cost_rate&quot;) COMPUTE(NAME=&quot;&apos;&apos; as available_stock&quot;) COMPUTE(NAME=&quot;&apos;&apos; as profit&quot;) COMPUTE(NAME=&quot;&apos;&apos; as profit_on_goods&quot;) COMPUTE(NAME=&quot;&apos;&apos; as final_price&quot;) COMPUTE(NAME=&quot;&apos;&apos; as perc_profit&quot;) COLUMN(NAME=&quot;sales_quot_calc.discount_type&quot;) COMPUTE(NAME=&quot;&apos;&apos; as&quot;)WHERE( EXP1 =&quot;~&quot;SALES_QUOT_CALC~&quot;.~&quot;QUOT_NO~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:quot_no&quot; ) ) ARG(NAME = &quot;quot_no&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<argument>
<name>quot_no</name>
<type>string</type>
......@@ -285,7 +285,7 @@
<text>Quot No</text>
<border>0</border>
<color>33554432</color>
<x>1613</x>
<x>1626</x>
<y>2</y>
<height>16</height>
<width>66</width>
......@@ -313,7 +313,7 @@
<text>Line No</text>
<border>0</border>
<color>33554432</color>
<x>1681</x>
<x>1694</x>
<y>2</y>
<height>16</height>
<width>72</width>
......@@ -341,7 +341,7 @@
<text>Unit</text>
<border>0</border>
<color>33554432</color>
<x>1755</x>
<x>1768</x>
<y>1</y>
<height>17</height>
<width>16</width>
......@@ -372,7 +372,7 @@
<x>312</x>
<y>1</y>
<height>17</height>
<width>70</width>
<width>83</width>
<html>
<valueishtml>0</valueishtml>
</html>
......@@ -397,7 +397,7 @@
<text>Current Basic Customer Price in Rs/KG</text>
<border>0</border>
<color>33554432</color>
<x>384</x>
<x>397</x>
<y>1</y>
<height>17</height>
<width>78</width>
......@@ -425,7 +425,7 @@
<text>Disc Type</text>
<border>0</border>
<color>33554432</color>
<x>464</x>
<x>477</x>
<y>2</y>
<height>17</height>
<width>68</width>
......@@ -453,7 +453,7 @@
<text>Discount</text>
<border>0</border>
<color>33554432</color>
<x>534</x>
<x>547</x>
<y>1</y>
<height>17</height>
<width>67</width>
......@@ -481,7 +481,7 @@
<text>Proposed Basic Customer Price</text>
<border>0</border>
<color>33554432</color>
<x>603</x>
<x>616</x>
<y>1</y>
<height>17</height>
<width>70</width>
......@@ -509,7 +509,7 @@
<text>Gross Rate</text>
<border>0</border>
<color>33554432</color>
<x>1773</x>
<x>1786</x>
<y>1</y>
<height>17</height>
<width>113</width>
......@@ -537,7 +537,7 @@
<text>Comm %</text>
<border>0</border>
<color>33554432</color>
<x>675</x>
<x>688</x>
<y>1</y>
<height>17</height>
<width>66</width>
......@@ -565,7 +565,7 @@
<text>Comm in Rs /KG</text>
<border>0</border>
<color>33554432</color>
<x>743</x>
<x>756</x>
<y>1</y>
<height>17</height>
<width>76</width>
......@@ -593,7 +593,7 @@
<text>Basic Distributor Price in Rs/KG</text>
<border>0</border>
<color>33554432</color>
<x>821</x>
<x>834</x>
<y>1</y>
<height>17</height>
<width>74</width>
......@@ -621,7 +621,7 @@
<text>Actual Cost</text>
<border>0</border>
<color>33554432</color>
<x>897</x>
<x>910</x>
<y>1</y>
<height>17</height>
<width>83</width>
......@@ -649,7 +649,7 @@
<text>Available Stock in KG</text>
<border>0</border>
<color>33554432</color>
<x>982</x>
<x>995</x>
<y>1</y>
<height>17</height>
<width>103</width>
......@@ -677,7 +677,7 @@
<text>Profit in Rs/KG</text>
<border>0</border>
<color>33554432</color>
<x>1087</x>
<x>1100</x>
<y>1</y>
<height>17</height>
<width>115</width>
......@@ -705,7 +705,7 @@
<text>Value of Good on Profit in Rs</text>
<border>0</border>
<color>33554432</color>
<x>1204</x>
<x>1217</x>
<y>1</y>
<height>17</height>
<width>126</width>
......@@ -733,7 +733,7 @@
<text>Value of Goods on Final Price Rs</text>
<border>0</border>
<color>33554432</color>
<x>1332</x>
<x>1345</x>
<y>1</y>
<height>17</height>
<width>129</width>
......@@ -761,7 +761,7 @@
<text>% Profit</text>
<border>0</border>
<color>33554432</color>
<x>1463</x>
<x>1476</x>
<y>1</y>
<height>17</height>
<width>111</width>
......@@ -789,7 +789,7 @@
<text></text>
<border>0</border>
<color>33554432</color>
<x>1576</x>
<x>1589</x>
<y>1</y>
<height>17</height>
<width>35</width>
......@@ -932,7 +932,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1613</x>
<x>1626</x>
<y>2</y>
<height>19</height>
<width>66</width>
......@@ -970,7 +970,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1681</x>
<x>1694</x>
<y>2</y>
<height>19</height>
<width>72</width>
......@@ -1008,7 +1008,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1755</x>
<x>1768</x>
<y>1</y>
<height>15</height>
<width>16</width>
......@@ -1047,7 +1047,7 @@
<x>312</x>
<y>1</y>
<height>15</height>
<width>70</width>
<width>83</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1080,7 +1080,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>384</x>
<x>397</x>
<y>1</y>
<height>15</height>
<width>78</width>
......@@ -1116,7 +1116,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>464</x>
<x>477</x>
<y>1</y>
<height>15</height>
<width>68</width>
......@@ -1152,7 +1152,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>534</x>
<x>547</x>
<y>1</y>
<height>15</height>
<width>67</width>
......@@ -1188,7 +1188,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>603</x>
<x>616</x>
<y>1</y>
<height>15</height>
<width>70</width>
......@@ -1224,7 +1224,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1773</x>
<x>1786</x>
<y>1</y>
<height>15</height>
<width>113</width>
......@@ -1260,7 +1260,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>675</x>
<x>688</x>
<y>1</y>
<height>15</height>
<width>66</width>
......@@ -1296,7 +1296,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>743</x>
<x>756</x>
<y>1</y>
<height>15</height>
<width>76</width>
......@@ -1332,7 +1332,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>821</x>
<x>834</x>
<y>1</y>
<height>15</height>
<width>74</width>
......@@ -1368,7 +1368,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>897</x>
<x>910</x>
<y>1</y>
<height>15</height>
<width>83</width>
......@@ -1404,7 +1404,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>982</x>
<x>995</x>
<y>1</y>
<height>15</height>
<width>103</width>
......@@ -1440,7 +1440,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1087</x>
<x>1100</x>
<y>1</y>
<height>15</height>
<width>115</width>
......@@ -1476,7 +1476,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1204</x>
<x>1217</x>
<y>1</y>
<height>15</height>
<width>126</width>
......@@ -1512,7 +1512,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1332</x>
<x>1345</x>
<y>1</y>
<height>15</height>
<width>129</width>
......@@ -1548,7 +1548,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1463</x>
<x>1476</x>
<y>1</y>
<height>15</height>
<width>111</width>
......@@ -1584,7 +1584,7 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1576</x>
<x>1589</x>
<y>1</y>
<height>15</height>
<width>35</width>
......
......@@ -15,7 +15,7 @@
<RedefinableHeader PublicationStatus="UNDER_TEST"/>
<Participants>
<Participant Id="SQP_INIT" Name="SQP_INIT">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SQP_INIT"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Initiation"/>
......@@ -24,7 +24,7 @@
</ExtendedAttributes>
</Participant>
<Participant Id="SQP_APR1" Name="SQP_APR1">
<ParticipantType1 Type="ROLE"/>
<ParticipantType Type="ROLE"/>
<ExtendedAttributes>
<ExtendedAttribute Name="PRFMR_ROLE_CODE" Value="SQP_APR1"/>
<ExtendedAttribute Name="SIGN_FOR" Value="Approval"/>
......@@ -106,7 +106,7 @@
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="EJB"/>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="METHOD_NAME" Value="approvePriceRate"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.SalesQuotProposal"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
......@@ -136,6 +136,31 @@
<ExtendedAttribute Name="METHOD_NAME" Value="sendMail"/>
</ExtendedAttributes>
</Application>
<Application Id="RejectPrcRate" Name="SalesQuotProposal">
<FormalParameters>
<FormalParameter Id="QUOT_NO" Index="1" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="USER_INFO" Index="2" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
<FormalParameter Id="XML_DATA" Index="3" Mode="IN">
<DataType>
<BasicType Type="STRING"/>
</DataType>
</FormalParameter>
</FormalParameters>
<ExtendedAttributes>
<ExtendedAttribute Name="APPLN_TYPE" Value="JB"/>
<ExtendedAttribute Name="METHOD_NAME" Value="rejectRate"/>
<ExtendedAttribute Name="COMP_NAME" Value="ibase.webitm.ejb.dis.SalesQuotProposal"/>
<ExtendedAttribute Name="EXEC_MODE" Value="SYNC"/>
</ExtendedAttributes>
</Application>
</Applications>
<Activities>
<Activity Id="SALESQUOTPROPSLWF" Name="SALESQUOTPROPSLWF">
......@@ -164,7 +189,7 @@
<ActualParameter>$PRFMR_CODE</ActualParameter>
<ActualParameter>SQP_APRV</ActualParameter>
<ActualParameter>SALESQUOTPROPSLWF</ActualParameter>
<ActualParameter>Approval</ActualParameter>
<ActualParameter>&lt;Detail1.cust_name&gt;</ActualParameter>
<ActualParameter>Sales Price Quotation</ActualParameter>
<ActualParameter>&lt;Detail1.chg_date&gt;</ActualParameter>
<ActualParameter>&lt;Detail1.quot_no&gt;</ActualParameter>
......@@ -240,9 +265,15 @@
<ExtendedAttribute Name="YOffset" Value="30"/>
</ExtendedAttributes>
</Activity>
<Activity Id="SALESQUOTPROPSLWF_Act1" Name="SQP_REJ">
<Activity Id="SALE_PRC_REJ" Name="SQP_REJ">
<Implementation>
<No/>
<Tool Id="RejectPrcRate" Type="APPLICATION">
<ActualParameters>
<ActualParameter>$REF_ID</ActualParameter>
<ActualParameter>$USER_INFO</ActualParameter>
<ActualParameter>$XML_DATA_ALL</ActualParameter>
</ActualParameters>
</Tool>
</Implementation>
<Performer>SQP_APR1</Performer>
<StartMode>
......@@ -301,14 +332,14 @@
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT,$APP_STATUS"/>
</ExtendedAttributes>
</Transition>
<Transition From="SQP_APR1_SIGN" Id="SALESQUOTPROPSLWF_Tra11" To="SALESQUOTPROPSLWF_Act1">
<Transition From="SQP_APR1_SIGN" Id="SALESQUOTPROPSLWF_Tra11" To="SALE_PRC_REJ">
<Condition Type="CONDITION">$APP_RESULT == "R"</Condition>
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
<ExtendedAttribute Name="VAR_NAMES" Value="$APP_RESULT"/>
</ExtendedAttributes>
</Transition>
<Transition From="SALESQUOTPROPSLWF_Act1" Id="SALESQUOTPROPSLWF_Tra14" To="SQP_REJ_MAIL">
<Transition From="SALE_PRC_REJ" Id="SALESQUOTPROPSLWF_Tra14" To="SQP_REJ_MAIL">
<ExtendedAttributes>
<ExtendedAttribute Name="RoutingType" Value="NOROUTING"/>
</ExtendedAttributes>
......
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