{"id":9795,"date":"2025-10-10T13:28:32","date_gmt":"2025-10-10T11:28:32","guid":{"rendered":"https:\/\/pomoc.comarch.pl\/cee\/?post_type=ht_kb&#038;p=9795"},"modified":"2025-10-10T13:30:43","modified_gmt":"2025-10-10T11:30:43","slug":"tabela-wirtualna-klienci","status":"publish","type":"ht_kb","link":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/documentation\/tabela-wirtualna-klienci\/","title":{"rendered":"Tabela wirtualna: Klienci"},"content":{"rendered":"<h3 id=\"wprowadzenie\" id=\"wprowadzenie\" >Wprowadzenie<\/h3>\n<p>Wszystkie\u00a0<em><a href=\"https:\/\/pomoc.comarch.pl\/cee\/index.php\/documentation\/definicje-rozwoj-oprogramowania\/\">tabele wirtualne<\/a><\/em>\u00a0s\u0105 sklasyfikowane w podkatalogu\u00a0<em>VIRTUAL<\/em>. Niniejszy artyku\u0142 opisuje tabel\u0119 wirtualn\u0105\u00a0<em>Klienci<\/em>.<\/p>\n<h3 id=\"grupa-docelowa\" id=\"grupa-docelowa\" >Grupa docelowa<\/h3>\n<ul>\n<li>Deweloperzy<\/li>\n<\/ul>\n<h3 id=\"tabela-wirtualna-klienci\" >Tabela wirtualna <em>Klienci<\/em><\/h3>\n<p>Korzystaj\u0105c z wirtualnej tabeli <em>Customers<\/em>, mo\u017cna uzyska\u0107 dost\u0119p do danych konkretnego klienta.\u00a0 Dodatkowo uwzgl\u0119dniane jest przyporz\u0105dkowanie do organizacji \u2014 dane s\u0105 filtrowane lub prezentowane zgodnie ze struktur\u0105 organizacyjn\u0105.<\/p>\n<p>Implementuj\u0105ca klasa Java:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">com.cisag.app.general.partner.log.CustomerVirtualTable<\/pre>\n<h3 id=\"nazwa-tabeli\" >Nazwa tabeli<\/h3>\n<p>W raporcie tabela mo\u017ce by\u0107 adresowana przy u\u017cyciu nazwy app_sales_CustomerVirtualTable.<\/p>\n<h3 id=\"kolumny-tabeli\" >Kolumny tabeli<\/h3>\n<p>Tabela wirtualna zawiera nast\u0119puj\u0105ce kolumny:<\/p>\n<section class=\"document-alert-box warning\"><div class=\"document-alert-title\">Uwaga<\/div><div class=\"document-alert-content\">Typ danych kolumny to <em>String<\/em>, chyba \u017ce okre\u015blono inaczej.<\/div><\/section>\n<table style=\"width: 100%; height: 1569px;\">\n<thead>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\"><strong>Nazwa kolumny<\/strong><\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\"><strong>Opis<\/strong><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_number<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Partner<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_organization<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Zawarto\u015b\u0107 pola <em>Organizacja<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_status<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Status <\/em>w widoku <em>Klient<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_validityDate<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Obecnie opcja nie jest wykorzystywana.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_name<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Nazwa<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_searchString<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Has\u0142o wyszukiwania<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_postalCode<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Kod pocztowy<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_city<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Miejscowo\u015b\u0107<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_country<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Kraj<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_region<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>Region<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_maintainingOrganization<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 z pola <em>W\u0142a\u015bciwa organizacja<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_abcCode<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Warto\u015b\u0107 parametru <em>Klasyfikacja ABC<\/em> w widoku <em>Klienci<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_classification1 \u2013 9<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Zawarto\u015b\u0107 p\u00f3l <em>Klasyfikacja 1\u20139<\/em><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_customerNumber<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Zewn\u0119trzny numer klienta<\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"height: 46px; border-style: outset; width: 35.8333%;\" width=\"194\">in_showOutputSettings<\/td>\n<td style=\"height: 46px; border-style: outset; width: 63.2143%;\" width=\"358\">Zawarto\u015b\u0107 pola <em>Wydruk szablon\u00f3w dokument\u00f3w<\/em>, typ danych Boolean.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_showTexts<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Zawarto\u015b\u0107 pola wyboru <em>Wydanie tekst\u00f3w<\/em>, typ danych Boolean.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_allLanguages<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Zawarto\u015b\u0107 pola wyboru\u00a0<em>Wydaj teksty we wszystkich j\u0119zykach<\/em>\u00a0typ danych Boolean.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">in_language<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Kod ISO j\u0119zyka raportu.<\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"height: 46px; border-style: outset; width: 35.8333%;\" width=\"194\">in_showContacts<\/td>\n<td style=\"height: 46px; border-style: outset; width: 63.2143%;\" width=\"358\">Zawarto\u015b\u0107 pola wyboru <em>Raport Osoba kontaktowa<\/em>, typ danych Boolean.<\/td>\n<\/tr>\n<tr style=\"height: 140px;\">\n<td style=\"height: 140px; border-style: outset; width: 35.8333%;\" width=\"194\">in_orderBy<\/td>\n<td style=\"height: 140px; border-style: outset; width: 63.2143%;\" width=\"358\">Ta kolumna pozwala na sortowanie danych wyj\u015bciowych. W raporcie sortowanie jest okre\u015blane w sekcji <em>Wyb\u00f3r rekord\u00f3w<\/em>. Domy\u015blnie pole zawiera: {app_sales_CustomerVirtualTable.in_orderBy} = \u201cnumber asc\u201d; Oznacza to, \u017ce klienci s\u0105 wy\u015bwietlani w kolejno\u015bci rosn\u0105cej wed\u0142ug numeru partnera.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 99.0476%;\" colspan=\"2\" width=\"551\"><strong>Parametry wyj\u015bciowe<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 417px;\">\n<td style=\"height: 417px; border-style: outset; width: 35.8333%;\" width=\"194\">type<\/td>\n<td style=\"height: 417px; border-style: outset; width: 63.2143%;\" width=\"358\">Dla ka\u017cdego klienta mo\u017ce zosta\u0107 wygenerowanych kilka rekord\u00f3w. <code>type<\/code> okre\u015bla rodzaj rekordu:<\/p>\n<ul>\n<li>type = 0: Dane klienta<\/li>\n<li>type = 1: Szablony dokument\u00f3w<\/li>\n<li>type = 2: Teksty<\/li>\n<li>type = 3: Osoby kontaktowe<\/li>\n<\/ul>\n<p>Typ danych Integer.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">guid_<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">GUID klienta. Typ danych Guid.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">organizationalUnit_<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">GUID organizacji. Typ danych Guid.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">maintainingSales_<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">GUID organizacji obs\u0142uguj\u0105cej dane. Typ danych Guid.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">validFrom<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Data <em>Obowi\u0105zuje od<\/em>. Typ danych Timestamp.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">deliveryDocRecipient<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Odbiorca dokumentu dostawy<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">deliveryRecipient<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Odbiorca dostawy<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">frightCarrier<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Spedytorzy<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">invoicingDocRecipient<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Odbiorca faktury<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; width: 35.8333%; border-style: outset;\">paymentPartner<\/td>\n<td style=\"height: 23px; width: 63.2143%; border-style: outset;\">Partner p\u0142atno\u015bci<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"width: 35.8333%; border-style: outset; height: 23px;\" width=\"194\">salesRepresentative<\/td>\n<td style=\"width: 63.2143%; border-style: outset; height: 23px;\" width=\"358\">\u00a0Przedstawiciel handlowy<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">textSequence<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Numer pozycji tekstu. Typ danych Integer.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">textType<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Typ tekstu.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">textDocuments<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Typ dokumentu tekstu.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">textCode<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Numer bloku tekstowego.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">textText<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Zawarto\u015b\u0107 tekstu.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">textLanguage<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">GUID j\u0119zyka tekstu. Typ danych Guid.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">salesOutputSettings_<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">GUID szablonu dokumentu. Typ danych Guid.<\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"height: 46px; border-style: outset; width: 35.8333%;\" width=\"194\">partnerRelationGuid_<\/td>\n<td style=\"height: 46px; border-style: outset; width: 63.2143%;\" width=\"358\">GUID relacji partnerskiej kontaktu. Typ danych Guid.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">isStatisticAvailable<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Przyjmuje warto\u015b\u0107\u00a0<em>Prawda<\/em>, je\u017celi modu\u0142\u00a0<em>Statystyka<\/em>\u00a0jest licencjonowany. Typ danych Boolean.<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"height: 23px; border-style: outset; width: 35.8333%;\" width=\"194\">isRoutesAvailable<\/td>\n<td style=\"height: 23px; border-style: outset; width: 63.2143%;\" width=\"358\">Przyjmuje warto\u015b\u0107\u00a0<em>Prawda<\/em>, je\u017celi modu\u0142\u00a0<em>Wysy\u0142ka<\/em>\u00a0jest licencjonowany. Typ danych Boolean.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"typ-bazy-danych\" >Typ bazy danych<\/h4>\n<p>Tabela wirtualna <i>Customers <\/i>jest dost\u0119pna w bazach danych typu OLTP.<\/p>\n<h4 id=\"uprawnienia\" >Uprawnienia<\/h4>\n<p>Poni\u017csza jednostka biznesowa s\u0142u\u017cy do okre\u015blania uprawnie\u0144 podczas korzystania ze sterownika ODBC:<\/p>\n<p>Klienci<br \/>\ncom.cisag.app.sales.obj.Customer<\/p>\n","protected":false},"author":28,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"class_list":["post-9795","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-dane-podstawowe"],"_links":{"self":[{"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/ht_kb\/9795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/comments?post=9795"}],"version-history":[{"count":7,"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/ht_kb\/9795\/revisions"}],"predecessor-version":[{"id":39027,"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/ht_kb\/9795\/revisions\/39027"}],"wp:attachment":[{"href":"https:\/\/pomoc.comarch.pl\/cee\/index.php\/wp-json\/wp\/v2\/media?parent=9795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}