{"id":9398,"date":"2016-10-26T07:08:17","date_gmt":"2016-10-26T07:08:17","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=9398"},"modified":"2016-10-26T07:08:17","modified_gmt":"2016-10-26T07:08:17","slug":"fetch-the-adc-print-destination-value-in-coding","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/10\/26\/fetch-the-adc-print-destination-value-in-coding\/","title":{"rendered":"Fetch the ADC print destination value in coding"},"content":{"rendered":"<p>While printing the report through code you may need to print the report or label in the printer defined on the ADC destination .The below mentioned global variable are available in x3 in which the label destination and Document destination are stored<\/p>\n<ol>\n<li>GVTETI : This global variable is used to store the\u00a0 Label destination<\/li>\n<li>GVTDOC : This global variable is used to store the Document destination<\/li>\n<\/ol>\n<p>Kindly refer to the bellow snippet code for the same.<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/10\/Fetch-the-ADC-print-destination.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-9399\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/10\/Fetch-the-ADC-print-destination.png\" alt=\"Fetch the ADC print destination\" width=\"444\" height=\"67\" \/><\/a><\/p>\n<p>Hope this blog helps!<\/p>\n<h4 style=\"text-align: center\"><span style=\"color: #800080\"><strong>About Us<\/strong><\/span><\/h4>\n<p>&nbsp;<\/p>\n<p>Greytrix is one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.<\/p>\n<p><a href=\"http:\/\/www.greytrix.com\/\" target=\"_blank\">Greytrix<\/a>\u00a0have some unique solutions of\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\" target=\"_blank\">Sage X3\u2019s integration with Sage CRM<\/a>,\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\" target=\"_blank\">Salesforce.com<\/a>\u00a0and\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\" target=\"_blank\">Magento eCommerce<\/a>. It also offers best-in-class\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\" target=\"_blank\">Sage X3 customization and development services<\/a>\u00a0to Sage business partners, end users, and Sage PSG worldwide.<\/p>\n<p>For more information on Sage X3 Integration and Services, please contact us at\u00a0<a href=\"mailto:x3@greytrix.com\" target=\"_blank\">x3@greytrix.com<\/a>\u00a0.We will be glad to assist you.<\/p>\n<p>Also read:<\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2014\/08\/31\/how-to-pass-dynamic-data-in-crystal-reports-from-x3\/\">How to pass dynamic data in Crystal reports from X3<\/a><\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2014\/01\/30\/calling-of-report-through-code\/\">Calling of Report through code<\/a><\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2014\/01\/10\/how-to-assign-default-values-to-crystal-reports\/\">How to Assign Default Values to Crystal Reports<\/a><\/p>\n<p>&#8211;\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2013\/12\/24\/how-to-include-crystal-report-with-patch-in-x3\/\">How to include crystal report with patch in x3<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While printing the report through code you may need to print the report or label in the printer defined on the ADC destination .The below mentioned global variable are available in x3 in which the label destination and Document destination are stored GVTETI : This global variable is used to store the\u00a0 Label destination GVTDOC\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/10\/26\/fetch-the-adc-print-destination-value-in-coding\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[58,627,793,924,1133,1941,1942,1943,1947],"class_list":["post-9398","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","tag-adc-print-destination-value","tag-document-destination","tag-fetch-the-adc-print-destination","tag-greytrix-blogs","tag-label-destination","tag-sage-x3-technical","tag-sage-x3-technical-assistance","tag-sage-x3-technical-blog","tag-sage-x3-technical-issues"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/9398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=9398"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/9398\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=9398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=9398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=9398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}