20#ifndef ORES_QT_LOOKUP_FETCHER_HPP
21#define ORES_QT_LOOKUP_FETCHER_HPP
25#include <unordered_map>
45namespace party_categories {
46inline constexpr std::string_view operational =
"Operational";
47inline constexpr std::string_view system =
"System";
48inline constexpr std::string_view internal =
"Internal";
58 std::vector<std::string> type_codes;
59 std::vector<std::string> status_codes;
60 std::vector<std::string> business_centre_codes;
95std::unordered_map<std::string, std::string>
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:29
std::unordered_map< std::string, std::string > fetch_business_centre_image_map(ClientManager *cm)
Fetches business centre code to image ID mapping from the server.
Definition LookupFetcher.cpp:115
std::vector< business_unit_entry > fetch_business_unit_entries(ClientManager *cm)
Fetches all business unit name/id pairs from the server.
Definition LookupFetcher.cpp:148
std::vector< std::string > fetch_currency_codes(ClientManager *cm)
Fetches currency ISO codes from the server.
Definition LookupFetcher.cpp:99
lookup_result fetch_party_lookups(ClientManager *cm)
Fetches party type and status codes from the server.
Definition LookupFetcher.cpp:34
constexpr int lookup_fetch_limit
Maximum number of items fetched by each synchronous lookup call.
Definition LookupFetcher.hpp:40
std::vector< portfolio_entry > fetch_portfolio_entries(ClientManager *cm)
Fetches all portfolio name/id pairs from the server.
Definition LookupFetcher.cpp:133
lookup_result fetch_tenant_lookups(ClientManager *cm)
Fetches tenant type and status codes from the server.
Definition LookupFetcher.cpp:72
Manages the lifecycle of the NATS client and login state.
Definition ClientManager.hpp:109
Result of fetching type and status lookup codes from the server.
Definition LookupFetcher.hpp:57
A name/id pair for a portfolio, used to populate parent combos.
Definition LookupFetcher.hpp:101
A name/id pair for a business unit, used to populate owner-unit combos.
Definition LookupFetcher.hpp:117