public int fieldChanged(boolean bDisplayOption, int iMoveMode) { int iErrorCode = super.fieldChanged(bDisplayOption, iMoveMode); if (iErrorCode == DBConstants.NORMAL_RETURN) { BaseApplication application = (BaseApplication)getTask().getApplication(); String strPrepaymentFor = application.getResources(ResourceConstants.ACCTPAY_RESOURCE, true).getString("Prepayment for"); String strValue = strPrepaymentFor + ' ' + m_fldDest.toString(); m_fldDest.setString(strValue, bDisplayOption, iMoveMode); } return iErrorCode; } });
public int fieldChanged(boolean bDisplayOption, int iMoveMode) { int iErrorCode = super.fieldChanged(bDisplayOption, iMoveMode); if (iErrorCode == DBConstants.NORMAL_RETURN) { BaseApplication application = (BaseApplication)getTask().getApplication(); String strPrepaymentFor = application.getResources(ResourceConstants.ACCTPAY_RESOURCE, true).getString("Prepayment for"); String strValue = strPrepaymentFor + ' ' + m_fldDest.toString(); m_fldDest.setString(strValue, bDisplayOption, iMoveMode); } return iErrorCode; } });