IDEMPIERE-296 Bug in MInOut for reverse complete - thanks to Emiliano Pereyra

This commit is contained in:
Carlos Ruiz 2012-06-23 23:54:10 -05:00
parent 4f9756bbc7
commit 124c49217b
1 changed files with 2 additions and 2 deletions

View File

@ -2112,6 +2112,8 @@ public class MInOut extends X_M_InOut implements DocAction
// Void Confirmations // Void Confirmations
setDocStatus(DOCSTATUS_Reversed); // need to set & save docstatus to be able to check it in MInOutConfirm.voidIt() setDocStatus(DOCSTATUS_Reversed); // need to set & save docstatus to be able to check it in MInOutConfirm.voidIt()
saveEx(); saveEx();
//FR1948157
this.setReversal_ID(reversal.getM_InOut_ID());
voidConfirmations(); voidConfirmations();
// After reverseCorrect // After reverseCorrect
@ -2120,8 +2122,6 @@ public class MInOut extends X_M_InOut implements DocAction
return false; return false;
m_processMsg = reversal.getDocumentNo(); m_processMsg = reversal.getDocumentNo();
//FR1948157
this.setReversal_ID(reversal.getM_InOut_ID());
setProcessed(true); setProcessed(true);
setDocStatus(DOCSTATUS_Reversed); // may come from void setDocStatus(DOCSTATUS_Reversed); // may come from void
setDocAction(DOCACTION_None); setDocAction(DOCACTION_None);