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:
parent
39dc2c6f62
commit
29aa44beb3
|
@ -554,7 +554,7 @@ public class ImportInvoice extends SvrProcess
|
|||
continue;
|
||||
//
|
||||
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 ())
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue