question: protected void initBPOrderDetails ( int C_BPartner_ID , boolean forInvoice ) { log . config ( "C_BPartner_ID=" + C_BPartner_ID ) ; KeyNamePair pp = new KeyNamePair ( 0 , "" ) ; orderField . removeActionListener ( this ) ; orderField . removeAllItems ( ) ; orderField . addItem ( pp ) ; ArrayList < KeyNamePair > list = loadOrderData ( C_BPartner_ID , forInvoice , false ) ; for ( KeyNamePair knp : list ) orderField . addItem ( knp ) ; orderField . setSelectedIndex ( 0 ) ; orderField . addActionListener ( this ) ; dialog . pack ( ) ; initBPDetails ( C_BPartner_ID ) ; }
target:  Load PBartner dependent Order/Invoice/Shipment Field.