private void initBPInvoiceDetails(int C_BPartner_ID){
  log.config("C_BPartner_ID" + C_BPartner_ID);
  invoiceField.removeActionListener(this);
  invoiceField.removeAllItems();
  KeyNamePair pp=new KeyNamePair(0,"");
  invoiceField.addItem(pp);
  ArrayList<KeyNamePair> list=loadInvoiceData(C_BPartner_ID);
  for (  KeyNamePair knp : list)   invoiceField.addItem(knp);
  invoiceField.setSelectedIndex(0);
  invoiceField.addActionListener(this);
  upcField.addActionListener(this);
}

private void initBPInvoiceDetails ( int C_BPartner_ID ) { log . config ( "C_BPartner_ID" + C_BPartner_ID ) ; invoiceField . removeActionListener ( this ) ; invoiceField . removeAllItems ( ) ; KeyNamePair pp = new KeyNamePair ( 0 , "" ) ; invoiceField . addItem ( pp ) ; ArrayList < KeyNamePair > list = loadInvoiceData ( C_BPartner_ID ) ; for ( KeyNamePair knp : list ) invoiceField . addItem ( knp ) ; invoiceField . setSelectedIndex ( 0 ) ; invoiceField . addActionListener ( this ) ; upcField . addActionListener ( this ) ; }
init details - load invoices not shipped
