Hi,
I'm modifying aging.scm to allow optional selection of company address info to display at the end of each customers aged balances so this report can be copied and pasted into a spreadsheet for use in mail merge. I've got all the billing address info working but I'm having trouble getting the shipping address fields. This is what I have so far: (owner (company-get-owner-obj (cdr company-list-entry))) (company-name (gncOwnerGetName owner)) (addr (gncOwnerGetAddr owner)) ;; ptr to billing addr (addr-name (gncAddressGetName addr)) (addr-addr1 (gncAddressGetAddr1 addr)) (addr-addr2 (gncAddressGetAddr2 addr)) (addr-addr3 (gncAddressGetAddr3 addr)) Can some-one pls advise how I can get a ptr to a shipping address? I've had a look at the entity relationship diagram, gncOwner.c + gncCustomer.c but I cannot figure out which functions I need to use. I know (gncOwnerGetID owner) returns a company id. Regards, Chris Good
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel