From d4faa56b5fde369203dbd97a14fb5ee381fde723 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 20 Mar 2020 16:09:20 -0700 Subject: [PATCH] Set Transaction type and subtype for OFX transactions. --- src/libs/plugins/imexporters/ofx/parser/g_stmtrn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libs/plugins/imexporters/ofx/parser/g_stmtrn.c b/src/libs/plugins/imexporters/ofx/parser/g_stmtrn.c index 83896f7..947a513 100644 --- a/src/libs/plugins/imexporters/ofx/parser/g_stmtrn.c +++ b/src/libs/plugins/imexporters/ofx/parser/g_stmtrn.c @@ -187,6 +187,9 @@ int AIO_OfxGroup_STMTRN_AddData(AIO_OFX_GROUP *g, const char *data) AB_TRANSACTION *t; t=xg->transaction; + AB_Transaction_SetType(t, AB_Transaction_TypeStatement); + AB_Transaction_SetSubType(t, AB_Transaction_SubTypeStandard); + if (strcasecmp(s, "CREDIT")==0) { AB_Transaction_SetTransactionKey(t, "MSC"); AB_Transaction_SetTransactionText(t, I18N("Generic credit")); -- 2.2.2