Commit 3cb933e3 authored by pgole's avatar pgole

Updated ejb component


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104377 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8a0d6df1
...@@ -1481,7 +1481,7 @@ public class ChrgBckLocConf extends ActionHandlerEJB implements ChrgBckLocConfLo ...@@ -1481,7 +1481,7 @@ public class ChrgBckLocConf extends ActionHandlerEJB implements ChrgBckLocConfLo
} }
else else
{ {
xmlBuffDet.append("<amount><![CDATA["+ (grossAmount - discountAmt) +"]]></amount>"); xmlBuffDet.append("<amount><![CDATA["+ grossAmount+"]]></amount>");
//xmlBuffDet.append("<net_amt><![CDATA["+ drcrAmt +"]]></net_amt>"); //xmlBuffDet.append("<net_amt><![CDATA["+ drcrAmt +"]]></net_amt>");
//xmlBuffDet.append("<tax_amt><![CDATA["+ taxAmt +"]]></tax_amt>"); //xmlBuffDet.append("<tax_amt><![CDATA["+ taxAmt +"]]></tax_amt>");
} }
......
...@@ -1014,7 +1014,7 @@ public class CustStock extends ValidatorEJB //implements SessionBean ...@@ -1014,7 +1014,7 @@ public class CustStock extends ValidatorEJB //implements SessionBean
String invStat = ""; String invStat = "";
String itemCode = "", purcRcp = null, purcRet = null, prdCode, transitFlg = null; String itemCode = "", purcRcp = null, purcRet = null, prdCode, transitFlg = null;
double retQty = 0, replQty = 0, quantity = 0, transitQty = 0 ,creditLmt = 0,osAmt = 0 ,custDeposit = 0 ,custRate = 0 ,custDiscount = 0 ,netSales = 0 , double retQty = 0, replQty = 0, quantity = 0, transitQty = 0 ,creditLmt = 0,osAmt = 0 ,custDeposit = 0 ,custRate = 0 ,custDiscount = 0 ,netSales = 0 ,
purcReturn = 0 ,purcRcpDob = 0 ,salesRet = 0; purcReturn = 0 ,purcRcpDob = 0 ,salesRet = 0 ,replValue = 0 ,rate = 0;
//Changed by Dayanand on 01/01/08 [Declare transQty] //Changed by Dayanand on 01/01/08 [Declare transQty]
String transQty ="", purcQty = null; String transQty ="", purcQty = null;
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -2621,6 +2621,8 @@ public class CustStock extends ValidatorEJB //implements SessionBean ...@@ -2621,6 +2621,8 @@ public class CustStock extends ValidatorEJB //implements SessionBean
} }
sales = genericUtility.getColumnValue("sales", dom,formNo); sales = genericUtility.getColumnValue("sales", dom,formNo);
clStks = genericUtility.getColumnValue("cl_stock", dom,formNo); clStks = genericUtility.getColumnValue("cl_stock", dom,formNo);
String rate1 = genericUtility.getColumnValue("rate", dom,formNo);
String discount = genericUtility.getColumnValue("discount", dom,formNo);
System.out.println( "opStock BEFORE [" + opStock + "]" ); System.out.println( "opStock BEFORE [" + opStock + "]" );
System.out.println( "clStks [" + clStks + "]" ); System.out.println( "clStks [" + clStks + "]" );
...@@ -2628,6 +2630,17 @@ public class CustStock extends ValidatorEJB //implements SessionBean ...@@ -2628,6 +2630,17 @@ public class CustStock extends ValidatorEJB //implements SessionBean
System.out.println( "adjQty ["+adjQty+ "]" ); System.out.println( "adjQty ["+adjQty+ "]" );
System.out.println( "purReceipt ["+purReceipt+ "]" ); System.out.println( "purReceipt ["+purReceipt+ "]" );
System.out.println( "purReturn ["+purReturn+ "]" ); System.out.println( "purReturn ["+purReturn+ "]" );
System.out.println( "rate1 ["+rate1+ "]" );
if(rate1 != null && rate1.trim().length() > 0)
{
rate = Double.parseDouble(rate1);
}
if(discount != null && discount.trim().length() > 0)
{
custDiscount = Double.parseDouble(discount);
}
System.out.println( "rate:::: ["+rate+ "]" );
if (opStock == null || opStock == "null" || opStock.trim().length() == 0 ) if (opStock == null || opStock == "null" || opStock.trim().length() == 0 )
{ {
...@@ -2852,7 +2865,22 @@ public class CustStock extends ValidatorEJB //implements SessionBean ...@@ -2852,7 +2865,22 @@ public class CustStock extends ValidatorEJB //implements SessionBean
netSales = msales * mvarValueDb; netSales = msales * mvarValueDb;
System.out.println("netSales::::::["+netSales +"]"); System.out.println("netSales::::::["+netSales +"]");
replValue = netSales * rate ;
System.out.println("replValue::::::["+replValue +"]");
if(netSales > 0)
{
valueXmlString.append("<net_sales>").append(Math.round(netSales)).append("</net_sales>\r\n"); //Added by Poonam on 09-12-2016 for discount, latest rate and net amount :End[D16HVHB005] valueXmlString.append("<net_sales>").append(Math.round(netSales)).append("</net_sales>\r\n"); //Added by Poonam on 09-12-2016 for discount, latest rate and net amount :End[D16HVHB005]
}
else
{
valueXmlString.append("<net_sales>").append(0).append("</net_sales>\r\n");
}
valueXmlString.append("<repl_value>").append(Math.round(replValue)).append("</repl_value>\r\n"); //Added by Poonam on 09-12-2016 for discount, latest rate and net amount :End[D16HVHB005]
valueXmlString.append("<rate>").append(rate).append("</rate>\r\n");
valueXmlString.append("<discount>").append(custDiscount).append("</discount>\r\n");
valueXmlString.append("<op_value>").append(opValue).append("</op_value>\r\n"); valueXmlString.append("<op_value>").append(opValue).append("</op_value>\r\n");
valueXmlString.append("<cl_value>").append(clValue).append("</cl_value>\r\n"); valueXmlString.append("<cl_value>").append(clValue).append("</cl_value>\r\n");
valueXmlString.append("<sales_value>").append(salesValue).append("</sales_value>\r\n"); valueXmlString.append("<sales_value>").append(salesValue).append("</sales_value>\r\n");
......
...@@ -788,7 +788,7 @@ public class AssociateAct extends ActionHandlerEJB implements AssociateActLocal, ...@@ -788,7 +788,7 @@ public class AssociateAct extends ActionHandlerEJB implements AssociateActLocal,
valueXmlString.append("<tran_id isSrvCallOnChg='0'>").append("<![CDATA[").append(tranId).append("]]>").append("</tran_id>\r\n"); valueXmlString.append("<tran_id isSrvCallOnChg='0'>").append("<![CDATA[").append(tranId).append("]]>").append("</tran_id>\r\n");
} }
//valueXmlString.append("<rate isSrvCallOnChg='0'>").append("<![CDATA[").append(rs1.getString(6) == null ? "":rs1.getString(6)).append("]]>").append("</rate>\r\n"); //valueXmlString.append("<rate isSrvCallOnChg='0'>").append("<![CDATA[").append(rs1.getString(6) == null ? "":rs1.getString(6)).append("]]>").append("</rate>\r\n");
valueXmlString.append("<rate isSrvCallOnChg='0'>").append("<![CDATA[").append(rsCP.getString(6) == null ? "":rsCP.getString(6)).append("]]>").append("</rate>\r\n"); valueXmlString.append("<rate>").append("<![CDATA[").append(rsCP.getString(6) == null ? "":rsCP.getString(6)).append("]]>").append("</rate>\r\n");
valueXmlString.append("</Detail>\r\n"); valueXmlString.append("</Detail>\r\n");
System.out.println("valueXmlString generated>>>>>>>>>>>>>>>>>>> " + valueXmlString); System.out.println("valueXmlString generated>>>>>>>>>>>>>>>>>>> " + valueXmlString);
......
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
<type size="10">char</type> <type size="10">char</type>
<update>yes</update> <update>yes</update>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name> <name>tran_id</name>
<dbname>cust_stock.tran_id</dbname> <dbname>cust_stock.tran_id</dbname>
</table_column> </table_column>
...@@ -165,10 +164,7 @@ ...@@ -165,10 +164,7 @@
<name>deposit</name> <name>deposit</name>
<dbname>deposit</dbname> <dbname>deposit</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.remarks&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;customer.channel_partner&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;customer.credit_lmt&quot;) COMPUTE(NAME=&quot;fn_get_custos(cust_stock.cust_code,cust_stock.site_code,&apos;T&apos;) os_amt&quot;) COMPUTE(NAME=&quot;fn_get_cust_deposit(cust_stock.site_code,cust_stock.cust_code) deposit&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; )WHERE( EXP1 =&quot;cust_stock.tran_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:fr_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;cust_stock.tran_date&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( case when customer.channel_partner is null then &apos;N&apos; else customer.channel_partner end )&quot; OP =&quot;=&quot; EXP2 =&quot;&apos;N&apos;&quot; ) ) ARG(NAME = &quot;fr_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;customer&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.remarks&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;customer.channel_partner&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;customer.credit_lmt&quot;) COMPUTE(NAME=&quot;fn_get_custos(cust_stock.cust_code,cust_stock.site_code,&apos;T&apos;) os_amt&quot;) COMPUTE(NAME=&quot;fn_get_cust_deposit(cust_stock.site_code,cust_stock.cust_code) deposit&quot;) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; )WHERE( EXP1 =&quot;cust_stock.tran_date&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:fr_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;cust_stock.tran_date&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>CUST_STOCK</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument> <argument>
<name>fr_date</name> <name>fr_date</name>
<type>datetime</type> <type>datetime</type>
...@@ -514,6 +510,118 @@ ...@@ -514,6 +510,118 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Ser</text>
<border>6</border>
<color>0</color>
<x>1390</x>
<y>2</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Customer Credit Lmt</text>
<border>6</border>
<color>33554432</color>
<x>1499</x>
<y>2</y>
<height>16</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_credit_lmt_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Os Amt</text>
<border>6</border>
<color>33554432</color>
<x>1634</x>
<y>2</y>
<height>16</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>os_amt_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Deposit</text>
<border>6</border>
<color>33554432</color>
<x>1713</x>
<y>2</y>
<height>16</height>
<width>65</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>deposit_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>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -968,118 +1076,6 @@ ...@@ -968,118 +1076,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Item Ser</text>
<border>6</border>
<color>0</color>
<x>1390</x>
<y>2</y>
<height>16</height>
<width>107</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Customer Credit Lmt</text>
<border>6</border>
<color>33554432</color>
<x>1499</x>
<y>2</y>
<height>16</height>
<width>134</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>customer_credit_lmt_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Os Amt</text>
<border>6</border>
<color>33554432</color>
<x>1635</x>
<y>2</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>os_amt_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>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Deposit</text>
<border>6</border>
<color>33554432</color>
<x>1715</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>deposit_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>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>11</id>
...@@ -1125,10 +1121,11 @@ ...@@ -1125,10 +1121,11 @@
<tabsequence>140</tabsequence> <tabsequence>140</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1500</x> <x>1499</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>133</width> <width>133</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1161,10 +1158,11 @@ ...@@ -1161,10 +1158,11 @@
<tabsequence>150</tabsequence> <tabsequence>150</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1636</x> <x>1634</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>77</width> <width>77</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -1197,10 +1195,11 @@ ...@@ -1197,10 +1195,11 @@
<tabsequence>160</tabsequence> <tabsequence>160</tabsequence>
<border>5</border> <border>5</border>
<color>0</color> <color>0</color>
<x>1716</x> <x>1713</x>
<y>1</y> <y>1</y>
<height>16</height> <height>16</height>
<width>65</width> <width>65</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<dbname>cust_stock_det.item_code</dbname> <dbname>cust_stock_det.item_code</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="130">char</type> <type size="120">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>item_descr</name> <name>item_descr</name>
<dbname>item.descr</dbname> <dbname>item.descr</dbname>
...@@ -277,7 +277,13 @@ ...@@ -277,7 +277,13 @@
<name>net_sales</name> <name>net_sales</name>
<dbname>net_sales</dbname> <dbname>net_sales</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_QTY(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty) as net_sales&quot;) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; ) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.item_code&quot; )WHERE( EXP1 =&quot;~&quot;CUST_STOCK~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve> <table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>repl_value</name>
<dbname>repl_value</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_QTY(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty) as net_sales&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_VAL(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty,cust_stock_det.rate) as repl_value&quot;) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; ) JOIN (LEFT=&quot;item.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.item_code&quot; )WHERE( EXP1 =&quot;~&quot;CUST_STOCK~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve>
<update>CUST_STOCK_DET</update> <update>CUST_STOCK_DET</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -1154,6 +1160,34 @@ ...@@ -1154,6 +1160,34 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Discount</text>
<border>2</border>
<color>33554432</color>
<x>3072</x>
<y>2</y>
<height>15</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>discount_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>67108864</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>1</id> <id>1</id>
...@@ -2386,13 +2420,14 @@ ...@@ -2386,13 +2420,14 @@
<band>Detail</band> <band>Detail</band>
<id>33</id> <id>33</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>0</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>33554432</color>
<x>3159</x> <x>3158</x>
<y>2</y> <y>2</y>
<height>15</height> <height>15</height>
<width>80</width> <width>123</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
...@@ -2418,20 +2453,56 @@ ...@@ -2418,20 +2453,56 @@
<color>1073741824</color> <color>1073741824</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>34</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<border>5</border>
<color>33554432</color>
<x>3284</x>
<y>1</y>
<height>15</height>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>repl_value</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>1073741824</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Discount</text> <text>Replenishment Qty</text>
<border>2</border> <border>2</border>
<color>33554432</color> <color>33554432</color>
<x>3072</x> <x>3158</x>
<y>2</y> <y>2</y>
<height>15</height> <height>17</height>
<width>84</width> <width>123</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>discount_t</name> <name>net_sales_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Liberation Sans</face> <face>Liberation Sans</face>
...@@ -2449,17 +2520,17 @@ ...@@ -2449,17 +2520,17 @@
<TextObject> <TextObject>
<band>Header</band> <band>Header</band>
<alignment>0</alignment> <alignment>0</alignment>
<text>Net Sales</text> <text>Replenishment Value</text>
<border>2</border> <border>2</border>
<color>33554432</color> <color>134217735</color>
<x>3158</x> <x>3283</x>
<y>2</y> <y>2</y>
<height>17</height> <height>17</height>
<width>81</width> <width>80</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>net_sales_t</name> <name>repl_value_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Liberation Sans</face> <face>Liberation Sans</face>
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<dbname>site.descr</dbname> <dbname>site.descr</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="50">char</type> <type size="40">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>name</name> <name>name</name>
<dbname>customer.cust_name</dbname> <dbname>customer.cust_name</dbname>
...@@ -332,7 +332,18 @@ ...@@ -332,7 +332,18 @@
<name>deposit</name> <name>deposit</name>
<dbname>deposit</dbname> <dbname>deposit</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;customer&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.remarks&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.chg_user&quot;) COLUMN(NAME=&quot;cust_stock.chg_term&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;cust_stock.chg_date&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.tot_op_value&quot;) COLUMN(NAME=&quot;cust_stock.tot_pur_value&quot;) COLUMN(NAME=&quot;cust_stock.tot_sales_value&quot;) COLUMN(NAME=&quot;cust_stock.tot_cl_value&quot;) COLUMN(NAME=&quot;cust_stock.tran_type&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__1&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__2&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__3&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__4&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__5&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__6&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__1&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__2&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__3&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__4&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__5&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__6&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.transit_flag&quot;) COMPUTE(NAME=&quot;fn_get_custos(cust_stock.cust_code,cust_stock.site_code,&apos;T&apos;) os_amt&quot;) COLUMN(NAME=&quot;customer.credit_lmt&quot;) COMPUTE(NAME=&quot;fn_get_cust_deposit(cust_stock.site_code,cust_stock.cust_code) deposit&quot;) JOIN (LEFT=&quot;cust_stock.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; ) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; )WHERE( EXP1 =&quot;( ( cust_stock.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id ) )&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve> <table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>date_flag</name>
<dbname>cust_stock.date_flag</dbname>
<values>
<item display="Despatch" data="D"/>
<item display="Order Date" data="O"/>
</values>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock&quot; ) TABLE(NAME=&quot;site&quot; ) TABLE(NAME=&quot;customer&quot; ) COLUMN(NAME=&quot;cust_stock.tran_id&quot;) COLUMN(NAME=&quot;cust_stock.tran_date&quot;) COLUMN(NAME=&quot;cust_stock.cust_code&quot;) COLUMN(NAME=&quot;cust_stock.site_code&quot;) COLUMN(NAME=&quot;cust_stock.remarks&quot;) COLUMN(NAME=&quot;cust_stock.tran_id__last&quot;) COLUMN(NAME=&quot;cust_stock.from_date&quot;) COLUMN(NAME=&quot;cust_stock.to_date&quot;) COLUMN(NAME=&quot;cust_stock.chg_user&quot;) COLUMN(NAME=&quot;cust_stock.chg_term&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;customer.cust_name&quot;) COLUMN(NAME=&quot;cust_stock.chg_date&quot;) COLUMN(NAME=&quot;cust_stock.status&quot;) COLUMN(NAME=&quot;cust_stock.item_ser&quot;) COLUMN(NAME=&quot;cust_stock.tot_op_value&quot;) COLUMN(NAME=&quot;cust_stock.tot_pur_value&quot;) COLUMN(NAME=&quot;cust_stock.tot_sales_value&quot;) COLUMN(NAME=&quot;cust_stock.tot_cl_value&quot;) COLUMN(NAME=&quot;cust_stock.tran_type&quot;) COLUMN(NAME=&quot;cust_stock.confirmed&quot;) COLUMN(NAME=&quot;cust_stock.conf_date&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__1&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__2&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__3&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__4&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__5&quot;) COLUMN(NAME=&quot;cust_stock.sch_date__6&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__1&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__2&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__3&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__4&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__5&quot;) COLUMN(NAME=&quot;cust_stock.sch_perc__6&quot;) COLUMN(NAME=&quot;cust_stock.prd_code&quot;) COLUMN(NAME=&quot;cust_stock.transit_flag&quot;) COMPUTE(NAME=&quot;fn_get_custos(cust_stock.cust_code,cust_stock.site_code,&apos;T&apos;) os_amt&quot;) COLUMN(NAME=&quot;customer.credit_lmt&quot;) COMPUTE(NAME=&quot;fn_get_cust_deposit(cust_stock.site_code,cust_stock.cust_code) deposit&quot;) COLUMN(NAME=&quot;cust_stock.date_flag&quot;) JOIN (LEFT=&quot;cust_stock.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; ) JOIN (LEFT=&quot;cust_stock.cust_code&quot; OP =&quot;=&quot;RIGHT=&quot;customer.cust_code&quot; )WHERE( EXP1 =&quot;( ( cust_stock.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id ) )&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) </retrieve>
<update>CUST_STOCK</update> <update>CUST_STOCK</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -481,34 +492,6 @@ ...@@ -481,34 +492,6 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Prd. Code:</text>
<border>0</border>
<color>0</color>
<x>267</x>
<y>42</y>
<height>16</height>
<width>92</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</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>
...@@ -573,144 +556,6 @@ ...@@ -573,144 +556,6 @@
<color>16777215</color> <color>16777215</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>364</x>
<y>42</y>
<height>17</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Form Type :</text>
<border>0</border>
<color>0</color>
<x>478</x>
<y>19</y>
<height>15</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>254</x>
<y>66</y>
<height>17</height>
<width>379</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>40</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>559</x>
<y>19</y>
<height>17</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>11</id> <id>11</id>
...@@ -1331,7 +1176,7 @@ ...@@ -1331,7 +1176,7 @@
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>37</id> <id>37</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
...@@ -2432,7 +2277,7 @@ ...@@ -2432,7 +2277,7 @@
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>39</id> <id>39</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
...@@ -2466,6 +2311,237 @@ ...@@ -2466,6 +2311,237 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Prd. Code:</text>
<border>0</border>
<color>0</color>
<x>267</x>
<y>42</y>
<height>16</height>
<width>92</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>35</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>364</x>
<y>42</y>
<height>17</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>prd_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>6</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Form Type :</text>
<border>0</border>
<color>0</color>
<x>478</x>
<y>19</y>
<height>15</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Date Flag :</text>
<border>0</border>
<color>0</color>
<x>478</x>
<y>42</y>
<height>15</height>
<width>77</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>date_flag_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>254</x>
<y>66</y>
<height>17</height>
<width>379</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>name</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>40</limit>
<case>upper</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>40</id>
<alignment>0</alignment>
<tabsequence>230</tabsequence>
<border>5</border>
<color>0</color>
<x>559</x>
<y>42</y>
<height>17</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>date_flag</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>any</case>
<useasborder>yes</useasborder>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>20</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>559</x>
<y>19</y>
<height>17</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_type</name>
<visible>1</visible>
<EditStyle style="ddlb">
<limit>1</limit>
<allowedit>no</allowedit>
<case>upper</case>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1090519039</color>
</background>
</ColumnObject>
<HtmlTable> <HtmlTable>
<border>1</border> <border>1</border>
</HtmlTable> </HtmlTable>
......
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
<dbname>cust_stock_det.chg_term</dbname> <dbname>cust_stock_det.chg_term</dbname>
</table_column> </table_column>
<table_column> <table_column>
<type size="130">char</type> <type size="120">char</type>
<updatewhereclause>yes</updatewhereclause> <updatewhereclause>yes</updatewhereclause>
<name>item_descr</name> <name>item_descr</name>
<dbname>item.descr</dbname> <dbname>item.descr</dbname>
...@@ -294,7 +294,13 @@ ...@@ -294,7 +294,13 @@
<name>net_sales</name> <name>net_sales</name>
<dbname>net_sales</dbname> <dbname>net_sales</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;cust_stock&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_QTY(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty) as net_sales&quot;) JOIN (LEFT=&quot;cust_stock_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; ) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; )WHERE( EXP1 =&quot;( ( cust_stock_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( cust_stock_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:mline_no ) )&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) ARG(NAME = &quot;mline_no&quot; TYPE = string) </retrieve> <table_column>
<type>number</type>
<updatewhereclause>yes</updatewhereclause>
<name>repl_value</name>
<dbname>repl_value</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;cust_stock_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;cust_stock&quot; ) COLUMN(NAME=&quot;cust_stock_det.tran_id&quot;) COLUMN(NAME=&quot;cust_stock_det.line_no&quot;) COLUMN(NAME=&quot;cust_stock_det.item_code&quot;) COLUMN(NAME=&quot;cust_stock_det.unit&quot;) COLUMN(NAME=&quot;cust_stock_det.op_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.sales&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.transit_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adj_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_stock&quot;) COLUMN(NAME=&quot;cust_stock_det.purc_ret&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_user&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_term&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;cust_stock_det.chg_date&quot;) COLUMN(NAME=&quot;cust_stock_det.item_ser&quot;) COLUMN(NAME=&quot;cust_stock_det.loc_type&quot;) COLUMN(NAME=&quot;cust_stock_det.sale_order&quot;) COLUMN(NAME=&quot;cust_stock_det.match_opstk&quot;) COLUMN(NAME=&quot;cust_stock_det.match_clstk&quot;) COLUMN(NAME=&quot;cust_stock_det.remarks&quot;) COLUMN(NAME=&quot;cust_stock_det.op_value&quot;) COLUMN(NAME=&quot;cust_stock_det.pur_value&quot;) COLUMN(NAME=&quot;cust_stock_det.sales_value&quot;) COLUMN(NAME=&quot;cust_stock_det.cl_value&quot;) COLUMN(NAME=&quot;cust_stock_det.demand_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.adhoc_repl_qty&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_item__ref&quot;) COMPUTE(NAME=&quot;FN_CUSTITEM_DSCR(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.cust_item__ref) cust_item_ref_descr&quot;) COLUMN(NAME=&quot;cust_stock_det.cust_purc_rcp&quot;) COLUMN(NAME=&quot;cust_stock_det.rate&quot;) COMPUTE(NAME=&quot;&apos; &apos; as discount&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_QTY(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty) as net_sales&quot;) COMPUTE(NAME=&quot;FN_GET_CUST_SORDER_VAL(cust_stock.cust_code,cust_stock_det.item_code,cust_stock_det.sales,cust_stock_det.cl_stock,cust_stock_det.transit_qty,cust_stock_det.rate) as repl_value&quot;) JOIN (LEFT=&quot;cust_stock_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; ) JOIN (LEFT=&quot;cust_stock.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;cust_stock_det.tran_id&quot; )WHERE( EXP1 =&quot;( ( cust_stock_det.tran_id&quot; OP =&quot;=&quot; EXP2 =&quot;:mtran_id )&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;( cust_stock_det.line_no&quot; OP =&quot;=&quot; EXP2 =&quot;:mline_no ) )&quot; ) ) ARG(NAME = &quot;mtran_id&quot; TYPE = string) ARG(NAME = &quot;mline_no&quot; TYPE = string) </retrieve>
<update>CUST_STOCK_DET</update> <update>CUST_STOCK_DET</update>
<updatewhere>0</updatewhere> <updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
...@@ -1346,43 +1352,6 @@ whiach are in transit</tag> ...@@ -1346,43 +1352,6 @@ whiach are in transit</tag>
<color>79741120</color> <color>79741120</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>25</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>602</x>
<y>223</y>
<height>16</height>
<width>94</width>
<format>#########0.000</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cl_value</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -1821,20 +1790,57 @@ whiach are in transit</tag> ...@@ -1821,20 +1790,57 @@ whiach are in transit</tag>
<color>553648127</color> <color>553648127</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>29</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>268</x>
<y>270</y>
<height>16</height>
<width>428</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_item_ref_descr</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>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>79741120</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Sales Value:</text> <text>Cust Item:</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>5</x> <x>5</x>
<y>223</y> <y>270</y>
<height>16</height> <height>16</height>
<width>162</width> <width>162</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>sales_value_t</name> <name>cust_item__ref_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1849,31 +1855,21 @@ whiach are in transit</tag> ...@@ -1849,31 +1855,21 @@ whiach are in transit</tag>
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<id>24</id>
<alignment>1</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <text>Chg Term:</text>
<border>5</border> <border>0</border>
<color>255</color> <color>0</color>
<x>171</x> <x>495</x>
<y>223</y> <y>294</y>
<height>16</height> <height>16</height>
<width>94</width> <width>106</width>
<format>#########0.000</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>sales_value</name> <name>chg_term_t</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>14</limit>
<case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1884,32 +1880,58 @@ whiach are in transit</tag> ...@@ -1884,32 +1880,58 @@ whiach are in transit</tag>
</font> </font>
<background> <background>
<mode>1</mode> <mode>1</mode>
<color>553648127</color> <color>536870912</color>
</background> </background>
</ColumnObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Chg Date:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<y>294</y>
<height>16</height>
<width>162</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>29</id> <id>15</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>268</x> <x>170</x>
<y>270</y> <y>294</y>
<height>16</height> <height>16</height>
<width>428</width> <width>94</width>
<format>[general]</format> <format>dd/mm/yy</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_item_ref_descr</name> <name>chg_date</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="editmask">
<limit>0</limit> <mask>dd/mm/yy</mask>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1927,17 +1949,17 @@ whiach are in transit</tag> ...@@ -1927,17 +1949,17 @@ whiach are in transit</tag>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Cust Item:</text> <text>Chg User:</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>5</x> <x>273</x>
<y>270</y> <y>294</y>
<height>16</height> <height>16</height>
<width>162</width> <width>122</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_item__ref_t</name> <name>chg_user_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1954,24 +1976,24 @@ whiach are in transit</tag> ...@@ -1954,24 +1976,24 @@ whiach are in transit</tag>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>28</id> <id>12</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>110</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>33554432</color> <color>255</color>
<x>170</x> <x>396</x>
<y>270</y> <y>294</y>
<height>16</height> <height>16</height>
<width>94</width> <width>94</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cust_item__ref</name> <name>chg_user</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>20</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>
...@@ -1987,24 +2009,34 @@ whiach are in transit</tag> ...@@ -1987,24 +2009,34 @@ whiach are in transit</tag>
</font> </font>
<background> <background>
<mode>2</mode> <mode>2</mode>
<color>16777215</color> <color>79741120</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>28</id>
<text>Chg Term:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>110</tabsequence>
<color>0</color> <border>5</border>
<x>495</x> <color>33554432</color>
<y>294</y> <x>170</x>
<y>270</y>
<height>16</height> <height>16</height>
<width>106</width> <width>94</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_term_t</name> <name>cust_item__ref</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -2014,24 +2046,24 @@ whiach are in transit</tag> ...@@ -2014,24 +2046,24 @@ whiach are in transit</tag>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>16777215</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg Date:</text> <text>Sales Value:</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>5</x> <x>5</x>
<y>294</y> <y>223</y>
<height>16</height> <height>16</height>
<width>162</width> <width>162</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date_t</name> <name>sales_value_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -2048,25 +2080,28 @@ whiach are in transit</tag> ...@@ -2048,25 +2080,28 @@ whiach are in transit</tag>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>15</id> <id>24</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>170</x> <x>171</x>
<y>294</y> <y>223</y>
<height>16</height> <height>16</height>
<width>94</width> <width>94</width>
<format>dd/mm/yy</format> <format>#########0.000</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_date</name> <name>sales_value</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="editmask"> <EditStyle style="edit">
<mask>dd/mm/yy</mask> <limit>14</limit>
<imemode>0</imemode> <case>any</case>
<format>#########0.000</format>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -2077,24 +2112,52 @@ whiach are in transit</tag> ...@@ -2077,24 +2112,52 @@ whiach are in transit</tag>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>79741120</color> <color>553648127</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Chg User:</text> <text>Replenishment Qty:</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>273</x> <x>272</x>
<y>294</y> <y>223</y>
<height>15</height>
<width>128</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Closing Value:</text>
<border>0</border>
<color>0</color>
<x>513</x>
<y>223</y>
<height>16</height> <height>16</height>
<width>122</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user_t</name> <name>cl_value_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -2111,27 +2174,26 @@ whiach are in transit</tag> ...@@ -2111,27 +2174,26 @@ whiach are in transit</tag>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>12</id> <id>25</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>396</x> <x>602</x>
<y>294</y> <y>223</y>
<height>16</height> <height>16</height>
<width>94</width> <width>94</width>
<format>[general]</format> <format>#########0.000</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>chg_user</name> <name>cl_value</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>10</limit> <limit>14</limit>
<case>upper</case> <case>any</case>
<focusrectangle>no</focusrectangle> <format>#########0.000</format>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -2143,25 +2205,34 @@ whiach are in transit</tag> ...@@ -2143,25 +2205,34 @@ whiach are in transit</tag>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>2</mode> <mode>1</mode>
<color>79741120</color> <color>553648127</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <id>33</id>
<text>Closing Value:</text> <alignment>0</alignment>
<border>0</border> <tabsequence>32766</tabsequence>
<color>0</color> <border>5</border>
<x>271</x> <color>255</color>
<x>406</x>
<y>223</y> <y>223</y>
<height>16</height> <height>16</height>
<width>327</width> <width>94</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>cl_value_t</name> <name>net_sales</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -2171,10 +2242,10 @@ whiach are in transit</tag> ...@@ -2171,10 +2242,10 @@ whiach are in transit</tag>
<charset>0</charset> <charset>0</charset>
</font> </font>
<background> <background>
<mode>1</mode> <mode>2</mode>
<color>536870912</color> <color>67108864</color>
</background> </background>
</TextObject> </ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -2206,7 +2277,7 @@ whiach are in transit</tag> ...@@ -2206,7 +2277,7 @@ whiach are in transit</tag>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>31</id> <id>31</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
...@@ -2244,7 +2315,7 @@ whiach are in transit</tag> ...@@ -2244,7 +2315,7 @@ whiach are in transit</tag>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Replenishment Qty:</text> <text>Replenishment Value:</text>
<border>0</border> <border>0</border>
<color>0</color> <color>0</color>
<x>272</x> <x>272</x>
...@@ -2254,7 +2325,7 @@ whiach are in transit</tag> ...@@ -2254,7 +2325,7 @@ whiach are in transit</tag>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>net_amt_t</name> <name>t_1</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -2271,8 +2342,8 @@ whiach are in transit</tag> ...@@ -2271,8 +2342,8 @@ whiach are in transit</tag>
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>33</id> <id>34</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
...@@ -2280,11 +2351,10 @@ whiach are in transit</tag> ...@@ -2280,11 +2351,10 @@ whiach are in transit</tag>
<y>247</y> <y>247</y>
<height>16</height> <height>16</height>
<width>94</width> <width>94</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>net_sales</name> <name>repl_value</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
...@@ -2337,7 +2407,7 @@ whiach are in transit</tag> ...@@ -2337,7 +2407,7 @@ whiach are in transit</tag>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>32</id> <id>32</id>
<alignment>0</alignment> <alignment>1</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
......
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