{"id":20980,"date":"2020-10-28T12:51:21","date_gmt":"2020-10-28T12:51:21","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=20980"},"modified":"2020-10-28T12:51:23","modified_gmt":"2020-10-28T12:51:23","slug":"how-to-perform-file-import-export-function-using-batch-processing","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2020\/10\/28\/how-to-perform-file-import-export-function-using-batch-processing\/","title":{"rendered":"How to perform file Import\/Export function using Batch Processing"},"content":{"rendered":"\n<p><strong>Batch processing<\/strong>&nbsp;is a method of queued up transaction executed without manual intervention on the regular interval.<\/p>\n\n\n\n<p>The batch server is a background process that launches programs or system commands. A queue of tasks is processed by the server, executing and logging the results of each task.<\/p>\n\n\n\n<p>we come across the scenario where file based import and export function to be performed for transferring data between x3, the process can be automated through user-defined time scheduling of&nbsp;<a href=\"https:\/\/developer.sage.com\/api\/x3\/import-export-guide\/using-file-import-export\/batch-processing\" target=\"_blank\" rel=\"noopener\">batch jobs<\/a>.<\/p>\n\n\n\n<p><strong><u>How to add export batch task to the batch server queue:<\/u><\/strong><\/p>\n\n\n\n<p>STEP 1: Navigate to&nbsp;Usage &gt; Batch server &gt; Query management.<\/p>\n\n\n\n<p>STEP 2: Click on Query.<\/p>\n\n\n\n<p>STEP 3: Task code, Enter Export. <\/p>\n\n\n\n<p>STEP 4: Click on Validation.<\/p>\n\n\n\n\n\n<p>STEP 5: Enter your template in the&nbsp;<strong>Template<\/strong>&nbsp;field<\/p>\n\n\n\n<p>STEP 6: Select&nbsp;Server&nbsp;as the&nbsp;Location. Batch processes do not use client files.<\/p>\n\n\n\n<p>STEP 7: Exports-Enter a&nbsp;<strong>Data file<\/strong>&nbsp;name or select one using the lookup button. The name needs to be a storage volume followed by a file name, e.g.&nbsp;[TMP]\/SOHFILE.csv<\/p>\n\n\n\n<p>STEP 8: Exports-Range&nbsp;and&nbsp;Criteria&nbsp;fields used to filter the data to be exported.<\/p>\n\n\n\n\n\n<p>Once the status of the Export task is finished, you can select&nbsp;<strong>Log<\/strong>&nbsp;from the action button\u2019s menu on the row of batch task.<\/p>\n\n\n\n\n\n\n\n<p><strong>Create recurring batch task for export batch task<\/strong><\/p>\n\n\n\n<p>STEP 1: Navigate to&nbsp;Usage &gt; Batch server &gt; Recurring task management.<\/p>\n\n\n\n<p>STEP 2: Click&nbsp;New.<\/p>\n\n\n\n<p>STEP 3: Enter a&nbsp;Recurring task code&nbsp;and&nbsp;Description.<\/p>\n\n\n\n<p>STEP 4: For the&nbsp;Task code EXPORT\/IMPORT.<\/p>\n\n\n\n<p>STEP 5: Select a&nbsp;Periodicity. Choose either&nbsp;Weekly&nbsp;or&nbsp;Monthly&nbsp;and select or enter the days the job should run.<\/p>\n\n\n\n<p>STEP 6: Enter a&nbsp;Time Range&nbsp;or one to three&nbsp;Fixed&nbsp;times to run the job each scheduled day.<\/p>\n\n\n\n<p>STEP 7: Click&nbsp;Create.<\/p>\n\n\n\n<p>STEP 8: Click&nbsp;Parameters.<\/p>\n\n\n\n<p>STEP 9: Enter your template in the&nbsp;Template&nbsp;field<\/p>\n\n\n\n<p>STEP 10: Select&nbsp;Server&nbsp;as the&nbsp;Location. Batch processes do not use client files.<\/p>\n\n\n\n<p>STEP 11: Enter a&nbsp;Data file&nbsp;name or select one using the lookup button. The name needs to be a storage volume followed by a file name, e.g.&nbsp;[TMP]\/ SOHFILE.csv<\/p>\n\n\n\n<p>STEP 12: Range&nbsp;and&nbsp;Criteria&nbsp;fields are available to filter the data to be exported.<\/p>\n\n\n\n<p>STEP 13: Click&nbsp;OK.<\/p>\n\n\n\n<p>STEP 14: Select ACTIVE button and click on save button.<\/p>\n\n\n\n\n\n<p><strong>Task code-EXPORT<\/strong><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A standard task called &#8216;EXPORT&#8217;, which runs the batch export function <strong><em>BATCHEXP<\/em><\/strong>. A standard task called &#8216;IMPORT&#8217;, which runs the batch export function <strong><em>BATCHIMP<\/em><\/strong>.Set up a recurring task with EXPORT or IMPORT as the task code, X3 will ask you to enter parameters, which will include the template to use.<\/p>\n\n\n\n<p><strong><u>How to add Import batch task to the batch server queue:<\/u><\/strong><\/p>\n\n\n\n<p>STEP 1: Navigate to&nbsp;Usage &gt; Batch server &gt; Query management.<\/p>\n\n\n\n<p>STEP 2: Click on Query.<\/p>\n\n\n\n<p>STEP 3: Task code, Enter Import.<\/p>\n\n\n\n<p>STEP 4: Click on Validation.<\/p>\n\n\n\n\n\n<p>STEP 5: Enter your template in the&nbsp;<strong>Template<\/strong>&nbsp;field<\/p>\n\n\n\n<p>STEP 6: Select&nbsp;Server&nbsp;as the&nbsp;Location. Batch processes do not use client files.<\/p>\n\n\n\n<p>STEP 7: Select the Location of file to be imported.<\/p>\n\n\n\n<p>STEP 8: Click&nbsp;<strong>OK<\/strong>.<\/p>\n\n\n\n\n\n<p>Click on Log, if import task status completed successfully.<\/p>\n\n\n\n\n\n\n\n<p>This blog helps us to understand what is batch task and how to perform import\/export using batch processing and create recurring task for import\/export batch task.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-c5e1638fe0db781fd132d689b469078c\" style=\"color:#c71d22\"><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\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Batch processing&nbsp;is a method of queued up transaction executed without manual intervention on the regular interval. The batch server is a background process that launches programs or system commands. A queue of tasks is processed by the server, executing and logging the results of each task. we come across the scenario where file based import\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2020\/10\/28\/how-to-perform-file-import-export-function-using-batch-processing\/\">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":[4,5,8],"tags":[3133,205,765,1035,3066],"class_list":["post-20980","post","type-post","status-publish","format-standard","hentry","category-faq","category-features","category-sage-erp-x3","tag-batch-processing","tag-batch-task","tag-export","tag-import","tag-query-tool"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/20980","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=20980"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/20980\/revisions"}],"predecessor-version":[{"id":20992,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/20980\/revisions\/20992"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=20980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=20980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=20980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}