{"id":31508,"date":"2025-11-28T12:43:13","date_gmt":"2025-11-28T12:43:13","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=31508"},"modified":"2025-11-28T12:43:13","modified_gmt":"2025-11-28T12:43:13","slug":"how-to-fetch-data-from-fy-depreciation-plan-to-period-depreciation-plan-in-the-depreciation-plan-screen-in-sage-x3","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/11\/28\/how-to-fetch-data-from-fy-depreciation-plan-to-period-depreciation-plan-in-the-depreciation-plan-screen-in-sage-x3\/","title":{"rendered":"How to Fetch Data from FY Depreciation Plan to Period Depreciation Plan in the Depreciation Plan Screen\u00a0in Sage X3"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/development-services\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/sage-x3-erp\/development-services\/\" rel=\"noreferrer noopener\">Sage X3<\/a> is an enterprise resource planning (ERP) system that helps organizations efficiently manage operations and data across all functional areas \u2014 including Sales, Purchasing, Inventory, Projects, and Finance.<br><br>During one of our implementations, a client requested a customization in the Depreciation Plan screen. Specifically, the requirement was to ensure that the value present in the FY Depreciation Plan is automatically repeated in the Period Depreciation Plan grid across multiple lines whenever the user clicks on a line in the FY Depreciation Plan grid.<br><br>This article explains how to achieve this functionality step by step.<\/p>\n\n\n\n<p><strong>Step 1: Add a Custom Field in the Period Depreciation Plan Screen<\/strong><\/p>\n\n\n\n<p>Create and add a new custom field in the Period Depreciation Plan grid to hold the fetched data value. Once added, verify that it appears properly in the grid layout.<\/p>\n\n\n\n<p><strong>New Stuff :-<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/11\/28\/alternative-to-the-in-operator-of-sql-in-sage-x3\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/11\/28\/alternative-to-the-in-operator-of-sql-in-sage-x3\/\" rel=\"noreferrer noopener\">Alternative to the \u201cIN\u201d Operator of SQL in Sage X3<\/a><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/picture-1.png\" target=\"_blank\" rel=\"noreferrer \nnoopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/picture-1.png\" alt=\"GUMU Integration \nApp\"><\/a><\/center>\n<font size=\"2\"><center> Fig. 1 for the Period Depreciation Plan grid.<\/center><\/font>\n\n\n\n<p><strong>Step 2: Modify the Standard Script SUBDPP<\/strong><br>Open the standard script SUBDPP and locate the Subprog AS_NBLIG1 function. Within this function, include your customization logic to copy data from the FY Depreciation Plan grid to the Period Depreciation Plan grid.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/Picture-2.png\" target=\"_blank\" rel=\"noreferrer \nnoopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/Picture-2.png\" alt=\"GUMU Integration \nApp\"><\/a><\/center>\n<font size=\"2\"><center>Fig. 2 for the SUBDPP script.<\/center><\/font>\n\n\n\n<p><strong>Step 3: Assign the Custom Field<\/strong><br>Assign the field [M:DPP1]ZPAMT1(NOLIGN-1) with the ZTEST variable as shown in the example below.<\/p>\n\n\n\n<p>This ensures that when a user selects a line in the FY Depreciation Plan, the value from that line is captured and automatically repeated in the next grid (Period Depreciation Plan).<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/Picture-3.png\" target=\"_blank\" rel=\"noreferrer \nnoopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/Picture-3.png\" alt=\"GUMU Integration \nApp\"><\/a><\/center>\n<font size=\"2\"><center>Fig. 3 for the modified script.<\/center><\/font>\n\n\n\n<p><strong>Step 4: Validate the Output<\/strong><br>After making the changes, validate the results by navigating to the Depreciation Plan screen. When you click on any line in the FY Depreciation Plan grid, the corresponding value should now appear in multiple lines of the Period Depreciation Plan grid.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/picture-4.png\" target=\"_blank\" rel=\"noreferrer \nnoopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/11\/picture-4.png\" alt=\"GUMU Integration \nApp\"><\/a><\/center>\n<font size=\"2\"><center>Fig. 4 for the final output.<\/center><\/font>\n\n\n\n<p><strong>Additional Notes<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Always back up the standard script (SUBDPP) before making modifications.<\/li>\n\n\n\n<li>Ideally, replicate the standard script as a custom script (e.g., ZSUBDPP) to ensure future Sage X3 updates do not overwrite your changes.<\/li>\n\n\n\n<li>After deployment, perform a refresh (AFFZO) on the specific grid instead of the entire screen to avoid clearing data values.<\/li>\n\n\n\n<li>Test thoroughly in UAT before promoting to LIVE.<\/li>\n<\/ul>\n\n\n\n<p><strong>Conclusion<\/strong><br>By following the above steps, you can successfully fetch and replicate data from the FY Depreciation Plan to the Period Depreciation Plan within Sage X3. This customization enhances usability and efficiency for finance teams managing asset depreciation schedules.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>About Us<\/strong><\/h2>\n\n\n\n<p>Greytrix \u2013 a globally recognized and one of the oldest Sage Development Partners is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development, and implementation competence.<\/p>\n\n\n\n<p id=\"block-28013e99-0882-44c6-b705-7b16c85053b2\">Greytrix&nbsp;has some unique integration solutions developed for&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-crm\/\">Sage CRM<\/a>&nbsp;with Sage ERPs&nbsp;namely&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/\">Sage X3<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-intacct\/\">Sage Intacct<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-100-erp\/\">Sage 100<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-500-erp\/\">Sage 500<\/a>,&nbsp;and&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-300-erp\/\">Sage 300<\/a>. We also offer best-in-class&nbsp;Sage ERP&nbsp;and&nbsp;Sage CRM&nbsp;customization and development services&nbsp;to&nbsp;Business&nbsp;Partners,&nbsp;End&nbsp;Users, and Sage PSG worldwide. Greytrix&nbsp;helps in&nbsp;the migration of Sage CRM from&nbsp;Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes&nbsp;addons like&nbsp;&nbsp;Greytrix Business Manager,&nbsp;Sage CRM Project Manager,&nbsp;Sage CRM Resource Planner,&nbsp;Sage CRM Contract Manager,&nbsp;Sage CRM Event Manager,&nbsp;Sage CRM Budget Planner,&nbsp;Gmail Integration,&nbsp;Sage CRM Mobile Service Signature,&nbsp;Sage CRM CTI Framework.<\/p>\n\n\n\n<p id=\"block-4bc42a09-fb13-4598-8137-ce5f7b91ce28\">Greytrix is a recognized&nbsp;Sage Champion Partner&nbsp;for GUMU&#x2122; Sage X3 \u2013 Sage CRM integration listed on&nbsp;<a href=\"https:\/\/www.sage.com\/marketplace\/asb_ListingDetail?listingId=a1h24000007PC3aAAG\" target=\"_blank\" rel=\"noreferrer noopener\">Sage Marketplace<\/a>&nbsp;and Sage CRM \u2013 Sage Intacct integration listed on&nbsp;<a href=\"https:\/\/marketplace.intacct.com\/MPListing?lid=a2D0H000007kiHyUAI\" target=\"_blank\" rel=\"noreferrer noopener\">Sage Intacct Marketplace<\/a>. The&nbsp;<a href=\"https:\/\/www.greytrix.com\/gumu\/\" target=\"_blank\" rel=\"noreferrer noopener\">GUMU&#x2122; Cloud framework<\/a>&nbsp;by Greytrix forms the backbone of cloud integrations that are managed in real-time for the processing and execution of application programs at the click of a button.<\/p>\n\n\n\n<p id=\"block-76376301-1c3e-4250-8a09-727595a606f0\">For more information on our integration solutions, please contact us at&nbsp;<a href=\"mailto:sage@greytrix.com\">sage@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sage X3 is an enterprise resource planning (ERP) system that helps organizations efficiently manage operations and data across all functional areas \u2014 including Sales, Purchasing, Inventory, Projects, and Finance. During one of our implementations, a client requested a customization in the Depreciation Plan screen. Specifically, the requirement was to ensure that the value present in\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/11\/28\/how-to-fetch-data-from-fy-depreciation-plan-to-period-depreciation-plan-in-the-depreciation-plan-screen-in-sage-x3\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,13],"tags":[4479,720,1098,3268,1822],"class_list":["post-31508","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","category-integration","tag-depreciation-plan","tag-erp","tag-inventory","tag-projects","tag-sage-x3"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/31508","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=31508"}],"version-history":[{"count":8,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/31508\/revisions"}],"predecessor-version":[{"id":31516,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/31508\/revisions\/31516"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=31508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=31508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=31508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}