@@ -82,6 +82,7 @@ public List<String> generateExport() throws ExporterException {
8282 TransactionEntry .TABLE_NAME + "_" + TransactionEntry .COLUMN_UID + " AS trans_uid" ,
8383 TransactionEntry .TABLE_NAME + "_" + TransactionEntry .COLUMN_TIMESTAMP + " AS trans_time" ,
8484 TransactionEntry .TABLE_NAME + "_" + TransactionEntry .COLUMN_DESCRIPTION + " AS trans_desc" ,
85+ TransactionEntry .TABLE_NAME + "_" + TransactionEntry .COLUMN_NOTES + " AS trans_notes" ,
8586 SplitEntry .TABLE_NAME + "_" + SplitEntry .COLUMN_QUANTITY_NUM + " AS split_quantity_num" ,
8687 SplitEntry .TABLE_NAME + "_" + SplitEntry .COLUMN_QUANTITY_DENOM + " AS split_quantity_denom" ,
8788 SplitEntry .TABLE_NAME + "_" + SplitEntry .COLUMN_TYPE + " AS split_type" ,
@@ -151,9 +152,14 @@ public List<String> generateExport() throws ExporterException {
151152 writer .append (QifHelper .DATE_PREFIX )
152153 .append (QifHelper .formatDate (cursor .getLong (cursor .getColumnIndexOrThrow ("trans_time" ))))
153154 .append (newLine );
154- writer .append (QifHelper .MEMO_PREFIX )
155+ // Payee / description
156+ writer .append (QifHelper .PAYEE_PREFIX )
155157 .append (cursor .getString (cursor .getColumnIndexOrThrow ("trans_desc" )))
156158 .append (newLine );
159+ // Notes, memo
160+ writer .append (QifHelper .MEMO_PREFIX )
161+ .append (cursor .getString (cursor .getColumnIndexOrThrow ("trans_notes" )))
162+ .append (newLine );
157163 // deal with imbalance first
158164 double imbalance = cursor .getDouble (cursor .getColumnIndexOrThrow ("trans_acct_balance" ));
159165 BigDecimal decimalImbalance = BigDecimal .valueOf (imbalance ).setScale (2 , BigDecimal .ROUND_HALF_UP );
0 commit comments