Create business partners from the import of orders, with a location that

does not exist in the system


Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2936629
This commit is contained in:
ogomezislas 2010-01-21 22:24:08 +00:00
parent b610097f06
commit 797e5a7672
1 changed files with 4 additions and 2 deletions

View File

@ -35,7 +35,9 @@ import org.compiere.util.Env;
/** /**
* Import Order from I_Order * Import Order from I_Order
* * @author Oscar Gomez
* <li>BF [ 2936629 ] Error when creating bpartner in the importation order
* <li>https://sourceforge.net/tracker/?func=detail&aid=2936629&group_id=176962&atid=879332
* @author Jorg Janke * @author Jorg Janke
* @version $Id: ImportOrder.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $ * @version $Id: ImportOrder.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
*/ */
@ -553,7 +555,7 @@ public class ImportOrder extends SvrProcess
continue; continue;
// //
bpl = new MBPartnerLocation (bp); bpl = new MBPartnerLocation (bp);
bpl.setC_Location_ID (imp.getC_Location_ID ()); bpl.setC_Location_ID (loc.getC_Location_ID ());
if (!bpl.save ()) if (!bpl.save ())
continue; continue;
} }