{"id":754,"date":"2014-07-07T09:05:27","date_gmt":"2014-07-07T09:05:27","guid":{"rendered":"http:\/\/www.2ba.nl\/2014\/07\/07\/democalc-doc-2\/"},"modified":"2024-10-14T08:04:30","modified_gmt":"2024-10-14T08:04:30","slug":"democalc-unifeed","status":"publish","type":"post","link":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/","title":{"rendered":"DemoCalc"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">DemoCalc<\/h1>\n\n\n<p>2BA DemoCalc is an example application that demonstrates the connection between an ERP software-package and the 2BA datapool via Unifeed. Whilst DemoCalc is not a true calculation program, it shows how Unifeed can be used within a calculation application. DemoCalc uses interfaceType=JSON (see <a href=\"documentatie\/unifeed\/parameters\">Unifeed &#8211; Parameters<\/a>).<\/p>\n<h3>Function<\/h3>\n<p>First, a coupling with a 2BA account should be established using the &#8220;settings&#8221; tab. Once done, the key F2 can be used to invoke Unifeed to find a product in the 2BA database. Once a product has been found, the &#8216;import&#8217; button next to the desired supplier can be used to import the data into DemoCalc. At the time of writing, the key (GLN+articlecode) is imported into the application (DemoCalc for now). From DemoCalc a call is made to the web service to retrieve the product\/article details.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png\" alt=\"DemoCalc4\" width=\"1291\" height=\"893\" \/><\/p>\n<h3>Coupling with a 2BA account<\/h3>\n<p>To be able to use Unifeed and the associated services without having to log into each separately, a coupling is established between the application and a 2BA user account. This is achieved using the OAuth2 &#8220;<a href=\"http:\/\/2ba.wimwillems.nl\/documentatie\/webservices\/oauth2\/authorization-code\/\">Authorization Code<\/a>&#8221; flow. Using this flow means that the user&#8217;s credentials do not have to be stored within the application or the system, but only an access token, etc. Should the function keys F2 of F3 not work properly, you will need to recouple your account.<\/p>\n<h3>Continuous mode<\/h3>\n<p>DemoCalc by default demonstrates opening Unifeed in a modal dialog (pop-up). As alternative, using the settings menu, Unifeed can also be opened in &#8220;continuous&#8221; mode. Unifeed will then always be available as a docked window.<\/p>\n<h3>Downloads<\/h3>\n<p><a title=\"ClickOnce-installer program\" href=\"https:\/\/cdn.2ba.nl\/CRL\/Downloads\/DemoCalc\/setup.exe\"><i class=\"fa-solid fa-arrow-up-right-from-square\"><\/i> ClickOnce-installer program<\/a>\u00a0<\/p>\n<p><em>The application runs on Windows XP and later. .NET Framework 4.0 or higher is required. On startup, the application will automatically be updated to the latest version.<\/em><\/p>\n<p>\u00a0<\/p>\n\n\n<script src=https:\/\/kit.fontawesome.com\/f2c7e0aeba.js crossorigin=\"anonymous\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>DemoCalc 2BA DemoCalc is an example application that demonstrates the connection between an ERP software-package and the 2BA datapool via Unifeed. Whilst DemoCalc is not a true calculation program, it shows how Unifeed can be used within a calculation application. DemoCalc uses interfaceType=JSON (see Unifeed &#8211; Parameters). Function First, a coupling with a 2BA account [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[110],"tags":[54,41,21],"class_list":["post-754","post","type-post","status-publish","format-standard","hentry","category-unifeed-en","tag-rest-services","tag-unifeed","tag-webservices"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DemoCalc - 2ba<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DemoCalc - 2ba\" \/>\n<meta property=\"og:description\" content=\"DemoCalc 2BA DemoCalc is an example application that demonstrates the connection between an ERP software-package and the 2BA datapool via Unifeed. Whilst DemoCalc is not a true calculation program, it shows how Unifeed can be used within a calculation application. DemoCalc uses interfaceType=JSON (see Unifeed &#8211; Parameters). Function First, a coupling with a 2BA account [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/\" \/>\n<meta property=\"og:site_name\" content=\"2ba\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-07T09:05:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-14T08:04:30+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png\" \/>\n<meta name=\"author\" content=\"2ba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"2ba\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/\"},\"author\":{\"name\":\"2ba\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412\"},\"headline\":\"DemoCalc\",\"datePublished\":\"2014-07-07T09:05:27+00:00\",\"dateModified\":\"2024-10-14T08:04:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/\"},\"wordCount\":292,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png\",\"keywords\":[\"REST Services\",\"Unifeed\",\"Webservices;\"],\"articleSection\":[\"Unifeed\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/\",\"url\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/\",\"name\":\"DemoCalc - 2ba\",\"isPartOf\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png\",\"datePublished\":\"2014-07-07T09:05:27+00:00\",\"dateModified\":\"2024-10-14T08:04:30+00:00\",\"author\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412\"},\"breadcrumb\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage\",\"url\":\"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png\",\"contentUrl\":\"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/2ba.wimwillems.nl\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DemoCalc\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/#website\",\"url\":\"https:\/\/2ba.wimwillems.nl\/\",\"name\":\"2ba\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/2ba.wimwillems.nl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412\",\"name\":\"2ba\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/98fd787799f599e7136207ddae02d3ff6c5d346317929a6e3bac964389f20320?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/98fd787799f599e7136207ddae02d3ff6c5d346317929a6e3bac964389f20320?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/98fd787799f599e7136207ddae02d3ff6c5d346317929a6e3bac964389f20320?s=96&d=mm&r=g\",\"caption\":\"2ba\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DemoCalc - 2ba","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/","og_locale":"en_US","og_type":"article","og_title":"DemoCalc - 2ba","og_description":"DemoCalc 2BA DemoCalc is an example application that demonstrates the connection between an ERP software-package and the 2BA datapool via Unifeed. Whilst DemoCalc is not a true calculation program, it shows how Unifeed can be used within a calculation application. DemoCalc uses interfaceType=JSON (see Unifeed &#8211; Parameters). Function First, a coupling with a 2BA account [&hellip;]","og_url":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/","og_site_name":"2ba","article_published_time":"2014-07-07T09:05:27+00:00","article_modified_time":"2024-10-14T08:04:30+00:00","og_image":[{"url":"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png","type":"","width":"","height":""}],"author":"2ba","twitter_card":"summary_large_image","twitter_misc":{"Written by":"2ba","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#article","isPartOf":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/"},"author":{"name":"2ba","@id":"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412"},"headline":"DemoCalc","datePublished":"2014-07-07T09:05:27+00:00","dateModified":"2024-10-14T08:04:30+00:00","mainEntityOfPage":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/"},"wordCount":292,"commentCount":0,"image":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage"},"thumbnailUrl":"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png","keywords":["REST Services","Unifeed","Webservices;"],"articleSection":["Unifeed"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/","url":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/","name":"DemoCalc - 2ba","isPartOf":{"@id":"https:\/\/2ba.wimwillems.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage"},"image":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage"},"thumbnailUrl":"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png","datePublished":"2014-07-07T09:05:27+00:00","dateModified":"2024-10-14T08:04:30+00:00","author":{"@id":"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412"},"breadcrumb":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#primaryimage","url":"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png","contentUrl":"http:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2014\/07\/DemoCalc4.png"},{"@type":"BreadcrumbList","@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/unifeed\/democalc-unifeed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/2ba.wimwillems.nl\/en\/"},{"@type":"ListItem","position":2,"name":"DemoCalc"}]},{"@type":"WebSite","@id":"https:\/\/2ba.wimwillems.nl\/#website","url":"https:\/\/2ba.wimwillems.nl\/","name":"2ba","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/2ba.wimwillems.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412","name":"2ba","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/98fd787799f599e7136207ddae02d3ff6c5d346317929a6e3bac964389f20320?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/98fd787799f599e7136207ddae02d3ff6c5d346317929a6e3bac964389f20320?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/98fd787799f599e7136207ddae02d3ff6c5d346317929a6e3bac964389f20320?s=96&d=mm&r=g","caption":"2ba"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false},"uagb_author_info":{"display_name":"2ba","author_link":"https:\/\/2ba.wimwillems.nl\/en\/author\/2ba\/"},"uagb_comment_info":0,"uagb_excerpt":"DemoCalc 2BA DemoCalc is an example application that demonstrates the connection between an ERP software-package and the 2BA datapool via Unifeed. Whilst DemoCalc is not a true calculation program, it shows how Unifeed can be used within a calculation application. DemoCalc uses interfaceType=JSON (see Unifeed &#8211; Parameters). Function First, a coupling with a 2BA account&hellip;","_links":{"self":[{"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/posts\/754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/comments?post=754"}],"version-history":[{"count":13,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/posts\/754\/revisions"}],"predecessor-version":[{"id":9836,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/posts\/754\/revisions\/9836"}],"wp:attachment":[{"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/media?parent=754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/categories?post=754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/tags?post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}