{"id":2647,"date":"2021-06-08T13:50:44","date_gmt":"2021-06-08T13:50:44","guid":{"rendered":"https:\/\/help.hbsoftware365.com\/?p=2647"},"modified":"2021-07-19T09:56:48","modified_gmt":"2021-07-19T09:56:48","slug":"joining-tables","status":"publish","type":"post","link":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/exsion-help-eng\/exsion-eng-06-menu-options\/menu-dynamic-download\/joining-tables\/","title":{"rendered":"Joining tables"},"content":{"rendered":"\n\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.hbsoftware365.com\/wp-content\/uploads\/DynamicDownload_DynamicDownload.png\" alt=\"DynamicDownload_DynamicDownload\" itemprop=\"image\" height=\"440\" width=\"771\" title=\"DynamicDownload_DynamicDownload\" onerror=\"this.style.display='none'\"  \/>\n\t<p>After adding a second table Exsion will show a JOIN proposal:<\/p>\n\t\t\t\t<img decoding=\"async\" src=\"http:\/\/help.hbsoftware365.com\/wp-content\/uploads\/DynamicDownload_SelectJoin.png\" alt=\"DynamicDownload_SelectJoin\" itemprop=\"image\" title=\"DynamicDownload_SelectJoin\" onerror=\"this.style.display='none'\"  \/>\n\t<table>\n<tbody>\n<tr>\n<th>Field<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>Join fields<\/td>\n<td>The list of fields that can be used to join the tables.<\/td>\n<\/tr>\n<tr>\n<td>Join type<\/td>\n<td>The different join types.<\/td>\n<\/tr>\n<tr>\n<td>OK<\/td>\n<td>Join the tables.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The download definition will be changed accordingly.<\/p>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.hbsoftware365.com\/wp-content\/uploads\/DynamicDownload_AfterSelectJoin.png\" alt=\"DynamicDownload_AfterSelectJoin\" itemprop=\"image\" height=\"440\" width=\"771\" title=\"DynamicDownload_AfterSelectJoin\" onerror=\"this.style.display='none'\"  \/>\n\t\t\t\t<img decoding=\"async\" src=\"http:\/\/help.hbsoftware365.com\/wp-content\/uploads\/DynamicDownload_SelectedJoinSheet.png\" alt=\"DynamicDownload_SelectedJoinSheet\" itemprop=\"image\" title=\"DynamicDownload_SelectedJoinSheet\" onerror=\"this.style.display='none'\"  \/>\n\t<table>\n<tbody>\n<tr>\n<th>Field<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>Connection<\/td>\n<td>The connection-ID. A Dynamics NAV type filter can be used here to have the download work for more then one company.<\/td>\n<\/tr>\n<tr>\n<td>Table<\/td>\n<td>The table number(s) to download from.<\/td>\n<\/tr>\n<tr>\n<td>JOIN TYPE<\/td>\n<td>If more then one table is used, the join type will be shown here.<\/td>\n<\/tr>\n<tr>\n<td>FILTER<\/td>\n<td>A filter for the field (See: Filter usage).<\/td>\n<\/tr>\n<tr>\n<td>HIDE<\/td>\n<td>Fields can be show or hidden in the output location.<\/td>\n<\/tr>\n<tr>\n<td>SORT<\/td>\n<td>To sort the output, a maximum of three fields can be designated to sort on. Use 1, 2, or 3 on the fields to sort on in that order.<\/td>\n<\/tr>\n<tr>\n<td>METHOD<\/td>\n<td>The calculation method for that field (SUM, MIN, MAX, AVG or CNT).<\/td>\n<\/tr>\n<tr>\n<td>EXPRESSION<\/td>\n<td>An Exsion function can be used here to speed up the download.<\/td>\n<\/tr>\n<tr>\n<td>Fields<\/td>\n<td>The fieldnames will be shown in the order as created in the download definition. The first row with Connection and the number -2 is mandatory. The number can be changed to a Dynamics NAV type filter for connection ID&#8217;s the have the download work for more then one company. Also change True to False in such a case.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Click the &#8220;Refresh data&#8221; button in the ribbon menu to activate the download. If this is the first time this download is used, it will ask for a output location.<\/p>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.hbsoftware365.com\/wp-content\/uploads\/DynamicDownload_CelSelect.png\" alt=\"DynamicDownload_CelSelect\" itemprop=\"image\" height=\"116\" width=\"266\" title=\"DynamicDownload_CelSelect\" onerror=\"this.style.display='none'\"  \/>\n\t<p>Each download definition has a name which starts with &#8220;<b>EXSION_DATA_<\/b>&#8221; followed by the tablename.<\/p>\n\t\t\t\t<img decoding=\"async\" src=\"http:\/\/help.hbsoftware365.com\/wp-content\/uploads\/Excel_NameManager.png\" alt=\"Excel_NameManager\" itemprop=\"image\" title=\"Excel_NameManager\" onerror=\"this.style.display='none'\"  \/>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/help.hbsoftware365.com\/wp-content\/uploads\/Excel_ExsionName.png\" alt=\"Excel_ExsionName\" itemprop=\"image\" height=\"432\" width=\"552\" title=\"Excel_ExsionName\" onerror=\"this.style.display='none'\"  \/>\n\n","protected":false},"excerpt":{"rendered":"<p>After adding a second table Exsion will show a JOIN proposal: Field Description Join fields The list of fields that can be used [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[90],"tags":[],"class_list":["post-2647","post","type-post","status-publish","format-standard","hentry","category-menu-dynamic-download"],"_links":{"self":[{"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/posts\/2647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/comments?post=2647"}],"version-history":[{"count":15,"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/posts\/2647\/revisions"}],"predecessor-version":[{"id":3077,"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/posts\/2647\/revisions\/3077"}],"wp:attachment":[{"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/media?parent=2647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/categories?post=2647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.hbsoftware365.com\/smarttrade\/st-about-smarttrade-help\/st-intro\/wp-json\/wp\/v2\/tags?post=2647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}