20#ifndef ORES_QT_LOOKUP_FETCHER_HPP
21#define ORES_QT_LOOKUP_FETCHER_HPP
25#include <unordered_map>
27#include "ores.qt/export.hpp"
46namespace party_categories {
47inline constexpr std::string_view operational =
"Operational";
48inline constexpr std::string_view system =
"System";
49inline constexpr std::string_view internal =
"Internal";
59 std::vector<std::string> type_codes;
60 std::vector<std::string> status_codes;
61 std::vector<std::string> business_centre_codes;
96ORES_QT_API std::unordered_map<std::string, std::string>
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
ORES_QT_API 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
ORES_QT_API 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
ORES_QT_API std::vector< std::string > fetch_currency_codes(ClientManager *cm)
Fetches currency ISO codes from the server.
Definition LookupFetcher.cpp:99
ORES_QT_API 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:41
ORES_QT_API std::vector< portfolio_entry > fetch_portfolio_entries(ClientManager *cm)
Fetches all portfolio name/id pairs from the server.
Definition LookupFetcher.cpp:133
ORES_QT_API 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:123
Result of fetching type and status lookup codes from the server.
Definition LookupFetcher.hpp:58
A name/id pair for a portfolio, used to populate parent combos.
Definition LookupFetcher.hpp:102
A name/id pair for a business unit, used to populate owner-unit combos.
Definition LookupFetcher.hpp:118