Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT DocEntry, InstlmntID, ObjType, LogInstanc, DueDate, Status, DunnLevel, InsTotal, InsTotalFC, InsTotalSy, PaidToDate, PaidFC, PaidSys, VatSum, VatSumFC, VatSumSy, VatPaid, VatPaidFC, VatPaidSys, TotalExpns, TotalExpFC, TotalExpSC, ExpAppl, ExpApplFC, ExpApplSC, WTSum, WTSumFC, WTSumSC, WTApplied, WTAppliedF, WTAppliedS, TotalBlck, TotalBlckF, TotalBlckS, VATBlck, VATBlckFC, VATBlckSC, ExpnsBlck, ExpnsBlckF, ExpnsBlckS, WTBlocked, WTBlockedF, WTBlockedS, InstPrcnt, DunWizBlck, DunDate, Paid, PaidFrgn, PaidSc, reserved, TaxOnExp, TaxOnExpFc, TaxOnExpSc, TaxOnExpAp, TaxOnExApF, TaxOnExApS, TaxOnExBlo, TaxOnExBlF, TaxOnExBlS, LvlUpdDate, Ordered FROM RPC6