Skip to content

Commit

Permalink
Update de.metas.swat/de.metas.swat.base/src/main/java/de/metas/order/…
Browse files Browse the repository at this point in the history
…invoicecandidate/C_OrderLine_Handler.java


#6045
  • Loading branch information
metas-ts committed Jan 20, 2020
1 parent 720cc41 commit ed84cac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private I_C_Invoice_Candidate createCandidateForOrderLine(final I_C_OrderLine or

icRecord.setDescription(orderLine.getDescription()); // 03439

if ( orderLine.getPriceEntered().equals( orderLine.getPriceStd() ) )
if ( orderLine.getPriceEntered().compareTo( orderLine.getPriceStd() ) == 0)
{
icRecord.setBase_Commission_Points_Per_Price_UOM( orderLine.getBase_Commission_Points_Per_Price_UOM() );
icRecord.setTraded_Commission_Percent( orderLine.getTraded_Commission_Percent() );
Expand Down

0 comments on commit ed84cac

Please sign in to comment.