https://bugs.kde.org/show_bug.cgi?id=515589

--- Comment #4 from Ralf Habacker <[email protected]> ---
(In reply to Ralf Habacker from comment #3)

> Usage: ../kmymoney-master-build/bin/kmmreport-export [options] url
See this example, which is based on
https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/plugins/views/reports/core/tests/data/test-423870.xml?ref_type=heads

$ cd <kmymoney-source-dir>
$ kmmreport-export  --report "Transactions by account (Base unconverted)" --xml
--querytable ./kmymoney/plugins/views/reports/core/tests/data/test-423870.xml 

You will get the following content 

<?xml version="1.0" encoding="utf-8"?>
 <ListTable name="Transactions by account (Base unconverted)">
  <TableRow ctAccount="Account (GBP)" ctAccountID="A000008" ctBalance="0/1"
ctCurrency="GBP" ctID="A" ctInstitution="Bank B (GBP)" ctPostDate="2020-01-01"
ctPrice="1/1" ctRank="0" ctSourceLines=" ctPrice:1187 ctValue:1196"
ctTopAccount="Account (GBP)" ctValue="" />
  <TableRow csID="S0002" ctAccount="Account (GBP)" ctAccountID="A000008"
ctCategory="Umbuchung von Opening Balances (GBP)" ctCategoryType="Umbuchung"
ctCommodity="GBP" ctCurrency="GBP" ctEntryDate="2020-08-15"
ctID="T000000000000000002" ctInstitution="Bank B (GBP)" ctMemo=""
ctMonth="Monat von 2020-04-01" ctNumber="" ctPayee="[Leerer Zahlungsempfänger]"
ctPostDate="2020-04-05" ctPrice="1/1" ctRank="1" ctReconcileDate=""
ctReconcileFlag="Nicht abgeglichen" ctSourceLines=" ctPrice:805 ctValue:828"
ctSplit="" ctTag="[Kein Stichwort]" ctTopAccount="Account (GBP)"
ctTopCategory="Opening Balances (GBP)" ctValue="100/1" ctWeek="Woche von
2020-03-30" />
  <TableRow csID="S0002" ctAccount="Account (GBP)" ctAccountID="A000008"
ctCategory="Clothes" ctCategoryType="Ausgabe" ctCommodity="GBP"
ctCurrency="GBP" ctEntryDate="2020-08-15" ctID="T000000000000000004"
ctInstitution="Bank B (GBP)" ctMemo="" ctMonth="Monat von 2020-06-01"
ctNumber="" ctPayee="Amazon" ctPostDate="2020-06-27" ctPrice="1/1" ctRank="1"
ctReconcileDate="" ctReconcileFlag="Nicht abgeglichen" ctSourceLines="
ctPrice:805 ctValue:828" ctSplit="" ctTag="[Kein Stichwort]"
ctTopAccount="Account (GBP)" ctTopCategory="Clothes" ctValue="-50/1"
ctWeek="Woche von 2020-06-22" />
  <TableRow ctAccount="Account (GBP)" ctAccountID="A000008" ctBalance="50/1"
ctCurrency="GBP" ctID="Z" ctInstitution="Bank B (GBP)" ctPostDate="2020-12-31"
ctPrice="1/1" ctRank="3" ctSourceLines=" ctPrice:1187 ctValue:1196
ctPrice:1202" ctTopAccount="Account (GBP)" ctValue="" />
  <TableRow ctAccount="Account (GBP)" ctCurrency="GBP" ctDepth="0" ctRank="4"
ctSourceLines=" ctValue:372" ctValue="50/1" />
  <TableRow ctAccount="Account (USD)" ctAccountID="A000001" ctBalance="0/1"
ctCurrency="USD" ctID="A" ctInstitution="Bank A (USD)" ctPostDate="2020-01-01"
ctPrice="1/1" ctRank="0" ctSourceLines=" ctPrice:1187 ctValue:1196"
ctTopAccount="Account (USD)" ctValue="" />
  <TableRow csID="S0002" ctAccount="Account (USD)" ctAccountID="A000001"
ctCategory="Umbuchung von Opening Balances" ctCategoryType="Umbuchung"
ctCommodity="USD" ctCurrency="USD" ctEntryDate="2020-08-15"
ctID="T000000000000000001" ctInstitution="Bank A (USD)" ctMemo=""
ctMonth="Monat von 2020-01-01" ctNumber="" ctPayee="[Leerer Zahlungsempfänger]"
ctPostDate="2020-01-01" ctPrice="1/1" ctRank="1" ctReconcileDate=""
ctReconcileFlag="Nicht abgeglichen" ctSourceLines=" ctPrice:805 ctValue:828"
ctSplit="" ctTag="[Kein Stichwort]" ctTopAccount="Account (USD)"
ctTopCategory="Opening Balances" ctValue="100/1" ctWeek="Woche von 2019-12-30"
/>
  <TableRow csID="S0002" ctAccount="Account (USD)" ctAccountID="A000001"
ctCategory="Books" ctCategoryType="Ausgabe" ctCommodity="USD" ctCurrency="USD"
ctEntryDate="2020-08-15" ctID="T000000000000000003" ctInstitution="Bank A
(USD)" ctMemo="" ctMonth="Monat von 2020-06-01" ctNumber="" ctPayee="Amazon"
ctPostDate="2020-06-27" ctPrice="1/1" ctRank="1" ctReconcileDate=""
ctReconcileFlag="Nicht abgeglichen" ctSourceLines=" ctPrice:805 ctValue:828"
ctSplit="" ctTag="[Kein Stichwort]" ctTopAccount="Account (USD)"
ctTopCategory="Books" ctValue="-50/1" ctWeek="Woche von 2020-06-22" />
  <TableRow ctAccount="Account (USD)" ctAccountID="A000001" ctBalance="50/1"
ctCurrency="USD" ctID="Z" ctInstitution="Bank A (USD)" ctPostDate="2020-12-31"
ctPrice="1/1" ctRank="3" ctSourceLines=" ctPrice:1187 ctValue:1196
ctPrice:1202" ctTopAccount="Account (USD)" ctValue="" />
  <TableRow ctAccount="Account (USD)" ctCurrency="USD" ctDepth="0" ctRank="4"
ctSourceLines=" ctValue:372" ctValue="50/1" />
  <TableRow ctAccount="" ctCurrency="GBP" ctDepth="" ctRank="4"
ctRowsCount="2/1" ctSourceLines=" ctValue:457" ctValue="50/1" />
  <TableRow ctAccount="" ctCurrency="USD" ctDepth="" ctRank="5"
ctRowsCount="2/1" ctSourceLines=" ctValue:457" ctValue="50/1" />
 </ListTable>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to