{"id":740,"date":"2014-11-25T08:45:54","date_gmt":"2014-11-25T08:45:54","guid":{"rendered":"http:\/\/www.2ba.nl\/2014\/11\/25\/model-enm\/"},"modified":"2024-03-29T09:26:47","modified_gmt":"2024-03-29T09:26:47","slug":"model","status":"publish","type":"post","link":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/","title":{"rendered":"Model"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Model<\/h1>\n\n\n<h5>Explanation of the conditions model:<\/h5>\n<table class=\"table table-striped table-bordered\">\n<thead>\n<tr>\n<th>Attribute<\/th>\n<th>Type\u00a0<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p><strong>GLN<\/strong><\/p>\n<p>Required<\/p>\n<\/td>\n<td>\u00a0string(13)<\/td>\n<td>\n<p>\u00a0Global Location Number of the supplier<\/p>\n<ul>\n<li>exact 13 characters<\/li>\n<li>numeric<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>AllowanceGroup<\/strong><\/p>\n<p>Required<\/p>\n<\/td>\n<td>\u00a0string(35)<\/td>\n<td>\n<p>\u00a0Discount group<\/p>\n<ul>\n<li>maximum of 35 characters<\/li>\n<li>Not allowed characters: &#8220;%&#8221;, &#8220;?&#8221;, &#8220;[&#8220;, &#8220;]&#8221;<\/li>\n<li>Character &#8220;*&#8221; can be used as a wildcard. So only * means all discount groups, and 123* means all groups starting with with 123 comply.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>TradeItemId<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0string(35)<\/td>\n<td>\n<p>\u00a0Trade item<\/p>\n<ul>\n<li>maximum of 35 characters<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>GTIN<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0string(14)<\/td>\n<td>\n<p>\u00a0Global Trade Item Number<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>NetPrice<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0decimal(11,4)<\/td>\n<td>\n<p>Net price<\/p>\n<ul>\n<li>numeric 11 digits before the decimal point, 4 digits after the decimal point<\/li>\n<li>If filled, minimum &gt; 0<\/li>\n<li>Or net prices or discount percentage 1 must be filled (one or the other, not both)<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>AllowancePercentage1<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0decimal(3,4)<\/td>\n<td>\n<p>\u00a0Discount percentage 1<\/p>\n<ul>\n<li>numeric 3 digits before the decimal point,\u00a0 4 digits after the decimal point<\/li>\n<li>maximum 100, minimum &gt;= 0<\/li>\n<li>Or net prices or discount percentage 1 must be filled (one or the other, not both)<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>AllowancePercentage2<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0decimal(3,4)<\/td>\n<td>\n<p>Discount percentage 2<\/p>\n<ul>\n<li>numeric 3 digits before the decimal point, 4 digtis after the decimal point<\/li>\n<li>maximum 100, minimum &gt;= 0<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>AllowancePercentage3<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0decimal(3,4)<\/td>\n<td>\n<p>Discount percentage 3<\/p>\n<ul>\n<li>numeric 3 digits before the decimal point, 4 digits after the decimal point<\/li>\n<li>maximum 100, minimum &gt;= 0<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>ValidityStartDate<\/strong><\/p>\n<p>Required<\/p>\n<\/td>\n<td>\u00a0date<\/td>\n<td>\n<p>Start date of the condition<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>ValidityEndDate<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0date<\/td>\n<td>\n<p>End data of the condition<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>TermsTypeCode<\/strong><\/p>\n<p>Required<\/p>\n<\/td>\n<td>\u00a0string(2)<\/td>\n<td>\n<p>Type of condition<\/p>\n<ul>\n<li>AC = Action condition<\/li>\n<li>BC = Base condition<\/li>\n<li>PC = Project condition, if filled, then ProjectNumber required<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>ProjectNumber<\/strong><\/p>\n<p>Optional<\/p>\n<\/td>\n<td>\u00a0string(17)<\/td>\n<td>\n<p>\u00a0Project number<\/p>\n<ul>\n<li>If filled, then TermsTypeCode = &#8220;PC&#8221;<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>BracketLowerLimit<\/strong><\/p>\n<p>Required<\/p>\n<\/td>\n<td>\u00a0integer<\/td>\n<td>\n<p>\u00a0Bracket lower limit from which this condition is valid<\/p>\n<ul>\n<li>Minimum 0<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\u00a0<\/td>\n<td>\u00a0<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"<p>Model Explanation of the conditions model: Attribute Type\u00a0 Description GLN Required \u00a0string(13) \u00a0Global Location Number of the supplier exact 13 characters numeric AllowanceGroup Required \u00a0string(35) \u00a0Discount group maximum of 35 characters Not allowed characters: &#8220;%&#8221;, &#8220;?&#8221;, &#8220;[&#8220;, &#8220;]&#8221; Character &#8220;*&#8221; can be used as a wildcard. So only * means all discount groups, and 123* [&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":[115],"tags":[],"class_list":["post-740","post","type-post","status-publish","format-standard","hentry","category-conditie-server-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Model - 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\/conditie-server\/model\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Model - 2ba\" \/>\n<meta property=\"og:description\" content=\"Model Explanation of the conditions model: Attribute Type\u00a0 Description GLN Required \u00a0string(13) \u00a0Global Location Number of the supplier exact 13 characters numeric AllowanceGroup Required \u00a0string(35) \u00a0Discount group maximum of 35 characters Not allowed characters: &#8220;%&#8221;, &#8220;?&#8221;, &#8220;[&#8220;, &#8220;]&#8221; Character &#8220;*&#8221; can be used as a wildcard. So only * means all discount groups, and 123* [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/\" \/>\n<meta property=\"og:site_name\" content=\"2ba\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-25T08:45:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-29T09:26:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2023\/06\/2BA_logo_RGB.png\" \/>\n\t<meta property=\"og:image:width\" content=\"211\" \/>\n\t<meta property=\"og:image:height\" content=\"95\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/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\/conditie-server\/model\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/\"},\"author\":{\"name\":\"2ba\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412\"},\"headline\":\"Model\",\"datePublished\":\"2014-11-25T08:45:54+00:00\",\"dateModified\":\"2024-03-29T09:26:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/\"},\"wordCount\":235,\"commentCount\":0,\"articleSection\":[\"Online Conditie Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/\",\"url\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/\",\"name\":\"Model - 2ba\",\"isPartOf\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/#website\"},\"datePublished\":\"2014-11-25T08:45:54+00:00\",\"dateModified\":\"2024-03-29T09:26:47+00:00\",\"author\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412\"},\"breadcrumb\":{\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/2ba.wimwillems.nl\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Model\"}]},{\"@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":"Model - 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\/conditie-server\/model\/","og_locale":"en_US","og_type":"article","og_title":"Model - 2ba","og_description":"Model Explanation of the conditions model: Attribute Type\u00a0 Description GLN Required \u00a0string(13) \u00a0Global Location Number of the supplier exact 13 characters numeric AllowanceGroup Required \u00a0string(35) \u00a0Discount group maximum of 35 characters Not allowed characters: &#8220;%&#8221;, &#8220;?&#8221;, &#8220;[&#8220;, &#8220;]&#8221; Character &#8220;*&#8221; can be used as a wildcard. So only * means all discount groups, and 123* [&hellip;]","og_url":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/","og_site_name":"2ba","article_published_time":"2014-11-25T08:45:54+00:00","article_modified_time":"2024-03-29T09:26:47+00:00","og_image":[{"width":211,"height":95,"url":"https:\/\/2ba.wimwillems.nl\/wp-content\/uploads\/2023\/06\/2BA_logo_RGB.png","type":"image\/png"}],"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\/conditie-server\/model\/#article","isPartOf":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/"},"author":{"name":"2ba","@id":"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412"},"headline":"Model","datePublished":"2014-11-25T08:45:54+00:00","dateModified":"2024-03-29T09:26:47+00:00","mainEntityOfPage":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/"},"wordCount":235,"commentCount":0,"articleSection":["Online Conditie Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/","url":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/","name":"Model - 2ba","isPartOf":{"@id":"https:\/\/2ba.wimwillems.nl\/#website"},"datePublished":"2014-11-25T08:45:54+00:00","dateModified":"2024-03-29T09:26:47+00:00","author":{"@id":"https:\/\/2ba.wimwillems.nl\/#\/schema\/person\/e38a7da4ab5c525bc5ff65c2f9f29412"},"breadcrumb":{"@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/2ba.wimwillems.nl\/en\/documentation\/conditie-server\/model\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/2ba.wimwillems.nl\/en\/"},{"@type":"ListItem","position":2,"name":"Model"}]},{"@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":"Model Explanation of the conditions model: Attribute Type\u00a0 Description GLN Required \u00a0string(13) \u00a0Global Location Number of the supplier exact 13 characters numeric AllowanceGroup Required \u00a0string(35) \u00a0Discount group maximum of 35 characters Not allowed characters: &#8220;%&#8221;, &#8220;?&#8221;, &#8220;[&#8220;, &#8220;]&#8221; Character &#8220;*&#8221; can be used as a wildcard. So only * means all discount groups, and 123*&hellip;","_links":{"self":[{"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/posts\/740","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=740"}],"version-history":[{"count":15,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/posts\/740\/revisions"}],"predecessor-version":[{"id":7461,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/posts\/740\/revisions\/7461"}],"wp:attachment":[{"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/media?parent=740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/categories?post=740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2ba.wimwillems.nl\/en\/wp-json\/wp\/v2\/tags?post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}