private void statInit(){
  fCash_ID=new VLookup("C_Cash_ID",false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,p_TabNo,MColumn.getColumn_ID(MCash.Table_Name,MCash.COLUMNNAME_C_Cash_ID),DisplayType.Search));
  lCash_ID.setLabelFor(fCash_ID);
  fCash_ID.setBackground(AdempierePLAF.getInfoBackground());
  fCash_ID.addActionListener(this);
  ;
  fCashBook_ID=new VLookup("C_CashBook_ID",false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,0,MColumn.getColumn_ID(MCash.Table_Name,MCash.COLUMNNAME_C_CashBook_ID),DisplayType.TableDir));
  lCashBook_ID.setLabelFor(fCashBook_ID);
  fCashBook_ID.setBackground(AdempierePLAF.getInfoBackground());
  fCashBook_ID.addActionListener(this);
  fInvoice_ID=new VLookup("C_Invoice_ID",false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,0,MColumn.getColumn_ID(MCashLine.Table_Name,MCashLine.COLUMNNAME_C_Invoice_ID),DisplayType.Search));
  lInvoice_ID.setLabelFor(fInvoice_ID);
  fInvoice_ID.setBackground(AdempierePLAF.getInfoBackground());
  fInvoice_ID.addActionListener(this);
  fPayment_ID=new VLookup("C_Payment_ID",false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,0,MColumn.getColumn_ID(MCashLine.Table_Name,MCashLine.COLUMNNAME_C_Payment_ID),DisplayType.Search));
  lPayment_ID.setLabelFor(fPayment_ID);
  fPayment_ID.setBackground(AdempierePLAF.getInfoBackground());
  fPayment_ID.addActionListener(this);
  fBankAccount_ID=new VLookup("C_BankAccount_ID",false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,0,MColumn.getColumn_ID(MCashLine.Table_Name,MCashLine.COLUMNNAME_C_BankAccount_ID),DisplayType.TableDir));
  lBankAccount_ID.setLabelFor(fBankAccount_ID);
  fBankAccount_ID.setBackground(AdempierePLAF.getInfoBackground());
  fBankAccount_ID.addActionListener(this);
  fCharge_ID=new VLookup(MCashLine.COLUMNNAME_C_Charge_ID,false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,0,MColumn.getColumn_ID(MCashLine.Table_Name,MCashLine.COLUMNNAME_C_Charge_ID),DisplayType.TableDir));
  fCharge_ID.setBackground(AdempierePLAF.getInfoBackground());
  fCharge_ID.addActionListener(this);
  lDateFrom.setLabelFor(fDateFrom);
  fDateFrom.setBackground(AdempierePLAF.getInfoBackground());
  fDateFrom.setToolTipText(Msg.translate(Env.getCtx(),"DateFrom"));
  fDateFrom.addActionListener(this);
  lDateTo.setLabelFor(fDateTo);
  fDateTo.setBackground(AdempierePLAF.getInfoBackground());
  fDateTo.setToolTipText(Msg.translate(Env.getCtx(),"DateTo"));
  fDateTo.addActionListener(this);
  lAmtFrom.setLabelFor(fAmtFrom);
  fAmtFrom.setBackground(AdempierePLAF.getInfoBackground());
  fAmtFrom.setToolTipText(Msg.translate(Env.getCtx(),"AmtFrom"));
  fAmtFrom.addActionListener(this);
  lAmtTo.setLabelFor(fAmtTo);
  fAmtTo.setBackground(AdempierePLAF.getInfoBackground());
  fAmtTo.setToolTipText(Msg.translate(Env.getCtx(),"AmtTo"));
  fAmtTo.addActionListener(this);
  cbAbsolute.setText(Msg.translate(Env.getCtx(),"AbsoluteAmt"));
  cbAbsolute.setName("AbsoluteAmt");
  cbAbsolute.setToolTipText(Msg.getMsg(Env.getCtx(),"AbsoluteAmt"));
  cbAbsolute.setSelected(false);
  cbAbsolute.addActionListener(this);
  CPanel amtPanel=new CPanel();
  CPanel datePanel=new CPanel();
  amtPanel.setLayout(new ALayout(0,0,true));
  amtPanel.add(fAmtFrom,new ALayoutConstraint(0,0));
  amtPanel.add(lAmtTo,null);
  amtPanel.add(fAmtTo,null);
  datePanel.setLayout(new ALayout(0,0,true));
  datePanel.add(fDateFrom,new ALayoutConstraint(0,0));
  datePanel.add(lDateTo,null);
  datePanel.add(fDateTo,null);
  p_criteriaGrid.setLayout(new ALayout());
  p_criteriaGrid.add(lCashBook_ID,new ALayoutConstraint(0,0));
  p_criteriaGrid.add(fCashBook_ID,null);
  p_criteriaGrid.add(lCash_ID,null);
  p_criteriaGrid.add(fCash_ID,null);
  p_criteriaGrid.add(lInvoice_ID,new ALayoutConstraint(1,0));
  p_criteriaGrid.add(fInvoice_ID,null);
  p_criteriaGrid.add(lPayment_ID,null);
  p_criteriaGrid.add(fPayment_ID,null);
  p_criteriaGrid.add(lBankAccount_ID,new ALayoutConstraint(2,0));
  p_criteriaGrid.add(fBankAccount_ID,null);
  p_criteriaGrid.add(lDateFrom,null);
  p_criteriaGrid.add(datePanel,null);
  p_criteriaGrid.add(lCharge_ID,new ALayoutConstraint(3,0));
  p_criteriaGrid.add(fCharge_ID,null);
  p_criteriaGrid.add(lAmtFrom,null);
  p_criteriaGrid.add(amtPanel,null);
  p_criteriaGrid.add(cbAbsolute,new ALayoutConstraint(3,5));
}

private void statInit ( ) { fCash_ID = new VLookup ( "C_Cash_ID" , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , p_TabNo , MColumn . getColumn_ID ( MCash . Table_Name , MCash . COLUMNNAME_C_Cash_ID ) , DisplayType . Search ) ) ; lCash_ID . setLabelFor ( fCash_ID ) ; fCash_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fCash_ID . addActionListener ( this ) ; ; fCashBook_ID = new VLookup ( "C_CashBook_ID" , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , 0 , MColumn . getColumn_ID ( MCash . Table_Name , MCash . COLUMNNAME_C_CashBook_ID ) , DisplayType . TableDir ) ) ; lCashBook_ID . setLabelFor ( fCashBook_ID ) ; fCashBook_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fCashBook_ID . addActionListener ( this ) ; fInvoice_ID = new VLookup ( "C_Invoice_ID" , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , 0 , MColumn . getColumn_ID ( MCashLine . Table_Name , MCashLine . COLUMNNAME_C_Invoice_ID ) , DisplayType . Search ) ) ; lInvoice_ID . setLabelFor ( fInvoice_ID ) ; fInvoice_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fInvoice_ID . addActionListener ( this ) ; fPayment_ID = new VLookup ( "C_Payment_ID" , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , 0 , MColumn . getColumn_ID ( MCashLine . Table_Name , MCashLine . COLUMNNAME_C_Payment_ID ) , DisplayType . Search ) ) ; lPayment_ID . setLabelFor ( fPayment_ID ) ; fPayment_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fPayment_ID . addActionListener ( this ) ; fBankAccount_ID = new VLookup ( "C_BankAccount_ID" , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , 0 , MColumn . getColumn_ID ( MCashLine . Table_Name , MCashLine . COLUMNNAME_C_BankAccount_ID ) , DisplayType . TableDir ) ) ; lBankAccount_ID . setLabelFor ( fBankAccount_ID ) ; fBankAccount_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fBankAccount_ID . addActionListener ( this ) ; fCharge_ID = new VLookup ( MCashLine . COLUMNNAME_C_Charge_ID , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , 0 , MColumn . getColumn_ID ( MCashLine . Table_Name , MCashLine . COLUMNNAME_C_Charge_ID ) , DisplayType . TableDir ) ) ; fCharge_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fCharge_ID . addActionListener ( this ) ; lDateFrom . setLabelFor ( fDateFrom ) ; fDateFrom . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fDateFrom . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "DateFrom" ) ) ; fDateFrom . addActionListener ( this ) ; lDateTo . setLabelFor ( fDateTo ) ; fDateTo . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fDateTo . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "DateTo" ) ) ; fDateTo . addActionListener ( this ) ; lAmtFrom . setLabelFor ( fAmtFrom ) ; fAmtFrom . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fAmtFrom . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "AmtFrom" ) ) ; fAmtFrom . addActionListener ( this ) ; lAmtTo . setLabelFor ( fAmtTo ) ; fAmtTo . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fAmtTo . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "AmtTo" ) ) ; fAmtTo . addActionListener ( this ) ; cbAbsolute . setText ( Msg . translate ( Env . getCtx ( ) , "AbsoluteAmt" ) ) ; cbAbsolute . setName ( "AbsoluteAmt" ) ; cbAbsolute . setToolTipText ( Msg . getMsg ( Env . getCtx ( ) , "AbsoluteAmt" ) ) ; cbAbsolute . setSelected ( false ) ; cbAbsolute . addActionListener ( this ) ; CPanel amtPanel = new CPanel ( ) ; CPanel datePanel = new CPanel ( ) ; amtPanel . setLayout ( new ALayout ( 0 , 0 , true ) ) ; amtPanel . add ( fAmtFrom , new ALayoutConstraint ( 0 , 0 ) ) ; amtPanel . add ( lAmtTo , null ) ; amtPanel . add ( fAmtTo , null ) ; datePanel . setLayout ( new ALayout ( 0 , 0 , true ) ) ; datePanel . add ( fDateFrom , new ALayoutConstraint ( 0 , 0 ) ) ; datePanel . add ( lDateTo , null ) ; datePanel . add ( fDateTo , null ) ; p_criteriaGrid . setLayout ( new ALayout ( ) ) ; p_criteriaGrid . add ( lCashBook_ID , new ALayoutConstraint ( 0 , 0 ) ) ; p_criteriaGrid . add ( fCashBook_ID , null ) ; p_criteriaGrid . add ( lCash_ID , null ) ; p_criteriaGrid . add ( fCash_ID , null ) ; p_criteriaGrid . add ( lInvoice_ID , new ALayoutConstraint ( 1 , 0 ) ) ; p_criteriaGrid . add ( fInvoice_ID , null ) ; p_criteriaGrid . add ( lPayment_ID , null ) ; p_criteriaGrid . add ( fPayment_ID , null ) ; p_criteriaGrid . add ( lBankAccount_ID , new ALayoutConstraint ( 2 , 0 ) ) ; p_criteriaGrid . add ( fBankAccount_ID , null ) ; p_criteriaGrid . add ( lDateFrom , null ) ; p_criteriaGrid . add ( datePanel , null ) ; p_criteriaGrid . add ( lCharge_ID , new ALayoutConstraint ( 3 , 0 ) ) ; p_criteriaGrid . add ( fCharge_ID , null ) ; p_criteriaGrid . add ( lAmtFrom , null ) ; p_criteriaGrid . add ( amtPanel , null ) ; p_criteriaGrid . add ( cbAbsolute , new ALayoutConstraint ( 3 , 5 ) ) ; }
static setup - add fields to parameterpanel
