private void detach_SaleBatchinvoicedetails(SaleBatchinvoicedetail entity)
 {
     this.SendPropertyChanging("SaleBatchinvoicedetails");
     entity.SaleBatchinvoiceheader = null;
 }
 private void detach_SaleBatchinvoicedetails(SaleBatchinvoicedetail entity)
 {
     this.SendPropertyChanging("SaleBatchinvoicedetails");
     entity.ItemInstance = null;
 }