{"id":55,"date":"2010-12-02T16:31:55","date_gmt":"2010-12-02T06:31:55","guid":{"rendered":"http:\/\/supportingelement.wordpress.com\/?p=55"},"modified":"2010-12-02T16:31:55","modified_gmt":"2010-12-02T06:31:55","slug":"running-an-element-resolution-chain-on-the-forecasting-process","status":"publish","type":"post","link":"https:\/\/supportingelement.com\/index.php\/2010\/12\/02\/running-an-element-resolution-chain-on-the-forecasting-process\/","title":{"rendered":"Running an Element Resolution Chain on the Forecasting Process"},"content":{"rendered":"<p><em><strong>Warning:<\/strong> This is an advanced trick. It is not for the faint hearted and I would definitely not do this in a production environment (i.e. \u201cdon\u2019t try this at home\u2026\u201d).<\/em><\/p>\n<p>The Element Resolution Chain is an invaluable tool for debugging Global Payroll rules. However, it is not possible to generate an Element Resolution Chain when forecasting\u2026 or is it?<\/p>\n<p>Here\u2019s a trick learned from the Godfather of PeopleSoft Global Payroll, Hubert Naim. You will need access to App Designer and a stiff drink.<\/p>\n<p>1. Goto the Field Formula of the &#8220;DERIVED_GP &gt; FCST_PB&#8221; field.<\/p>\n<p><a href=\"http:\/\/www.temp.supportingelement.com\/wp-content\/uploads\/2010\/12\/pic1.jpg\" target=\"blank\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-58\" style=\"border:1px solid black;\" title=\"pic1\" src=\"http:\/\/www.temp.supportingelement.com\/wp-content\/uploads\/2010\/12\/pic1.jpg?w=1024\" alt=\"\" width=\"450\" srcset=\"https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic1.jpg 1231w, https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic1-300x154.jpg 300w, https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic1-768x394.jpg 768w, https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic1-1024x526.jpg 1024w, https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic1-660x339.jpg 660w\" sizes=\"(max-width: 1231px) 100vw, 1231px\" \/><\/a><\/p>\n<p>2. Change the &#8220;RUN_TRACE_OPTN&#8221; from &#8220;N&#8221; to &#8220;A&#8221;.<\/p>\n<p><a href=\"http:\/\/www.temp.supportingelement.com\/wp-content\/uploads\/2010\/12\/pic2.jpg\" target=\"blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59\" style=\"border:1px solid black;\" title=\"pic2\" src=\"http:\/\/www.temp.supportingelement.com\/wp-content\/uploads\/2010\/12\/pic2.jpg\" alt=\"\" width=\"450\" height=\"143\" srcset=\"https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic2.jpg 686w, https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic2-300x96.jpg 300w, https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic2-660x211.jpg 660w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.temp.supportingelement.com\/wp-content\/uploads\/2010\/12\/pic3.jpg\" target=\"blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-57\" style=\"border:1px solid black;\" title=\"pic3\" src=\"http:\/\/www.temp.supportingelement.com\/wp-content\/uploads\/2010\/12\/pic3.jpg\" alt=\"\" width=\"365\" height=\"126\" srcset=\"https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic3.jpg 365w, https:\/\/supportingelement.com\/wp-content\/uploads\/2010\/12\/pic3-300x104.jpg 300w\" sizes=\"auto, (max-width: 365px) 100vw, 365px\" \/><\/a><\/p>\n<p>3. Go and run the forecast process online and \u201chey presto\u201d you have an Element Resolution Chain.<\/p>\n<p>4. Don\u2019t forget to undo the PeopleCode change when you\u2019re done.<\/p>\n<p>5. Use the following SQL to view the results:<\/p>\n<p><em>SELECT\u00a0A.EMPLID,<\/em><br \/>\n<em> A.EMPL_RCD,<\/em><br \/>\n<em> A.GP_PAYGROUP,<\/em><br \/>\n<em> A.CAL_RUN_ID,<\/em><br \/>\n<em> C.RUN_TYPE,<\/em><br \/>\n<em> A.ORIG_CAL_RUN_ID,<\/em><br \/>\n<em> A.CAL_ID,<\/em><br \/>\n<em> A.RSLT_SEG_NUM,<\/em><br \/>\n<em> B.PIN_NM,<\/em><br \/>\n<em> B.PIN_TYPE,<\/em><br \/>\n<em> A.AUDIT_SORT_KEY,<\/em><br \/>\n<em> A.PIN_CHAIN_SEQ_NUM,<\/em><br \/>\n<em> A.INSTANCE_NUM,<\/em><br \/>\n<em> TO_CHAR(A.SLICE_BGN_DT,&#8217;YYYY-MM-DD&#8217;),<\/em><br \/>\n<em> TO_CHAR(A.SLICE_END_DT,&#8217;YYYY-MM-DD&#8217;),<\/em><br \/>\n<em> A.CALC_RSLT_VAL,<\/em><br \/>\n<em> A.CALC_ADJ_VAL,<\/em><br \/>\n<em> A.CALC_RAW_VAL,<\/em><br \/>\n<em> TO_CHAR(A.DATE_PIN_VAL,&#8217;YYYY-MM-DD&#8217;),<\/em><br \/>\n<em> A.CHR_PIN_VAL<\/em><br \/>\n<em>FROM PS_GP_AUDIT_TBL A,<\/em><br \/>\n<em> PS_GP_PIN B,<\/em><br \/>\n<em> PS_GP_CALENDAR C<\/em><br \/>\n<em> WHERE A.PIN_NUM = B.PIN_NUM<\/em><br \/>\n<em> AND A.GP_PAYGROUP = C.GP_PAYGROUP<\/em><br \/>\n<em> AND A.CAL_ID = C.CAL_ID<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Warning: This is an advanced trick. It is not for the faint hearted and I would definitely not do this in a production environment (i.e. \u201cdon\u2019t try this at home\u2026\u201d). The Element Resolution Chain is an invaluable tool for debugging Global Payroll rules. However, it is not possible to generate an Element Resolution Chain when\u2026 <span class=\"read-more\"><a href=\"https:\/\/supportingelement.com\/index.php\/2010\/12\/02\/running-an-element-resolution-chain-on-the-forecasting-process\/\">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":[3,8,21],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-all-posts","category-global-payroll","category-peoplesoft"],"_links":{"self":[{"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/supportingelement.com\/index.php\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}