IDEMPIERE-5828: Setting ASI from invoice to credit memo on InvoceCreateCreditMemo Process (#1972)
This commit is contained in:
parent
094dee35dc
commit
3559371414
|
@ -161,6 +161,7 @@ public class InvoiceCreateCreditMemo extends SvrProcess {
|
||||||
rLine.setPriceLimit(oLine.getPriceLimit());
|
rLine.setPriceLimit(oLine.getPriceLimit());
|
||||||
rLine.setPriceEntered(oLine.getPriceEntered());
|
rLine.setPriceEntered(oLine.getPriceEntered());
|
||||||
rLine.setC_UOM_ID(oLine.getC_UOM_ID());
|
rLine.setC_UOM_ID(oLine.getC_UOM_ID());
|
||||||
|
rLine.setM_AttributeSetInstance_ID(oLine.getM_AttributeSetInstance_ID());
|
||||||
if (!rLine.save(get_TrxName())) {
|
if (!rLine.save(get_TrxName())) {
|
||||||
throw new AdempiereException("Could not create credit memo line");
|
throw new AdempiereException("Could not create credit memo line");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue