public void SetFullPiutang(MD_Full_Piutang mfp) {
   mdp.addTolist(mfp);
   Vector vct = new Vector();
   vct.add(dtm.getRowCount() + 1);
   vct.add(mfp.getNama_barang());
   vct.add(mfp.getHarga_barang());
   vct.add(mfp.getBnyk_barang());
   dtm.addRow(vct);
 }
 public boolean insert() {
   boolean INsertAdb = true;
   INsertAdb =
       INsertAdb
           && db.setDB(
               "insert into piutang set No_PO='"
                   + mdp.getNo_po()
                   + "', 	"
                   + "no_nota_piutang='"
                   + mdp.getNo_Nota_Piutang()
                   + "',"
                   + " tanggal_nota='"
                   + lad.convertUtilDateToSqlDate(mdp.getTanggal_nota())
                   + "', "
                   + "tanggal_jatuhTempo='"
                   + lad.convertUtilDateToSqlDate(mdp.getTanggal_jatuh_tempo())
                   + "',"
                   + "no_surat_jalan='"
                   + mdp.getNo_surat_jalan()
                   + "', "
                   + "setatusPembayaran=0, "
                   + "ppn="
                   + mdp.isPpn()
                   + ", "
                   + "NO_pembayaran='belum'");
   for (MD_Full_Piutang tmp : mdp.getListFull()) {
     INsertAdb =
         INsertAdb
             && db.setDB(
                 "inset into full_piutang set No_PO='"
                     + mdp.getNo_po()
                     + "', "
                     + "no_nota_piutang='"
                     + tmp.getNo_nota_piutang()
                     + "', "
                     + "nama_barang='"
                     + tmp.getNama_barang()
                     + "', "
                     + "harga_barang='"
                     + tmp.getHarga_barang()
                     + "',"
                     + "banyak_barang='"
                     + tmp.getBnyk_barang()
                     + "'");
   }
   return INsertAdb;
 }