{"id":43169,"date":"2020-04-16T17:01:00","date_gmt":"2020-04-16T17:01:00","guid":{"rendered":"http:\/\/sticky-highjinx.flywheelsites.com\/?p=43169"},"modified":"2025-03-04T02:37:41","modified_gmt":"2025-03-04T07:37:41","slug":"d365-developer-series-syslastvalue-single-line","status":"publish","type":"post","link":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/","title":{"rendered":"D365 Developer Series: SysLastValue in a Single Line"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-default-usage-data-to-a-form-from-previous-user-input-using-a-single-line-of-code\">How to default usage data to a form from previous user input using a single line of code<\/h2>\n\n\n\n<p>When you open a form in&nbsp;Microsoft&nbsp;Dynamics 365, sometimes field values seem to default based on how you previously set them. This functionality is oftentimes solved from a framework called&nbsp;SysLastValue. There are two ways to implement this, and usually when we research how to use it,&nbsp;we\u2019re greeted with the pattern that takes several lines of code and multiple methods (pack \/ unpack). This is also cumbersome to implement on an existing form on Dynamics 365 because we\u2019re no longer allowed to overlayer but must achieve this via extension.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>Today, I will show you how to implement&nbsp;SysLastValue in a single line, and show you examples on how to do this via extension. See our previous blog on <a href=\"\/blog\/when-why-how-to-use-data-contracts-in-dynamics-365\" rel=\"noreferrer noopener\" target=\"_blank\">extensibility<\/a> and its importance.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-scenario\">Scenario&nbsp;<\/h2>\n\n\n\n<p>Default the warehouse based on previous user\u2019s selection. The code below is using a controller class named&nbsp;envBinTransferJournalController&nbsp;which is an extension instance registered on&nbsp;FormRun. This code can also be implemented using event handlers.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-storing-the-value-in-usage-data\">Storing the value in usage data&nbsp;<\/h2>\n\n\n\n<p>This code should be executed after&nbsp;formRun.close().&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Get the value from the form so you can put it in sysLastValue \n\nInventLocationId localInventLocationId = FormRun.Control(FormRun.controlId(formControlStr(envBinTransferJournal, InventLocationId))).valueStr();  \n\n\/\/ It requires you store the value as a container, so you can easily store <br>more than one value if you wanted to \n\nxSysLastValue::putValue(&#091;localInventLocationId], curExt(), curUserId(), UtilElementType::Class, classStr(envBinTransferJournalController)); \n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-getting-the-value-from-usage-data\">Getting the value from usage data&nbsp;<\/h2>\n\n\n\n<p>This code should be executed after&nbsp;formRun.init().&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>InventLocationId localInventLocationId;  \n\n\/\/ You\u2019re getting the value as a container because that is what you stored <br>it in (required data type) \n\n&#091;localInventLocationId] = xSysLastValue::getValue(curExt(), curUserId(), UtilElementType::Class, classStr(envBinTransferJournalController)); \n\n\/\/ You now have the last value used and can default a control with it \n\nFormStringControl localWarehouseControl = FormRun.Control(FormRun.controlId(formControlStr(envBinTransferJournal, InventLocationId))); \n\nlocalWarehouseControl.text(localInventLocationId); <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-notes-on-implementation\">Notes on Implementation&nbsp;<\/h2>\n\n\n\n<p>When using this single line method,&nbsp;you will have two parameters on both the Set and Get. They are passing in the&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/previous-versions\/dynamics\/ax-2012\/reference\/hh337736(v%3Dax.60)\" target=\"_blank\" rel=\"noreferrer noopener\">element type<\/a>&nbsp;and the ID of which to store as the key to retrieve or store. We strongly recommend using&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/dynamicsax-2012\/developer\/intrinsic-functions\" target=\"_blank\" rel=\"noreferrer noopener\">intrinsic functions<\/a>&nbsp;as this will eliminate the chance of a runtime error if the object name changes because the error will happen when you compile.&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>While the example above shows storing a single value from user input,&nbsp;we recommend storing a data contract to support extensibility. We also recommend hydrating the data contract in the controller class that supports extension\/subscription,&nbsp;allowing the next developer to add defaulting values.&nbsp;&nbsp;<\/p>\n\n\n\t\t<div data-elementor-type=\"page\" data-elementor-id=\"53361\" class=\"elementor elementor-53361\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t\t\t<section class=\"has_eae_slider elementor-section elementor-top-section elementor-element elementor-element-b20eed2 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-eae-slider=\"11538\" data-id=\"b20eed2\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"aux-parallax-section has_eae_slider elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a4da46b\" data-eae-slider=\"41630\" data-id=\"a4da46b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"has_eae_slider elementor-section elementor-inner-section elementor-element elementor-element-af85717 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-eae-slider=\"93493\" data-id=\"af85717\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"aux-parallax-section has_eae_slider elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-94591d3\" data-eae-slider=\"48513\" data-id=\"94591d3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b3da8d1 elementor-grid-1 elementor-posts--align-left elementor-grid-tablet-1 elementor-grid-mobile-1 elementor-posts--thumbnail-top elementor-posts__hover-gradient elementor-widget elementor-widget-posts\" data-id=\"b3da8d1\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;cards_columns&quot;:&quot;1&quot;,&quot;cards_row_gap&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:0,&quot;sizes&quot;:[]},&quot;cards_columns_tablet&quot;:&quot;1&quot;,&quot;cards_columns_mobile&quot;:&quot;1&quot;,&quot;cards_row_gap_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;cards_row_gap_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"posts.cards\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-posts-container elementor-posts elementor-posts--skin-cards elementor-grid\" role=\"list\">\n\t\t\t\t<article class=\"elementor-post elementor-grid-item post-100095 post type-post status-publish format-standard has-post-thumbnail hentry category-white-paper tag-dynamics-365 tag-microsoft\" role=\"listitem\">\n\t\t\t<div class=\"elementor-post__card\">\n\t\t\t\t<a class=\"elementor-post__thumbnail__link\" href=\"https:\/\/web.envistacorp.com\/hidden-treasures-advanced-warehousing\" tabindex=\"-1\" ><div class=\"elementor-post__thumbnail\"><img fetchpriority=\"high\" decoding=\"async\" width=\"768\" height=\"582\" src=\"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2022\/10\/image-2025-04-09T153950.688-768x582.jpg\" class=\"attachment-medium_large size-medium_large wp-image-117516\" alt=\"A man in a white shirt stands in a warehouse, holding and reviewing a clipboard. Shelves filled with boxes line the space, and another person in a yellow vest is visible in the background.\" \/><\/div><\/a>\n\t\t\t\t<div class=\"elementor-post__text\">\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/article>\n\t\t\t\t<\/div>\n\t\t\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"aux-parallax-section has_eae_slider elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-860af14\" data-eae-slider=\"95895\" data-id=\"860af14\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-32bfd00 elementor-grid-1 elementor-grid-tablet-1 elementor-grid-mobile-1 elementor-posts--thumbnail-top elementor-posts__hover-gradient elementor-widget elementor-widget-posts\" data-id=\"32bfd00\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;cards_columns&quot;:&quot;1&quot;,&quot;cards_row_gap&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:0,&quot;sizes&quot;:[]},&quot;cards_columns_tablet&quot;:&quot;1&quot;,&quot;cards_columns_mobile&quot;:&quot;1&quot;,&quot;cards_row_gap_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;cards_row_gap_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"posts.cards\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-posts-container elementor-posts elementor-posts--skin-cards elementor-grid\" role=\"list\">\n\t\t\t\t<article class=\"elementor-post elementor-grid-item post-100095 post type-post status-publish format-standard has-post-thumbnail hentry category-white-paper tag-dynamics-365 tag-microsoft\" role=\"listitem\">\n\t\t\t<div class=\"elementor-post__card\">\n\t\t\t\t<a class=\"elementor-post__thumbnail__link\" href=\"https:\/\/web.envistacorp.com\/hidden-treasures-advanced-warehousing\" tabindex=\"-1\" target=\"_blank\"><div class=\"elementor-post__thumbnail\"><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2022\/10\/image-2025-04-09T153950.688-300x300.jpg\" class=\"attachment-medium size-medium wp-image-117516\" alt=\"A man in a white shirt stands in a warehouse, holding and reviewing a clipboard. Shelves filled with boxes line the space, and another person in a yellow vest is visible in the background.\" srcset=\"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2022\/10\/image-2025-04-09T153950.688-300x300.jpg 300w, https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2022\/10\/image-2025-04-09T153950.688-150x150.jpg 150w, https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2022\/10\/image-2025-04-09T153950.688-60x60.jpg 60w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/div><\/a>\n\t\t\t\t<div class=\"elementor-post__badge\">White Paper<\/div>\n\t\t\t\t<div class=\"elementor-post__text\">\n\t\t\t\t<h3 class=\"elementor-post__title\">\n\t\t\t<a href=\"https:\/\/web.envistacorp.com\/hidden-treasures-advanced-warehousing\" target=&quot;_blank&quot;>\n\t\t\t\tHidden Treasures of Advanced Warehousing\t\t\t<\/a>\n\t\t<\/h3>\n\t\t\t\t<div class=\"elementor-post__excerpt\">\n\t\t\t<p>Make the most of Microsoft Dynamics 365\u2019s Advanced Warehousing module and gain insight into the hidden treasures to unlock value.<\/p>\n\t\t<\/div>\n\t\t\n\t\t<a class=\"elementor-post__read-more\" href=\"https:\/\/web.envistacorp.com\/hidden-treasures-advanced-warehousing\" aria-label=\"Read more about Hidden Treasures of Advanced Warehousing\" tabindex=\"-1\" target=\"_blank\">\n\t\t\tDownload\t\t<\/a>\n\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/article>\n\t\t\t\t<\/div>\n\t\t\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-a-place-where-syslastvalue-is-not-needed\">A place where sysLastValue&nbsp;is NOT needed&nbsp;<\/h2>\n\n\n\n<p>Keep in mind that when you\u2019re building out a report \/&nbsp;SysOperation,&nbsp;the fields on the prompt are automatically kept in&nbsp;SysLastValue,&nbsp;and you don\u2019t need to implement the pattern discussed above.&nbsp;<\/p>\n\n\n\n<p>In this blog,\u202fwe have shown how to implement&nbsp;SysLastValue&nbsp;for defaulting values and provided examples of getting and setting values from unbound controls.&nbsp;We have also discussed the proper code placement and instances where this pattern is not required.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-deep-expertise-in-dynamics-ax-and-d365-development\">Deep Expertise in Dynamics AX and D365 Development<\/h2>\n\n\n\n<p>enVista is dedicated to helping the Microsoft community\u00a0by continuously sharing our in-depth knowledge of X++ and\u00a0Microsoft Dynamics 365 development.\u00a0If you are struggling with Dynamics AX or D365 development,\u00a0contact us, and we will connect you with one of our in-house experts.\u00a0\u00a0<\/p>\n\n\n\n<p>Read our other topics in our D365 Developer Series:&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/envistacorp.com\/blog\/when-why-how-to-use-data-contracts-in-dynamics-365\/\">Data Contracts<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/envistacorp.com\/blog\/d365-developer-series-chain-of-command\/\">X++ Chain of Command<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/envistacorp.com\/blog\/d365-developer-series-extending-full-text\/\">Extending Full-Text<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/envistacorp.com\/blog\/d365-developer-series-merging-financial-dimensions-in-d365-fo\/\">Merging Financial Dimensions in D365 F&amp;O<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to default usage data to a form from previous user input using a single line of code.<\/p>\n","protected":false},"author":22,"featured_media":46821,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","_searchwp_excluded":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[3475],"tags":[3934,3746,3561],"class_list":["post-43169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-data-analytics","tag-dynamics-365","tag-microsoft"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>D365 Developer: SysLastValue in One Line | enVista<\/title>\n<meta name=\"description\" content=\"Learn how to default usage data to a form from previous user input using a single line of code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"D365 Developer: SysLastValue in One Line | enVista\" \/>\n<meta property=\"og:description\" content=\"Learn how to default usage data to a form from previous user input using a single line of code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/\" \/>\n<meta property=\"og:site_name\" content=\"enVista Australia\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-16T17:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-04T07:37:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2020\/06\/shutterstock_648958390-1-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1673\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"enVista Marketing\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"enVista Marketing\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"D365 Developer: SysLastValue in One Line | enVista","description":"Learn how to default usage data to a form from previous user input using a single line of code.","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:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/","og_locale":"en_US","og_type":"article","og_title":"D365 Developer: SysLastValue in One Line | enVista","og_description":"Learn how to default usage data to a form from previous user input using a single line of code.","og_url":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/","og_site_name":"enVista Australia","article_published_time":"2020-04-16T17:01:00+00:00","article_modified_time":"2025-03-04T07:37:41+00:00","og_image":[{"width":2560,"height":1673,"url":"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2020\/06\/shutterstock_648958390-1-scaled.jpg","type":"image\/jpeg"}],"author":"enVista Marketing","twitter_card":"summary_large_image","twitter_misc":{"Written by":"enVista Marketing","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#article","isPartOf":{"@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/"},"author":{"name":"enVista Marketing","@id":"https:\/\/envistacorp.com\/en-au\/#\/schema\/person\/c938d19b1c760a4e1c353086018cb894"},"headline":"D365 Developer Series: SysLastValue in a Single Line","datePublished":"2020-04-16T17:01:00+00:00","dateModified":"2025-03-04T07:37:41+00:00","mainEntityOfPage":{"@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/"},"wordCount":534,"commentCount":0,"publisher":{"@id":"https:\/\/envistacorp.com\/en-au\/#organization"},"image":{"@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#primaryimage"},"thumbnailUrl":"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2020\/06\/shutterstock_648958390-1-scaled.jpg","keywords":["Data Analytics","Dynamics 365","Microsoft"],"articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/","url":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/","name":"D365 Developer: SysLastValue in One Line | enVista","isPartOf":{"@id":"https:\/\/envistacorp.com\/en-au\/#website"},"primaryImageOfPage":{"@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#primaryimage"},"image":{"@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#primaryimage"},"thumbnailUrl":"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2020\/06\/shutterstock_648958390-1-scaled.jpg","datePublished":"2020-04-16T17:01:00+00:00","dateModified":"2025-03-04T07:37:41+00:00","description":"Learn how to default usage data to a form from previous user input using a single line of code.","breadcrumb":{"@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#primaryimage","url":"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2020\/06\/shutterstock_648958390-1-scaled.jpg","contentUrl":"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2020\/06\/shutterstock_648958390-1-scaled.jpg","width":2560,"height":1673,"caption":"A close-up of a hand typing on a laptop keyboard, with programming code displayed on the screen. In the blurred background, additional monitors show more lines of code."},{"@type":"BreadcrumbList","@id":"https:\/\/envistacorp.com\/en-au\/2020\/04\/16\/d365-developer-series-syslastvalue-single-line\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/envistacorp.com\/en-au\/"},{"@type":"ListItem","position":2,"name":"D365 Developer Series: SysLastValue in a Single Line"}]},{"@type":"WebSite","@id":"https:\/\/envistacorp.com\/en-au\/#website","url":"https:\/\/envistacorp.com\/en-au\/","name":"enVista Australia","description":"Enabling Enterprise Commerce","publisher":{"@id":"https:\/\/envistacorp.com\/en-au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/envistacorp.com\/en-au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/envistacorp.com\/en-au\/#organization","name":"enVista Australia","url":"https:\/\/envistacorp.com\/en-au\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/envistacorp.com\/en-au\/#\/schema\/logo\/image\/","url":"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2021\/10\/enVista_Logo_White-1.png","contentUrl":"https:\/\/envistacorp.com\/en-au\/wp-content\/uploads\/sites\/4\/2021\/10\/enVista_Logo_White-1.png","width":348,"height":152,"caption":"enVista Australia"},"image":{"@id":"https:\/\/envistacorp.com\/en-au\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/envistacorp.com\/en-au\/#\/schema\/person\/c938d19b1c760a4e1c353086018cb894","name":"enVista Marketing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/908735372279b00297ea13e45a4947cdb05e2ee7244abfcfb3ea9d263679fa53?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/908735372279b00297ea13e45a4947cdb05e2ee7244abfcfb3ea9d263679fa53?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/908735372279b00297ea13e45a4947cdb05e2ee7244abfcfb3ea9d263679fa53?s=96&d=mm&r=g","caption":"enVista Marketing"},"description":"enVista was founded by supply chain and technology experts in response to market demand for skilled consulting services. Read posts by our Thought Leaders.","url":"https:\/\/envistacorp.com\/en-au\/author\/envistamarketing\/"}]}},"_links":{"self":[{"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/posts\/43169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/comments?post=43169"}],"version-history":[{"count":0,"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/posts\/43169\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/media\/46821"}],"wp:attachment":[{"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/media?parent=43169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/categories?post=43169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/envistacorp.com\/en-au\/wp-json\/wp\/v2\/tags?post=43169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}