Fix [2855673] - Import Invoice doesn't assign project/activity on lines
https://sourceforge.net/tracker/?func=detail&aid=2855673&group_id=176962&atid=879332
This commit is contained in:
parent
deb3de7e46
commit
133f3d30ea
|
@ -706,6 +706,13 @@ public class ImportInvoice extends SvrProcess
|
|||
// globalqss - import invoice with charges
|
||||
if (imp.getC_Charge_ID() != 0)
|
||||
line.setC_Charge_ID(imp.getC_Charge_ID());
|
||||
// globalqss - [2855673] - assign dimensions to lines also in case they're different
|
||||
if (imp.getC_Activity_ID() != 0)
|
||||
line.setC_Activity_ID(imp.getC_Activity_ID());
|
||||
if (imp.getC_Campaign_ID() != 0)
|
||||
line.setC_Campaign_ID(imp.getC_Campaign_ID());
|
||||
if (imp.getC_Project_ID() != 0)
|
||||
line.setC_Project_ID(imp.getC_Project_ID());
|
||||
//
|
||||
line.setQty(imp.getQtyOrdered());
|
||||
line.setPrice();
|
||||
|
|
Loading…
Reference in New Issue