codinguser/gnucash-android — pull request #255 by fefe982 (2014-10-21 14:10:07+00:00)
Title: Export using GnuCash log format (don't merge)

OFX and GIF both have their limitation, GncXML cannot be used for transfer transactions (it cannot be imported). Looking at the GnuCash import menu, it seem that only replay GnuCash Log can report everything GnuCash needs: multi-currency, double entry, description, notes, memo, etc. So I created this exporter for generating (fake) gnucash logs.

However it also has its limitations, making it not a good way for normal user to use.
1. The replay log function in GnuCash is not intended for export/impot, it will assume that the log is generated by GnuCash, so only limited error check is applied. This may easily cause the GnuCash book result in error state.
2. Accounts are identified by GUID in the log, so only accounts already exist in GnuCash book can be corretly used.
3. The log is basicly recorded in a split by split style, with two possibkle edit action: Edit(insert) and delete. With the current GnuCash Android internal DB, deletion of split cannot be recorded. So if a transaction is edited in GCA, with one split deleted, others modified, the deletion cannot be replayed in GnuCash. (In OFX or GIF export, a new transaction will be created in GnuCash in this situation, possibly)
4. No auto-balancing after replay. In the situation in 3, if the exported transation is balanced, the transaction in GnuCash will not be balanced with one extra split. Imbalanced transactions in the log will not be corrected either. The GnuCash book will result in a strange state.

But for people who understands all the odds of log and replay log function, it can be a good way of export / import.