Fixed : [ 1703318 ] Error generate invoice line ad charge and should use product
https://sourceforge.net/tracker/index.php?func=detail&aid=1703318&group_id=176962&atid=879332
This commit is contained in:
parent
56575e6679
commit
1e4ecda35a
|
@ -189,6 +189,7 @@ public class MInvoiceLine extends X_C_InvoiceLine
|
||||||
setIsDescription(oLine.isDescription());
|
setIsDescription(oLine.isDescription());
|
||||||
setDescription(oLine.getDescription());
|
setDescription(oLine.getDescription());
|
||||||
//
|
//
|
||||||
|
if(oLine.getM_Product_ID() == 0)
|
||||||
setC_Charge_ID(oLine.getC_Charge_ID());
|
setC_Charge_ID(oLine.getC_Charge_ID());
|
||||||
//
|
//
|
||||||
setM_Product_ID(oLine.getM_Product_ID());
|
setM_Product_ID(oLine.getM_Product_ID());
|
||||||
|
@ -236,6 +237,7 @@ public class MInvoiceLine extends X_C_InvoiceLine
|
||||||
setC_UOM_ID(sLine.getC_UOM_ID());
|
setC_UOM_ID(sLine.getC_UOM_ID());
|
||||||
setM_AttributeSetInstance_ID(sLine.getM_AttributeSetInstance_ID());
|
setM_AttributeSetInstance_ID(sLine.getM_AttributeSetInstance_ID());
|
||||||
// setS_ResourceAssignment_ID(sLine.getS_ResourceAssignment_ID());
|
// setS_ResourceAssignment_ID(sLine.getS_ResourceAssignment_ID());
|
||||||
|
if(getM_Product_ID() == 0)
|
||||||
setC_Charge_ID(sLine.getC_Charge_ID());
|
setC_Charge_ID(sLine.getC_Charge_ID());
|
||||||
//
|
//
|
||||||
int C_OrderLine_ID = sLine.getC_OrderLine_ID();
|
int C_OrderLine_ID = sLine.getC_OrderLine_ID();
|
||||||
|
|
Loading…
Reference in New Issue