Re: [GNC] Export file lacks document links

2024-10-21 Thread Brook Milligan via gnucash-user
OK, I found what appears to be the way to access document links in the code (see libgnucash/engine/Transaction.cpp). It seems that the attached patch (untested) will add the transaction link to exported files. However, I’m much less certain how to make the import code handle the extra field.

Re: [GNC] Export file lacks document links

2024-10-21 Thread Mark at Lorimark
Hi Brook, I've used doc-links 'a bit' so I have only a few examples. (see attached) I can tell you where the links are 'stored' but not how they get there. You would want to explore the code in the slots/mechanism (sorry I can't give better source references). But, as you can see in the att

[GNC] Export file lacks document links

2024-10-21 Thread Brook Milligan via gnucash-user
As I was exploring export file issues recently, I realized that the export file lacks the document links. Consequently, an export + import will not round-trip the data and regenerate the original book. It seems it would be desireable for that to be possible. I was looking through the source c