Open litzvi opened 2 years ago
fixed
why processGain: null in a case like this po? theres no used item but theres a lot of produced items so it should be a big gain
why processGain: null in a case like this po? theres no used item but theres a lot of produced items so it should be a big gain
yes. but in percentage it will be undefined or infinity. so I thought better to leave it empty
process gain isnt for percentage
and in percentage i should put infinite. empty they would not see something strange
and in percentage i should put infinite. empty they would not see something strange
implement infinite might cause bags. I can do it after we upload. unless you show null as infinity. do you want that? I HAVE A SOLUTION. DEFINE IT IN com.avc.mis.beta.entities.embeddable.AmountWithUnit.percentageLoss(AmountWithUnit, AmountWithUnit) AND SET RETURN to AmountWithUnit and percentage/infinty.
anyway, don't close because i need to fix it when we upload a version
don't know what you are writing BigDecimal doesn't have infinity. also the logic isn't correct
you need to fix the process gain so we see the difference in lbs. and all the rest. im doing the percantage alone
can't display details and can't edit. I don't see anything by me.
i'll attach a dump