question: public boolean convert ( ) { if ( getC_Currency_ID ( ) == Doc . NO_CURRENCY ) setC_Currency_ID ( m_acctSchema . getC_Currency_ID ( ) ) ; if ( m_acctSchema . getC_Currency_ID ( ) == getC_Currency_ID ( ) ) { setAmtAcctDr ( getAmtSourceDr ( ) ) ; setAmtAcctCr ( getAmtSourceCr ( ) ) ; return true ; } int C_ConversionType_ID = 0 ; int AD_Org_ID = 0 ; if ( m_docLine != null ) { C_ConversionType_ID = m_docLine . getC_ConversionType_ID ( ) ; AD_Org_ID = m_docLine . getAD_Org_ID ( ) ; } if ( C_ConversionType_ID == 0 ) { if ( m_doc == null ) { log . severe ( "No Document VO" ) ; return false ; } C_ConversionType_ID = m_doc . getC_ConversionType_ID ( ) ; if ( AD_Org_ID == 0 ) AD_Org_ID = m_doc . getAD_Org_ID ( ) ; } setAmtAcctDr ( MConversionRate . convert ( getCtx ( ) , getAmtSourceDr ( ) , getC_Currency_ID ( ) , m_acctSchema . getC_Currency_ID ( ) , getDateAcct ( ) , C_ConversionType_ID , m_doc . getAD_Client_ID ( ) , AD_Org_ID ) ) ; if ( getAmtAcctDr ( ) == null ) return false ; setAmtAcctCr ( MConversionRate . convert ( getCtx ( ) , getAmtSourceCr ( ) , getC_Currency_ID ( ) , m_acctSchema . getC_Currency_ID ( ) , getDateAcct ( ) , C_ConversionType_ID , m_doc . getAD_Client_ID ( ) , AD_Org_ID ) ) ; return true ; }
target:  Convert to Accounted Currency