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 7138 cb15f7a33252
parent 7137 ecec4ea06a1d
child 7139 ade5b974f0db
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");