{"id":18995,"date":"2019-11-08T07:04:32","date_gmt":"2019-11-08T07:04:32","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=18995"},"modified":"2019-11-08T10:09:16","modified_gmt":"2019-11-08T10:09:16","slug":"how-to-update-a-header-field-through-workflow","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2019\/11\/08\/how-to-update-a-header-field-through-workflow\/","title":{"rendered":"How to update a header field through workflow"},"content":{"rendered":"\n<p>Sometimes\nwe may come under a situation where we need to update a field in the\nsame time when the workflow gets triggered.<\/p>\n\n\n\n<p>To update field on running workflow firstly we need to select a workflow rule. i.e at what action you need to update the field (For eg: on Validation, rejection, notification, cancellation etc).<\/p>\n\n\n\n<p>The action we need to add for this is <strong>AWRKUPDOBJ. <\/strong>This action has parameters where you can define the name of the object and the field from its header table.(The table linked to object). We can also define when this action is need to be triggered in &#8216;triggering&#8217; field and also set a condition for its execution in &#8216;execution condition&#8217; field.<\/p>\n\n\n\n\n\n<p>Kindly refer the below fig to know how the parameters should be added.<\/p>\n\n\n\n\n\n<p>Hence, make sure the action checkbox is checked for this workflow rule. The field will get updated once this workflow get triggered.<\/p>\n\n\n\n<p><\/p>\n\n\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br>\n<a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;\u2013 a globally recognized Premier Sage Gold Development Partner is a one-stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring 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=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;caters to a wide range of Sage Enterprise Management (Sage X3) offerings \u2013 a Sage Business Cloud Solution. Our&nbsp;unique GUMU&#x2122; integrations include&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\">Sage X3 for Sage CRM<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Salesforce.com<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\">Magento eCommerce<\/a>&nbsp;along with Implementation and Technical Support worldwide for&nbsp;<a href=\"https:\/\/www.greytrix.com\/africa\/product\/consulting\/implementation-planning\">Sage X3 (Sage Enterprise Management)<\/a>. Currently we are&nbsp;<a href=\"https:\/\/www.greytrix.com\/africa\">Sage X3 Implementation Partner<\/a>&nbsp;in East Africa, Middles East, Australia, Asia.&nbsp;We also offer best-in-class&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\">Sage X3 customization and development services<\/a>,&nbsp;integrated applications such as&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/pos-system\">POS<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/warehouse-management-system\">WMS<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/payment-gateway\">Payment Gateway<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/shipping-system\">Shipping System<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/business-intelligence\">Business Intelligence<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/ecommerce-magento-integration\">eCommerce<\/a>&nbsp;and have developed add-ons such as&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-add-ons\/catch-weight\">Catch \u2013 Weight&nbsp;<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-add-ons\/letter-of-credit\">Letter of Credit<\/a>&nbsp;for Sage X3 to Sage business partners, end users and Sage PSG worldwide.<\/p>\n<p>Greytrix is a recognized&nbsp;<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/07\/26\/greytrix-on-boards-sage-global-rockstar-isv-program-with-gumu-for-sage-crm-sage-x3-solution\/\">Sage Rockstar ISV Partner<\/a>&nbsp;for GUMU&#x2122; Sage X3 \u2013 Sage CRM integration also listed on&nbsp;<a href=\"https:\/\/www.sage.com\/marketplace\/asb_ListingDetail?listingId=a1h24000007PC3aAAG\" target=\"_blank\" rel=\"noopener\">Sage Marketplace<\/a>; GUMU&#x2122; integration for Sage X3 \u2013 Salesforce is a 5-star app listed on&nbsp;<a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/p>\n<p>For more information on Sage X3 Integration and Services, please contact us at&nbsp;<a href=\"mailto:x3@greytrix.com\">x3@greytrix.com<\/a>. We will be glad to assist you.<\/p>","protected":false},"excerpt":{"rendered":"<p>Sometimes we may come under a situation where we need to update a field in the same time when the workflow gets triggered. To update field on running workflow firstly we need to select a workflow rule. i.e at what action you need to update the field (For eg: on Validation, rejection, notification, cancellation etc).\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2019\/11\/08\/how-to-update-a-header-field-through-workflow\/\">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,2796],"tags":[1426,1822,1839,1945,2435,2869,2870],"class_list":["post-18995","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","category-technical","tag-parameters","tag-sage-x3","tag-sage-x3-blogs","tag-sage-x3-technical-blogs","tag-workflow-management-system","tag-workflow-rules","tag-workflow-rules-parameter"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/18995","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=18995"}],"version-history":[{"count":5,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/18995\/revisions"}],"predecessor-version":[{"id":19038,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/18995\/revisions\/19038"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=18995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=18995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=18995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}