public String charge(Properties ctx,int WindowNo,GridTab mTab,GridField mField,Object value){
  Integer C_Charge_ID=(Integer)value;
  if (isCalloutActive() || C_Charge_ID == null || C_Charge_ID.intValue() == 0)   return "";
  mTab.setValue("C_Invoice_ID",null);
  mTab.setValue("C_Order_ID",null);
  mTab.setValue("IsPrepayment",Boolean.FALSE);
  mTab.setValue("DiscountAmt",Env.ZERO);
  mTab.setValue("WriteOffAmt",Env.ZERO);
  mTab.setValue("IsOverUnderPayment",Boolean.FALSE);
  mTab.setValue("OverUnderAmt",Env.ZERO);
  return "";
}

public String charge ( Properties ctx , int WindowNo , GridTab mTab , GridField mField , Object value ) { Integer C_Charge_ID = ( Integer ) value ; if ( isCalloutActive ( ) || C_Charge_ID == null || C_Charge_ID . intValue ( ) == 0 ) return "" ; mTab . setValue ( "C_Invoice_ID" , null ) ; mTab . setValue ( "C_Order_ID" , null ) ; mTab . setValue ( "IsPrepayment" , Boolean . FALSE ) ; mTab . setValue ( "DiscountAmt" , Env . ZERO ) ; mTab . setValue ( "WriteOffAmt" , Env . ZERO ) ; mTab . setValue ( "IsOverUnderPayment" , Boolean . FALSE ) ; mTab . setValue ( "OverUnderAmt" , Env . ZERO ) ; return "" ; }
payment_charge . - reset - c_bpartner_id , invoice , order , project , discount , writeoff
