IDEMPIERE-5828: Setting ASI from invoice to credit memo on InvoceCreateCreditMemo Process (#1972)

This commit is contained in:
Deepak Pansheriya 2023-08-21 11:50:02 +05:30 committed by GitHub
parent 094dee35dc
commit 3559371414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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");
} }