{"id":2297,"date":"2020-06-24T23:31:46","date_gmt":"2020-06-24T23:31:46","guid":{"rendered":"https:\/\/ricardomoinhos.com\/?p=2297"},"modified":"2020-07-06T17:07:21","modified_gmt":"2020-07-06T17:07:21","slug":"parameter-object-in-dynamics-nav-365-business-central","status":"publish","type":"post","link":"https:\/\/ricardomoinhos.com\/pt\/parameter-object-in-dynamics-nav-365-business-central\/","title":{"rendered":"Parameter Object in Dynamics NAV\/365 Business"},"content":{"rendered":"\n<p>#dynamicsnav #businesscentral #msdyn365bc #designpatterns<\/p>\n\n\n\n<p>In Dynamics NAV\/BC development we often see a method with a lot of parameters.<\/p>\n\n\n\n<p>Take as an example the method FormatAddr in codeunit Format Address.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>procedure FormatAddr(var AddrArray: array[8] of Text[100]; Name: Text[100]; Name2: Text[100]; Contact: Text[100]; Addr: Text[100]; Addr2: Text[50]; City: Text[50]; PostCode: Code[20]; County: Text[50]; CountryCode: Code[10])<\/p><\/blockquote>\n\n\n\n<p>If we need to add a new parameter to this method and this method is used in a lot of places, well, I guess you know what&#8217;s going to happen, right?<\/p>\n\n\n\n<p>Imagine that we need to add a parameter called Name3. We would need to change the procedure and add the Name3 parameter after the Name2, like this:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>procedure FormatAddr(var AddrArray: array[8] of Text[100]; Name: Text[100]; Name2: Text[100]; <strong>Name3: Text[100];<\/strong> Contact: Text[100]; Addr: Text[100]; Addr2: Text[50]; City: Text[50]; PostCode: Code[20]; County: Text[50]; CountryCode: Code[10])<\/p><\/blockquote>\n\n\n\n<p>Now we would have to go to every method that receives these parameters and add the Name3 parameter. That would happen, for example, in the following methods:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>OnFormatAddrOnAfterGetCountry(AddrArray, Name, Name2, Contact, Addr, Addr2, City, PostCode, County, CountryCode, LanguageCode, Handled);<\/li><li>OnBeforeFormatAddress(Country, AddrArray, Name, Name2, Contact, Addr, Addr2, City, PostCode, County, CountryCode, NameLineNo, Name2LineNo, AddrLineNo, Addr2LineNo, ContLineNo, PostCodeCityLineNo, CountyLineNo, CountryLineNo, Handled);<\/li><li>OnAfterFormatAddress(AddrArray, Name, Name2, Contact, Addr, Addr2, City, PostCode, County, CountryCode, LanguageCode);<\/li><\/ul>\n\n\n\n<p>A way to avoid this is to group (and reduce) the number of parameters. This technique is called &#8220;Parameter Object&#8221;. Basically, instead of using all these parameters, we create an object that include all those variables and we pass an instance of this new object as a parameter.<\/p>\n\n\n\n<p>If we ever need to extend it, we just need to add the new parameter to the object. No need to add the parameter on every place the method is being called.<\/p>\n\n\n\n<p>I&#8217;m going to create a new object called <strong>RPM Address Information<\/strong>. This new object is a codeunit and will have the following variables:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Name<\/li><li>Name2<\/li><li>Contact<\/li><li>Addr<\/li><li>Addr2<\/li><li>City<\/li><li>PostCode<\/li><li>County<\/li><li>CountryCode<\/li><\/ul>\n\n\n\n<p>The new methods would look like this:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>procedure FormatAddr(var AddrArray: array[8] of Text[100]; <strong>var AddressInfo: Codeunit &#8220;RPM Address Information&#8221;<\/strong>)<\/li><li>OnFormatAddrOnAfterGetCountry(AddrArray, <strong>AddressInfo<\/strong>, LanguageCode, Handled);<\/li><li>OnBeforeFormatAddress(Country, AddrArray, <strong>AddressInfo<\/strong>, NameLineNo, Name2LineNo, AddrLineNo, Addr2LineNo, ContLineNo, PostCodeCityLineNo, CountyLineNo, CountryLineNo, Handled);<\/li><li>OnAfterFormatAddress(AddrArray, <strong>AddressInfo<\/strong>, LanguageCode);<\/li><\/ul>\n\n\n\n<p>Nice, don&#8217;t you think?<\/p>\n\n\n\n<p>At least from NAV 2016, we can pass codeunits as a parameter in a procedure so we can use a codeunit to create our parameter object. Don&#8217;t forget to set the parameter as var.<\/p>\n\n\n\n<p>The global variables cannot be accessed from outside the codeunit so we need to have getter\/setter methods for that.<\/p>\n\n\n\n<p>Here&#8217;s an example of the codeunit:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>codeunit 50000 &#8220;RPM Address Information&#8221;<br>{<br>var<br>Name: Text[100];<br>Name2: Text[100];<br>Contact: Text[100];<br>Addr: Text[100];<br>Addr2: Text[50];<br>City: Text[50];<br>PostCode: Code[20];<br>County: Text[50];<br>CountryCode: Code[10];<\/p><p>procedure SetName(NewName: Text[100])<br>begin<br>Name := NewName;<br>end;<\/p><p>procedure GetName(): Text[100]<br>begin<br>exit(Name);<br>end;<\/p><p>procedure SetName2(NewName2: Text[100])<br>begin<br>Name2 := NewName2;<br>end;<\/p><p>procedure GetName2(): Text[100]<br>begin<br>exit(Name2);<br>end;<\/p><p>procedure SetContact(NewContact: Text[100])<br>begin<br>Contact := NewContact;<br>end;<\/p><p>procedure GetContact(): Text[100]<br>begin<br>exit(Contact);<br>end;<\/p><p>procedure SetAddr(NewAddr: Text[100])<br>begin<br>Addr := NewAddr;<br>end;<\/p><p>procedure GetAddr(): Text[100]<br>begin<br>exit(Addr);<br>end;<\/p><p>procedure SetAddr2(NewAddr2: Text[50])<br>begin<br>Addr2 := NewAddr2;<br>end;<\/p><p>procedure GetAddr2(): Text[50]<br>begin<br>exit(Addr2);<br>end;<\/p><p>procedure SetCity(NewCity: Text[50])<br>begin<br>City := NewCity;<br>end;<\/p><p>procedure GetCity(): Text[50]<br>begin<br>exit(City);<br>end;<\/p><p>procedure SetPostCode(NewPostCode: Code[20])<br>begin<br>PostCode := NewPostCode;<br>end;<\/p><p>procedure GetPostCode(): Code[20]<br>begin<br>exit(PostCode);<br>end;<\/p><p>procedure SetCounty(NewCounty: Text[50])<br>begin<br>County := NewCounty;<br>end;<\/p><p>procedure GetCounty(): Text[50]<br>begin<br>exit(County);<br>end;<\/p><p>procedure SetCountryCode(NewCountryCode: Code[10])<br>begin<br>CountryCode := NewCountryCode;<br>end;<\/p><p>procedure GetCountryCode(): Code[10]<br>begin<br>exit(CountryCode);<br>end;<br>}<\/p><\/blockquote>\n\n\n\n<p>What if we need to add the Name3 parameter? We just need to change the new codeunit like this:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>codeunit 50000 &#8220;RPM Address Information&#8221;<br>{<br>var<br>Name: Text[100];<br>Name2: Text[100];<br><strong>Name3: Text[100];<\/strong><br>Contact: Text[100];<br>Addr: Text[100];<br>Addr2: Text[50];<br>City: Text[50];<br>PostCode: Code[20];<br>County: Text[50];<br>CountryCode: Code[10];<\/p><p>(\u2026)<\/p><p><strong>procedure SetName3(NewName3: Text[100])<\/strong><br><strong>begin<\/strong><br><strong>Name3 := NewName3;<\/strong><br><strong>end;<\/strong><\/p><p><strong>procedure GetName3(): Text[100]<\/strong><br><strong>begin<\/strong><br><strong>exit(Name3);<\/strong><br><strong>end;<\/strong><\/p><p>(\u2026)<\/p><\/blockquote>\n\n\n\n<p>I hope you enjoyed this article and found it useful.<\/p>\n\n\n\n<p>Please feel free to comment on this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#dynamicsnav #businesscentral #msdyn365bc #designpatterns In Dynamics NAV\/BC development we often see a method with a lot of parameters. Take as an example the method FormatAddr in codeunit Format Address. procedure FormatAddr(var AddrArray: array[8] of Text[100]; Name: Text[100]; Name2: Text[100]; Contact: Text[100]; Addr: Text[100]; Addr2: Text[50]; City: Text[50]; PostCode: Code[20]; County: Text[50]; CountryCode: Code[10]) If we [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4],"tags":[59,63,6,62],"class_list":{"0":"post-2297","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-dynamics365bc","8":"tag-businesscentral","9":"tag-codereview","10":"tag-dynamicsnav-2","11":"tag-refactoring","13":"post-with-thumbnail","14":"post-with-thumbnail-icon"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Parameter Object in Dynamics NAV\/365 Business - Ricardo Paiva Moinhos<\/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:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Parameter Object in Dynamics NAV\/365 Business - Ricardo Paiva Moinhos\" \/>\n<meta property=\"og:description\" content=\"#dynamicsnav #businesscentral #msdyn365bc #designpatterns In Dynamics NAV\/BC development we often see a method with a lot of parameters. Take as an example the method FormatAddr in codeunit Format Address. procedure FormatAddr(var AddrArray: array[8] of Text[100]; Name: Text[100]; Name2: Text[100]; Contact: Text[100]; Addr: Text[100]; Addr2: Text[50]; City: Text[50]; PostCode: Code[20]; County: Text[50]; CountryCode: Code[10]) If we [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/\" \/>\n<meta property=\"og:site_name\" content=\"Ricardo Paiva Moinhos\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-24T23:31:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-06T17:07:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"256\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ricardo Paiva Moinhos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ricardo Paiva Moinhos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/\"},\"author\":{\"name\":\"Ricardo Paiva Moinhos\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\"},\"headline\":\"Parameter Object in Dynamics NAV\\\/365 Business\",\"datePublished\":\"2020-06-24T23:31:46+00:00\",\"dateModified\":\"2020-07-06T17:07:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/\"},\"wordCount\":655,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"keywords\":[\"\",\"codereview\",\"dynamicsnav\",\"refactoring\"],\"articleSection\":[\"Dynamics NAV\\\/365 BC\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/\",\"name\":\"Parameter Object in Dynamics NAV\\\/365 Business - Ricardo Paiva Moinhos\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"datePublished\":\"2020-06-24T23:31:46+00:00\",\"dateModified\":\"2020-07-06T17:07:21+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"contentUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"width\":256,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/parameter-object-in-dynamics-nav-365-business-central\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ricardomoinhos.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Parameter Object in Dynamics NAV\\\/365 Business\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#website\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/\",\"name\":\"Ricardo Paiva Moinhos\",\"description\":\"Welcome\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ricardomoinhos.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\",\"name\":\"Ricardo Paiva Moinhos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"caption\":\"Ricardo Paiva Moinhos\"},\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/pt\\\/author\\\/ricardopaiva\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Parameter Object in Dynamics NAV\/365 Business - Ricardo Paiva Moinhos","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:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/","og_locale":"pt_PT","og_type":"article","og_title":"Parameter Object in Dynamics NAV\/365 Business - Ricardo Paiva Moinhos","og_description":"#dynamicsnav #businesscentral #msdyn365bc #designpatterns In Dynamics NAV\/BC development we often see a method with a lot of parameters. Take as an example the method FormatAddr in codeunit Format Address. procedure FormatAddr(var AddrArray: array[8] of Text[100]; Name: Text[100]; Name2: Text[100]; Contact: Text[100]; Addr: Text[100]; Addr2: Text[50]; City: Text[50]; PostCode: Code[20]; County: Text[50]; CountryCode: Code[10]) If we [&hellip;]","og_url":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/","og_site_name":"Ricardo Paiva Moinhos","article_published_time":"2020-06-24T23:31:46+00:00","article_modified_time":"2020-07-06T17:07:21+00:00","og_image":[{"width":256,"height":256,"url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","type":"image\/png"}],"author":"Ricardo Paiva Moinhos","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Ricardo Paiva Moinhos","Tempo estimado de leitura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#article","isPartOf":{"@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/"},"author":{"name":"Ricardo Paiva Moinhos","@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc"},"headline":"Parameter Object in Dynamics NAV\/365 Business","datePublished":"2020-06-24T23:31:46+00:00","dateModified":"2020-07-06T17:07:21+00:00","mainEntityOfPage":{"@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/"},"wordCount":655,"commentCount":0,"image":{"@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#primaryimage"},"thumbnailUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","keywords":["","codereview","dynamicsnav","refactoring"],"articleSection":["Dynamics NAV\/365 BC"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/","url":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/","name":"Parameter Object in Dynamics NAV\/365 Business - Ricardo Paiva Moinhos","isPartOf":{"@id":"https:\/\/ricardomoinhos.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#primaryimage"},"image":{"@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#primaryimage"},"thumbnailUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","datePublished":"2020-06-24T23:31:46+00:00","dateModified":"2020-07-06T17:07:21+00:00","author":{"@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc"},"breadcrumb":{"@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#primaryimage","url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","contentUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","width":256,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/ricardomoinhos.com\/parameter-object-in-dynamics-nav-365-business-central\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ricardomoinhos.com\/"},{"@type":"ListItem","position":2,"name":"Parameter Object in Dynamics NAV\/365 Business"}]},{"@type":"WebSite","@id":"https:\/\/ricardomoinhos.com\/#website","url":"https:\/\/ricardomoinhos.com\/","name":"Ricardo Paiva Moinhos","description":"Welcome","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ricardomoinhos.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Person","@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc","name":"Ricardo Paiva Moinhos","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","caption":"Ricardo Paiva Moinhos"},"url":"https:\/\/ricardomoinhos.com\/pt\/author\/ricardopaiva\/"}]}},"jetpack_featured_media_url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/2297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/comments?post=2297"}],"version-history":[{"count":33,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/2297\/revisions"}],"predecessor-version":[{"id":2373,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/2297\/revisions\/2373"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/media\/1358"}],"wp:attachment":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/media?parent=2297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/categories?post=2297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/tags?post=2297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}