{"id":245,"date":"2015-05-11T13:48:45","date_gmt":"2015-05-11T13:48:45","guid":{"rendered":"http:\/\/www.exploreax.com\/blog\/?p=245"},"modified":"2015-05-11T13:48:45","modified_gmt":"2015-05-11T13:48:45","slug":"4-drill-through-to-code-from-info-log","status":"publish","type":"post","link":"http:\/\/www.exploreax.com\/blog\/blog\/2015\/05\/11\/4-drill-through-to-code-from-info-log\/","title":{"rendered":"4. Drill through to code from Info log"},"content":{"rendered":"<p>As part of my series on\u00a0<a style=\"font-weight: inherit; font-style: inherit; color: #cf000f;\" title=\"Things new X++ Developers should know\" href=\"http:\/\/www.exploreax.com\/blog\/blog\/2015\/05\/05\/things-new-x-developers-should-know\/\">\u201cThings new X++ Developers Should know\u201d<\/a>. I have been writing a few\u00a0basic howtos for new X++ Developers.<\/p>\n<p>Today\u2019s post relates to quickly navigating to the source code from where an info log error, warning or information message is\u00a0called from.\u00a0\u00a0It took me a while to figure out that for many info log messsages\u00a0you can simply double click on the message\u00a0in the info log window and the code that called the message\u00a0will be displayed for you.<\/p>\n<p>E.G. If you see the normal error log icon or warning icons with a small arrow in the bottom left corner,\u00a0you are normally able to double click the message to see the code behind it. These icons look like this:<\/p>\n<div id=\"attachment_246\" style=\"width: 102px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown2.png\"><img aria-describedby=\"caption-attachment-246\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-246 size-full\" src=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown2.png\" alt=\"InfoDrillDown2\" width=\"92\" height=\"96\" \/><\/a><p id=\"caption-attachment-246\" class=\"wp-caption-text\">Error Log<\/p><\/div>\n<div id=\"attachment_247\" style=\"width: 94px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown3.png\"><img aria-describedby=\"caption-attachment-247\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-247 size-full\" src=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown3.png\" alt=\"Infolog Info\" width=\"84\" height=\"84\" \/><\/a><p id=\"caption-attachment-247\" class=\"wp-caption-text\">Info Message<\/p><\/div>\n<div id=\"attachment_248\" style=\"width: 86px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoLog4.png\"><img aria-describedby=\"caption-attachment-248\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-248\" src=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoLog4.png\" alt=\"Warning Message\" width=\"76\" height=\"76\" \/><\/a><p id=\"caption-attachment-248\" class=\"wp-caption-text\">Warning Message<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Simply Double click the message as below<\/p>\n<p><a href=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-249 size-full\" src=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown.png\" alt=\"InfoDrillDown\" width=\"357\" height=\"441\" srcset=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown.png 357w, http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoDrillDown-242x300.png 242w\" sizes=\"(max-width: 357px) 100vw, 357px\" \/><\/a><\/p>\n<p>To be presented with the code that called it.<\/p>\n<p><a href=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoLog5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-250 size-full\" src=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoLog5.png\" alt=\"InfoLog5\" width=\"646\" height=\"149\" srcset=\"http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoLog5.png 646w, http:\/\/www.exploreax.com\/blog\/wp-content\/uploads\/2015\/05\/InfoLog5-300x69.png 300w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>NOTE 1: If you have your &#8220;Execute business operations in CIL&#8221; user option enabled,\u00a0a lot of business logic like postings etc will not allow you to drill down.<\/p>\n<p>NOTE 2: If the code calling the info message makes use of the <a href=\"http:\/\/www.axaptapedia.com\/SysInfoAction_class\">SysInfoAction parameter<\/a>, you will be taken to an alternate form specified by the developer and not the source code. <a href=\"http:\/\/www.axaptapedia.com\/SysInfoAction_class\">(See Axaptapedia Article)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As part of my series on\u00a0\u201cThings new X++ Developers Should know\u201d. I have been writing a few\u00a0basic howtos for new X++ Developers. Today\u2019s post relates to quickly navigating to the source code from where an info log error, warning or information message is\u00a0called from.\u00a0\u00a0It took me a while to figure out that for many info&hellip;<a href=\"http:\/\/www.exploreax.com\/blog\/blog\/2015\/05\/11\/4-drill-through-to-code-from-info-log\/\">Read more <span class=\"screen-reader-text\">4. Drill through to code from Info log<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,5,7,49,4],"tags":[9,44,43,70,11],"_links":{"self":[{"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/posts\/245"}],"collection":[{"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":1,"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":251,"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions\/251"}],"wp:attachment":[{"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.exploreax.com\/blog\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}