parent
f3aa0fca94
commit
728199c443
|
|
@ -226,7 +226,7 @@ public class MID_PPO extends X_ps_ppo implements DocAction, DocOptions{
|
|||
try {
|
||||
rs = pstmt.executeQuery();
|
||||
while(rs.next()) {
|
||||
createLines(rs.getInt(1), rs.getBigDecimal(2), false, retValue+1);
|
||||
createLines(rs.getInt(1), rs.getBigDecimal(2).multiply(getQtyOrdered()), false, retValue+1);
|
||||
retValue++;
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
|
|
|
|||
|
|
@ -113,7 +113,9 @@ public class MID_ProcessUnrealizedGainLoss extends SvrProcess{
|
|||
"AR Gain/Loss for Invoice No. "+invoice.getDocumentNo());
|
||||
}
|
||||
}
|
||||
|
||||
log.severe(String.valueOf(crJournal.getGL_Journal_ID()));
|
||||
log.severe(String.valueOf(drJournal.getGL_Journal_ID()));
|
||||
unRateLine.saveEx();
|
||||
unRateLine.setGL_JournalLineCr_ID(crJournal.getGL_JournalLine_ID());
|
||||
unRateLine.setGL_JournalLineDr_ID(drJournal.getGL_JournalLine_ID());
|
||||
unRateLine.saveEx();
|
||||
|
|
|
|||
Loading…
Reference in New Issue