Skip to content

Commit

Permalink
se agrega columna de referencia para factura en RMA
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Mar 12, 2020
1 parent 384b28c commit c61667f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/base/org/erpya/lve/model/LVE.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public String docValidate(PO po, int timing) {
.filter(creditMemoLine -> creditMemoLine.getC_OrderLine_ID() != 0)
.forEach(creditMemoLine -> {
MOrderLine returnOrderLine = (MOrderLine) creditMemoLine.getC_OrderLine();
if(returnOrderLine.getRef_InvoiceLine_ID() != 0) {
MInvoiceLine sourceInvoiceLine = new MInvoiceLine(creditMemoLine.getCtx(), returnOrderLine.getRef_InvoiceLine_ID(), creditMemoLine.get_TrxName());
if(returnOrderLine.get_ValueAsInt("Ref_InvoiceLine_ID") != 0) {
MInvoiceLine sourceInvoiceLine = new MInvoiceLine(creditMemoLine.getCtx(), returnOrderLine.get_ValueAsInt("Ref_InvoiceLine_ID"), creditMemoLine.get_TrxName());
invoiceToAllocate.put(sourceInvoiceLine.getC_Invoice_ID(), creditMemoLine.getC_InvoiceLine_ID());
invoiceLinesAllocated.put(creditMemoLine.getC_InvoiceLine_ID(), sourceInvoiceLine.getC_Invoice_ID());
} else {
Expand Down

0 comments on commit c61667f

Please sign in to comment.