Re: [GNC] Deleting customer

2022-07-11 Thread Derek Atkins
Hi,

On Mon, July 11, 2022 12:57 pm, Mattia Rizzolo wrote:
> On Sat, Jun 25, 2022 at 09:29:49AM -0400, Derek Atkins wrote:
>> You can't.
>> Just change it and reuse it for another customer.
>
> Incidentally, in the past I found myself manually editing the .xml and
> carefully deleted the gnc:GncCustomer object (and looked up the whole
> file for the relevant cust:guid code to check if there were references).
>
> Nothing bad came from it after several months, so I suspect I did it
> properly and didn't break anything in it…
>
>
> But this left me wondering: is this (and the same for vendors and
> invoices/bills) just a lacking feature that nobody implemented, or a
> design decision?
> It doesn't strike me as something incredibly hard to implement (just
> check if there is any reference (which IIRC can only be in
> bills/invoices objects) before deleting), but perhaps I'm missing
> something big in this topic.

It was a design decision.  There are lots of places where there could be
hidden references, and some of the references could be in the *other*
direction, too.

There are possibly other references than just invoices.  There can be
indirect references.  And there can be references into the CoA as well,
through the Lots function -- a prepayment will reference a customer, even
if you don't have any invoices.

Finding whether or not a customer is referenced was just deemed to be too
much work for something that just doesn't happen much.  So it was decided
that it was sufficient to either re-use the Customer object for a new
customer, or mark it Inactive so it didn't show up in searches.

Thanks,

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Deleting customer

2022-07-11 Thread Mattia Rizzolo
On Sat, Jun 25, 2022 at 09:29:49AM -0400, Derek Atkins wrote:
> You can't.
> Just change it and reuse it for another customer.

Incidentally, in the past I found myself manually editing the .xml and
carefully deleted the gnc:GncCustomer object (and looked up the whole
file for the relevant cust:guid code to check if there were references).

Nothing bad came from it after several months, so I suspect I did it
properly and didn't break anything in it…


But this left me wondering: is this (and the same for vendors and
invoices/bills) just a lacking feature that nobody implemented, or a
design decision?
It doesn't strike me as something incredibly hard to implement (just
check if there is any reference (which IIRC can only be in
bills/invoices objects) before deleting), but perhaps I'm missing
something big in this topic.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
More about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Deleting customer

2022-06-25 Thread Michael or Penny Novack

On 6/25/2022 11:16 AM, Rich Shepard wrote:

On Sat, 25 Jun 2022, Derek Atkins wrote:


You can't.
Just change it and reuse it for another customer.


derek, 



Hint -- if you are only infrequently adding customers, so won;t be 
reused right away, you can (temporarily) make the name something you 
would not confuse with a real customer name. For example, Nemo (Latin 
for "nobody")


Michael

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Deleting customer

2022-06-25 Thread Rich Shepard

On Sat, 25 Jun 2022, Derek Atkins wrote:


You can't.
Just change it and reuse it for another customer.


derek,

Okay. Thanks.

Rich
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Deleting customer

2022-06-25 Thread Derek Atkins

You can't.
Just change it and reuse it for another customer.

-derek
Sent using my mobile device. Please excuse any typos.
On June 25, 2022 9:02:42 AM Rich Shepard  wrote:


I'm using gnucash-3.11-x86_64-1_SBo on Slackware64-14.2 and unintentionally
entered an existing customer twice. I don't find how to delete that record
in the gnucash-guide. How do I delete the new record?

Rich
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.

-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Deleting customer

2022-06-25 Thread Rich Shepard

I'm using gnucash-3.11-x86_64-1_SBo on Slackware64-14.2 and unintentionally
entered an existing customer twice. I don't find how to delete that record
in the gnucash-guide. How do I delete the new record?

Rich
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.