BF 2799313 Import Invoice C_Location_ID is mandatory.

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2799313&group_id=176962
This commit is contained in:
armenrz 2009-06-02 04:02:05 +00:00
parent 39dc2c6f62
commit 29aa44beb3
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ public class ImportInvoice extends SvrProcess
continue; continue;
// //
bpl = new MBPartnerLocation (bp); bpl = new MBPartnerLocation (bp);
bpl.setC_Location_ID (imp.getC_Location_ID ()); bpl.setC_Location_ID (imp.getC_Location_ID() > 0 ? imp.getC_Location_ID() : loc.getC_Location_ID());
if (!bpl.save ()) if (!bpl.save ())
continue; continue;
} }