Fixes Issue 12842: Currency value not assigned in Requsition header page
authorAdrián Romero <adrianromero@openbravo.com>
Fri, 23 Apr 2010 16:11:53 +0200
changeset 7502 87043f160129
parent 7501 4afa7c7e3448
child 7503 2829b162bd21
Fixes Issue 12842: Currency value not assigned in Requsition header page
src/org/openbravo/erpCommon/ad_callouts/SE_Supplier_BPartner.java
--- a/src/org/openbravo/erpCommon/ad_callouts/SE_Supplier_BPartner.java	Fri Apr 23 16:02:38 2010 +0200
+++ b/src/org/openbravo/erpCommon/ad_callouts/SE_Supplier_BPartner.java	Fri Apr 23 16:11:53 2010 +0200
@@ -66,7 +66,7 @@
 
     XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
         "org/openbravo/erpCommon/ad_callouts/CallOut").createXmlDocument();
-    String strPriceList = SLRequisitionBPartnerData.select(this, strBPartner);
+    String strPriceList = SLRequisitionBPartnerData.select(this, strBPartner)[0].poPricelistId;
 
     StringBuffer resultado = new StringBuffer();
     resultado.append("var calloutName='SL_Supplier_BPartner';\n\n");