details:   https://code.openbravo.com/erp/devel/pi/rev/d85c4777dec0
changeset: 25260:d85c4777dec0
user:      Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
date:      Fri Oct 31 14:57:11 2014 -0500
summary:   Fixed bug 27881: Sales invoice dimensional do not show all org. 
option filter.

Validation rule for organization combo in sales invoice dimensional report was 
removed to show all acccessibles organizations in OrgTree.
Now just like in Sales dimensional report it is posible to select all 
organizations option to analyze all the data in one step.

details:   https://code.openbravo.com/erp/devel/pi/rev/331b598e6c62
changeset: 25261:331b598e6c62
user:      Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
date:      Tue Nov 04 15:15:12 2014 -0500
summary:   Fixed bug 27361: BOM production should change how to populates the 
storage bin.

Default value logic for storage bin column in Production PLan tab of Bill Of 
Material Production window, was changed to set the storage bin value depending 
on header organization's warehouse.
Storage bins defined as default have priority so when new Production Plan is 
created, the default storage bin for organization's warehouse is shown.

diffstat:

 src-db/database/sourcedata/AD_COLUMN.xml                                       
        |  2 +-
 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
 |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r cf6e3f98cd6c -r 331b598e6c62 src-db/database/sourcedata/AD_COLUMN.xml
--- a/src-db/database/sourcedata/AD_COLUMN.xml  Tue Nov 18 22:10:10 2014 +0100
+++ b/src-db/database/sourcedata/AD_COLUMN.xml  Tue Nov 04 15:15:12 2014 -0500
@@ -70296,7 +70296,7 @@
 <!--4765-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
 <!--4765-->  <AD_REFERENCE_VALUE_ID><![CDATA[31]]></AD_REFERENCE_VALUE_ID>
 <!--4765-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
-<!--4765-->  <DEFAULTVALUE><![CDATA[@M_Locator_ID@]]></DEFAULTVALUE>
+<!--4765-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT M_LOCATOR_ID AS DEFAULTVALUE 
FROM M_LOCATOR WHERE AD_ISORGINCLUDED(@AD_Org_ID@, M_LOCATOR.AD_Org_ID, 
@#AD_Client_ID@) <> -1 AND ISACTIVE='Y' AND M_WAREHOUSE_ID IN (SELECT 
max(ow.M_WAREHOUSE_ID) as DefaultValue2 from AD_ORG_WAREHOUSE ow WHERE 
ow.AD_Org_ID=@AD_Org_ID@ AND ow.ISACTIVE = 'Y' AND NOT EXISTS (SELECT 1 FROM 
AD_ORG_WAREHOUSE ow2 WHERE ow2.AD_Org_ID=@AD_Org_ID@ and 
ow2.PRIORITY<ow.PRIORITY)) ORDER BY M_LOCATOR.ISDEFAULT DESC]]></DEFAULTVALUE>
 <!--4765-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--4765-->  <ISPARENT><![CDATA[N]]></ISPARENT>
 <!--4765-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
diff -r cf6e3f98cd6c -r 331b598e6c62 
src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
--- 
a/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
    Tue Nov 18 22:10:10 2014 +0100
+++ 
b/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesJR.java
    Tue Nov 04 15:15:12 2014 -0500
@@ -408,7 +408,7 @@
 
     try {
       ComboTableData comboTableData = new ComboTableData(vars, this, 
"TABLEDIR", "AD_Org_ID", "",
-          "D4DF252DEC3B44858454EE5292A8B836", Utility.getContext(this, vars, 
"#AccessibleOrgTree",
+          "", Utility.getContext(this, vars, "#AccessibleOrgTree",
               "ReportInvoiceCustomerDimensionalAnalysesJR"), 
Utility.getContext(this, vars,
               "#User_Client", "ReportInvoiceCustomerDimensionalAnalysesJR"), 
0);
       Utility.fillSQLParameters(this, vars, null, comboTableData,

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to