Commit 7851ae80 authored by sgadve's avatar sgadve

Updated xml for the Schema_balance

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194703 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5827eb3e
...@@ -173,10 +173,24 @@ ...@@ -173,10 +173,24 @@
<name>used_free_value</name> <name>used_free_value</name>
<dbname>scheme_balance.used_free_value</dbname> <dbname>scheme_balance.used_free_value</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;scheme_balance&quot; ) COLUMN(NAME=&quot;scheme_balance.tran_id&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_code&quot;) COLUMN(NAME=&quot;scheme_balance.cust_code&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;scheme_balance.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;scheme_balance.eff_from&quot;) COLUMN(NAME=&quot;scheme_balance.valid_upto&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_type&quot;) COLUMN(NAME=&quot;scheme_balance.entry_source&quot;) COLUMN(NAME=&quot;scheme_balance.remarks&quot;) COLUMN(NAME=&quot;scheme_balance.chg_user&quot;) COLUMN(NAME=&quot;scheme_balance.chg_date&quot;) COLUMN(NAME=&quot;scheme_balance.chg_term&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_value&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_value&quot;) JOIN (LEFT=&quot;scheme_balance.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;scheme_balance.item_code&quot; ) JOIN (LEFT=&quot;scheme_balance.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; ) ) </retrieve> <table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>gencodes_descr</name>
<dbname>gencodes_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;customer&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;scheme_balance&quot; ) COLUMN(NAME=&quot;scheme_balance.tran_id&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_code&quot;) COLUMN(NAME=&quot;scheme_balance.cust_code&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;scheme_balance.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;scheme_balance.eff_from&quot;) COLUMN(NAME=&quot;scheme_balance.valid_upto&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_type&quot;) COLUMN(NAME=&quot;scheme_balance.entry_source&quot;) COLUMN(NAME=&quot;scheme_balance.remarks&quot;) COLUMN(NAME=&quot;scheme_balance.chg_user&quot;) COLUMN(NAME=&quot;scheme_balance.chg_date&quot;) COLUMN(NAME=&quot;scheme_balance.chg_term&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_value&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_value&quot;) COMPUTE(NAME=&quot;&apos;&apos; as gencodes_descr&quot;) JOIN (LEFT=&quot;scheme_balance.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;scheme_balance.item_code&quot; ) JOIN (LEFT=&quot;scheme_balance.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_BALANCE~&quot;.~&quot;EFF_FROM~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:fr_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;SCHEME_BALANCE~&quot;.~&quot;EFF_FROM~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;fr_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve>
<update>SCHEME_BALANCE</update> <update>SCHEME_BALANCE</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
<argument>
<name>fr_date</name>
<type>datetime</type>
</argument>
<argument>
<name>to_date</name>
<type>datetime</type>
</argument>
</TableDefinition> </TableDefinition>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
...@@ -682,6 +696,34 @@ ...@@ -682,6 +696,34 @@
<color>1073741824</color> <color>1073741824</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Gencodes Descr</text>
<border>0</border>
<color>33554432</color>
<x>3312</x>
<y>1</y>
<height>17</height>
<width>62</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gencodes_descr_t</name>
<visible>1</visible>
<font>
<face>Liberation Sans</face>
<height>-11</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
...@@ -1362,6 +1404,42 @@ ...@@ -1362,6 +1404,42 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>3312</x>
<y>1</y>
<height>15</height>
<width>62</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gencodes_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -113,6 +113,7 @@ ...@@ -113,6 +113,7 @@
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>entry_source</name> <name>entry_source</name>
<dbname>scheme_balance.entry_source</dbname> <dbname>scheme_balance.entry_source</dbname>
<initial>A</initial>
<values> <values>
<item display="Manual" data="M"/> <item display="Manual" data="M"/>
<item display="Auto" data="A"/> <item display="Auto" data="A"/>
...@@ -172,7 +173,13 @@ ...@@ -172,7 +173,13 @@
<name>used_free_value</name> <name>used_free_value</name>
<dbname>scheme_balance.used_free_value</dbname> <dbname>scheme_balance.used_free_value</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_balance&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;customer&quot; ) COLUMN(NAME=&quot;scheme_balance.tran_id&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_code&quot;) COLUMN(NAME=&quot;scheme_balance.cust_code&quot;) COLUMN(NAME=&quot;scheme_balance.item_code&quot;) COLUMN(NAME=&quot;scheme_balance.eff_from&quot;) COLUMN(NAME=&quot;scheme_balance.valid_upto&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_type&quot;) COLUMN(NAME=&quot;scheme_balance.entry_source&quot;) COLUMN(NAME=&quot;scheme_balance.remarks&quot;) COLUMN(NAME=&quot;scheme_balance.chg_user&quot;) COLUMN(NAME=&quot;scheme_balance.chg_date&quot;) COLUMN(NAME=&quot;scheme_balance.chg_term&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_value&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_value&quot;) JOIN (LEFT=&quot;scheme_balance.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;scheme_balance.item_code&quot; ) JOIN (LEFT=&quot;scheme_balance.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_BALANCE~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve> <table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>gencodes_descr</name>
<dbname>gencodes_descr</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;scheme_balance&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;customer&quot; ) COLUMN(NAME=&quot;scheme_balance.tran_id&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_code&quot;) COLUMN(NAME=&quot;scheme_balance.cust_code&quot;) COLUMN(NAME=&quot;scheme_balance.item_code&quot;) COLUMN(NAME=&quot;scheme_balance.eff_from&quot;) COLUMN(NAME=&quot;scheme_balance.valid_upto&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_qty&quot;) COLUMN(NAME=&quot;scheme_balance.scheme_type&quot;) COLUMN(NAME=&quot;scheme_balance.entry_source&quot;) COLUMN(NAME=&quot;scheme_balance.remarks&quot;) COLUMN(NAME=&quot;scheme_balance.chg_user&quot;) COLUMN(NAME=&quot;scheme_balance.chg_date&quot;) COLUMN(NAME=&quot;scheme_balance.chg_term&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;scheme_balance.balance_free_value&quot;) COLUMN(NAME=&quot;scheme_balance.used_free_value&quot;) COMPUTE(NAME=&quot;&apos;&apos; as gencodes_descr&quot;) JOIN (LEFT=&quot;scheme_balance.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;scheme_balance.item_code&quot; ) JOIN (LEFT=&quot;scheme_balance.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; )WHERE( EXP1 =&quot;~&quot;SCHEME_BALANCE~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>SCHEME_BALANCE</update> <update>SCHEME_BALANCE</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -294,7 +301,7 @@ ...@@ -294,7 +301,7 @@
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -384,8 +391,8 @@ ...@@ -384,8 +391,8 @@
<tabsequence>30</tabsequence> <tabsequence>30</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>128</x> <x>127</x>
<y>81</y> <y>82</y>
<height>16</height> <height>16</height>
<width>88</width> <width>88</width>
<format>[general]</format> <format>[general]</format>
...@@ -396,7 +403,7 @@ ...@@ -396,7 +403,7 @@
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -660,7 +667,7 @@ ...@@ -660,7 +667,7 @@
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>10</limit>
<case>any</case> <case>upper</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -850,7 +857,7 @@ ...@@ -850,7 +857,7 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text> Free Quantity:</text> <text> Free Qauntity:</text>
<border>0</border> <border>0</border>
<color>33554432</color> <color>33554432</color>
<x>24</x> <x>24</x>
...@@ -886,7 +893,7 @@ ...@@ -886,7 +893,7 @@
<y>172</y> <y>172</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
<format>[general]</format> <format>[Number]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -895,6 +902,7 @@ ...@@ -895,6 +902,7 @@
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<format>#,##,##,##,###.0000</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -945,14 +953,14 @@ ...@@ -945,14 +953,14 @@
<band>Detail</band> <band>Detail</band>
<id>8</id> <id>8</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>80</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>128</x> <x>128</x>
<y>195</y> <y>195</y>
<height>16</height> <height>16</height>
<width>96</width> <width>96</width>
<format>[general]</format> <format>[Number]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -961,6 +969,7 @@ ...@@ -961,6 +969,7 @@
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<format>#,##,##,##,###.0000</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll> <autohscroll>yes</autohscroll>
...@@ -1011,7 +1020,7 @@ ...@@ -1011,7 +1020,7 @@
<band>Detail</band> <band>Detail</band>
<id>9</id> <id>9</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>80</tabsequence> <tabsequence>90</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>127</x> <x>127</x>
...@@ -1048,14 +1057,14 @@ ...@@ -1048,14 +1057,14 @@
<band>Detail</band> <band>Detail</band>
<id>17</id> <id>17</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>100</tabsequence> <tabsequence>110</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>128</x> <x>128</x>
<y>240</y> <y>240</y>
<height>15</height> <height>15</height>
<width>134</width> <width>134</width>
<format>[general]</format> <format>[Number]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1064,6 +1073,7 @@ ...@@ -1064,6 +1073,7 @@
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<format>#,##,##,##,###.0000</format>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
...@@ -1140,14 +1150,14 @@ ...@@ -1140,14 +1150,14 @@
<band>Detail</band> <band>Detail</band>
<id>18</id> <id>18</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>120</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>128</x> <x>129</x>
<y>262</y> <y>261</y>
<height>15</height> <height>15</height>
<width>135</width> <width>135</width>
<format>[general]</format> <format>[Number]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1156,6 +1166,7 @@ ...@@ -1156,6 +1166,7 @@
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<format>#,##,##,##,###.0000</format>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
...@@ -1268,7 +1279,7 @@ ...@@ -1268,7 +1279,7 @@
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>11</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>90</tabsequence> <tabsequence>100</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>128</x> <x>128</x>
...@@ -1302,6 +1313,42 @@ ...@@ -1302,6 +1313,42 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>19</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>201</x>
<y>217</y>
<height>15</height>
<width>151</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>gencodes_descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
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