private void loadPaymentRuleInfo(){
  ValueNamePair pp=(ValueNamePair)fPaymentRule.getSelectedItem();
  if (pp == null)   return;
  String PaymentRule=pp.getValue();
  log.info("PaymentRule=" + PaymentRule);
  fNoPayments.setText(" ");
  String msg=loadPaymentRuleInfo(m_C_PaySelection_ID,PaymentRule);
  if (noPayments != null)   fNoPayments.setText(noPayments);
  bProcess.setEnabled(PaymentRule.equals("T"));
  if (documentNo != null)   fDocumentNo.setValue(documentNo);
  if (msg != null && msg.length() > 0)   ADialog.error(m_WindowNo,panel,msg);
}

private void loadPaymentRuleInfo ( ) { ValueNamePair pp = ( ValueNamePair ) fPaymentRule . getSelectedItem ( ) ; if ( pp == null ) return ; String PaymentRule = pp . getValue ( ) ; log . info ( "PaymentRule=" + PaymentRule ) ; fNoPayments . setText ( " " ) ; String msg = loadPaymentRuleInfo ( m_C_PaySelection_ID , PaymentRule ) ; if ( noPayments != null ) fNoPayments . setText ( noPayments ) ; bProcess . setEnabled ( PaymentRule . equals ( "T" ) ) ; if ( documentNo != null ) fDocumentNo . setValue ( documentNo ) ; if ( msg != null && msg . length ( ) > 0 ) ADialog . error ( m_WindowNo , panel , msg ) ; }
paymentrule changed - load documentno , nopayments , enable / disable eft , print
