Commit 22ba514d authored by dpawar's avatar dpawar

added pending Quantity column


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95231 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a9065700
...@@ -188,7 +188,20 @@ ...@@ -188,7 +188,20 @@
<dbname>spl_sales_por_det.quantity__resale</dbname> <dbname>spl_sales_por_det.quantity__resale</dbname>
<initial>0</initial> <initial>0</initial>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;spl_sales_por_det.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no__trace&quot;) COLUMN(NAME=&quot;spl_sales_por_det.item_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.loc_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_sl&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bill_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bil_date&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__inv&quot;) COMPUTE(NAME=&quot;&apos;&apos; item_ser__prom&quot;) COMPUTE(NAME=&quot;&apos;&apos; prd_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;spl_sales_por_det.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_det.transit_day&quot;) COLUMN(NAME=&quot;spl_sales_por_det.debit_note_amt&quot;) COLUMN(NAME=&quot;spl_sales_por_det.aprv_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__resale&quot;) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_det.item_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;spl_sales_por_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve> <table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pend_qty</name>
<dbname>spl_sales_por_det.pend_qty</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pend_temp</name>
<dbname>pend_temp</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;spl_sales_por_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;spl_sales_por_det.tran_id&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.line_no__trace&quot;) COLUMN(NAME=&quot;spl_sales_por_det.item_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.loc_code&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.lot_sl&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bill_no&quot;) COLUMN(NAME=&quot;spl_sales_por_det.bil_date&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__inv&quot;) COLUMN(NAME=&quot;spl_sales_por_det.rate__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__inv&quot;) COMPUTE(NAME=&quot;&apos;&apos; item_ser__prom&quot;) COMPUTE(NAME=&quot;&apos;&apos; prd_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;spl_sales_por_det.remarks&quot;) COLUMN(NAME=&quot;spl_sales_por_det.transit_day&quot;) COLUMN(NAME=&quot;spl_sales_por_det.debit_note_amt&quot;) COLUMN(NAME=&quot;spl_sales_por_det.aprv_rate&quot;) COLUMN(NAME=&quot;spl_sales_por_det.quantity__resale&quot;) COLUMN(NAME=&quot;spl_sales_por_det.pend_qty&quot;) COMPUTE(NAME=&quot;&apos;&apos; pend_temp&quot;) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;spl_sales_por_det.item_code&quot; )WHERE( EXP1 =&quot;spl_sales_por_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;spl_sales_por_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>SPL_SALES_POR_DET</update> <update>SPL_SALES_POR_DET</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -229,34 +242,6 @@ ...@@ -229,34 +242,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Lot Sl:</text>
<border>0</border>
<color>33554432</color>
<x>327</x>
<y>115</y>
<height>16</height>
<width>43</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -445,34 +430,6 @@ ...@@ -445,34 +430,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Debit Note Amount:</text>
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>205</y>
<height>15</height>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_3</name>
<visible>1</visible>
<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>
</TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -566,34 +523,6 @@ ...@@ -566,34 +523,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Resale rate:</text>
<border>0</border>
<color>33554432</color>
<x>275</x>
<y>138</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__resale_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -622,34 +551,6 @@ ...@@ -622,34 +551,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Resale Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>273</x>
<y>160</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__resale_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -678,34 +579,6 @@ ...@@ -678,34 +579,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist Bill Date:</text>
<border>0</border>
<color>33554432</color>
<x>258</x>
<y>182</y>
<height>16</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bil_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>2</id> <id>2</id>
...@@ -855,78 +728,6 @@ ...@@ -855,78 +728,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>371</x>
<y>160</y>
<height>16</height>
<width>80</width>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__resale</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>371</x>
<y>182</y>
<height>16</height>
<width>80</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bil_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>mm/dd/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>3</id> <id>3</id>
...@@ -1078,42 +879,6 @@ ...@@ -1078,42 +879,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>121</x>
<y>204</y>
<height>15</height>
<width>80</width>
<format>0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>debit_note_amt</name>
<visible>1</visible>
<EditStyle style="editmask">
<useformat>yes</useformat>
<mask>#,##,##,##,##,###.###</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>16</id>
...@@ -1409,6 +1174,347 @@ ...@@ -1409,6 +1174,347 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>371</x>
<y>160</y>
<height>16</height>
<width>80</width>
<format>[General]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__resale</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</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>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>371</x>
<y>182</y>
<height>16</height>
<width>80</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bil_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>mm/dd/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>21</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>371</x>
<y>204</y>
<height>16</height>
<width>80</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pend_qty</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>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Lot Sl:</text>
<border>0</border>
<color>33554432</color>
<x>327</x>
<y>115</y>
<height>16</height>
<width>43</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_sl_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Resale rate:</text>
<border>0</border>
<color>33554432</color>
<x>272</x>
<y>138</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>rate__resale_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Resale Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>272</x>
<y>160</y>
<height>15</height>
<width>98</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity__resale_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Stockist Bill Date:</text>
<border>0</border>
<color>33554432</color>
<x>260</x>
<y>182</y>
<height>16</height>
<width>110</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>bil_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Debit Note Amount:</text>
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>205</y>
<height>15</height>
<width>114</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_3</name>
<visible>1</visible>
<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>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>121</x>
<y>205</y>
<height>15</height>
<width>80</width>
<format>0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>debit_note_amt</name>
<visible>1</visible>
<EditStyle style="editmask">
<useformat>yes</useformat>
<mask>#,##,##,##,##,###.###</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pending Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>266</x>
<y>205</y>
<height>16</height>
<width>104</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_5</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>22</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>255</color>
<x>461</x>
<y>204</y>
<height>16</height>
<width>48</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pend_temp</name>
<visible>0</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</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