From 3559371414d9c5e43299df7d27f69f7af3934bf1 Mon Sep 17 00:00:00 2001 From: Deepak Pansheriya Date: Mon, 21 Aug 2023 11:50:02 +0530 Subject: [PATCH] IDEMPIERE-5828: Setting ASI from invoice to credit memo on InvoceCreateCreditMemo Process (#1972) --- .../src/org/idempiere/process/InvoiceCreateCreditMemo.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.base.process/src/org/idempiere/process/InvoiceCreateCreditMemo.java b/org.adempiere.base.process/src/org/idempiere/process/InvoiceCreateCreditMemo.java index 1d4ae2a555..1cfa998860 100644 --- a/org.adempiere.base.process/src/org/idempiere/process/InvoiceCreateCreditMemo.java +++ b/org.adempiere.base.process/src/org/idempiere/process/InvoiceCreateCreditMemo.java @@ -161,6 +161,7 @@ public class InvoiceCreateCreditMemo extends SvrProcess { rLine.setPriceLimit(oLine.getPriceLimit()); rLine.setPriceEntered(oLine.getPriceEntered()); rLine.setC_UOM_ID(oLine.getC_UOM_ID()); + rLine.setM_AttributeSetInstance_ID(oLine.getM_AttributeSetInstance_ID()); if (!rLine.save(get_TrxName())) { throw new AdempiereException("Could not create credit memo line"); }