[aprm-windows] Hide Credit Grid if generated credit is different to 0
authorUnai Martirena <unai.martirena@openbravo.com>
Fri, 06 Jun 2014 13:55:20 +0200
changeset 23730 f54083a7cb9b
parent 23729 5ad5a46c4fe8
child 23731 2bad274b7f45
[aprm-windows] Hide Credit Grid if generated credit is different to 0
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml	Fri Jun 06 13:53:22 2014 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml	Fri Jun 06 13:55:20 2014 +0200
@@ -683,7 +683,7 @@
 <!--A801DA25DEAA404A8C651626CA31B22F-->  <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
 <!--A801DA25DEAA404A8C651626CA31B22F-->  <OBUIAPP_PROCESS_ID><![CDATA[9BED7889E1034FE68BD85D5D16857320]]></OBUIAPP_PROCESS_ID>
 <!--A801DA25DEAA404A8C651626CA31B22F-->  <STARTINNEWLINE><![CDATA[N]]></STARTINNEWLINE>
-<!--A801DA25DEAA404A8C651626CA31B22F-->  <DISPLAYLOGIC><![CDATA[@customer_credit@ > 0 & @received_from@!'']]></DISPLAYLOGIC>
+<!--A801DA25DEAA404A8C651626CA31B22F-->  <DISPLAYLOGIC><![CDATA[@customer_credit@ > 0 & @received_from@!'' & ((@fin_payment_id@!undefined & @fin_paymend_id@!null & @issotrx@ == false & @generateCredit@ == 0) | (@fin_payment_id@==undefined & @fin_paymend_id@==null))]]></DISPLAYLOGIC>
 <!--A801DA25DEAA404A8C651626CA31B22F-->  <AD_FIELDGROUP_ID><![CDATA[CB265F2D7ACF439F9FB5EFBFA0B50363]]></AD_FIELDGROUP_ID>
 <!--A801DA25DEAA404A8C651626CA31B22F-->  <DISPLAYEDROWS><![CDATA[5]]></DISPLAYEDROWS>
 <!--A801DA25DEAA404A8C651626CA31B22F-->  <DISPLAYTITLE><![CDATA[N]]></DISPLAYTITLE>