{"id":95,"date":"2008-03-04T16:50:23","date_gmt":"2008-03-04T16:50:23","guid":{"rendered":"http:\/\/ibizsoftinc.com\/blogs\/uncategorized\/modifying-timezones"},"modified":"2008-03-08T16:51:27","modified_gmt":"2008-03-08T16:51:27","slug":"modifying-timezones","status":"publish","type":"post","link":"https:\/\/www.ibizsoftinc.com\/blog\/modifying-timezones\/","title":{"rendered":"Modifying Timezones"},"content":{"rendered":"<p>Looks like there is no one form which can be used to change the Timezone drop down lists in various application. For eg. I had a request to change the timezone drop down that shows up in iSupport. <\/p>\n<p><!--more--><\/p>\n<p>On asking Oracle Support, they came up with the following SQL statements<\/p>\n<p>1. Connect to SQLPlus using APPS username<\/p>\n<p>2. Verify that following query returns exactly one row with value for the combination of timezone_code and enabled_flag = N <\/p>\n<p>   i)  SELECT timezone_code, enabled_flag<br \/>\n       FROM fnd_timezones_b<br \/>\n       WHERE timezone_code LIKE &#8216;%Africa%&#8217; ; <\/p>\n<p>   ii) SELECT timezone_code, name, enabled_flag, active_timezone_code<br \/>\n       FROM fnd_timezones_vl<br \/>\n       WHERE timezone_code LIKE &#8216;%Africa%&#8217; ; <\/p>\n<p>   => in both the queries there has to be only one row returned, and find that the value for enabled_flag = N <\/p>\n<p>You will notice a set of records as follows<\/p>\n<p>Africa\/Ouagadougou                                \tN           \tGMT<br \/>\nAfrica\/Porto-Novo                                 \tN           \tAfrica\/Tunis<br \/>\nAfrica\/Sao_Tome                                   \tN           \tGMT<br \/>\nAfrica\/Timbuktu                                   \tN           \tGMT<br \/>\nAfrica\/Tripoli                                    \tY           \tAfrica\/Tripoli<br \/>\nAfrica\/Tunis                                      \tY           \tAfrica\/Tunis<br \/>\nAfrica\/Windhoek                                   \tN<br \/>\nAfrica\/Abidjan                                    \tN           \tGMT<br \/>\nAfrica\/Accra                                      \tN           \tGMT<br \/>\nAfrica\/Addis_Ababa                                \tN           \tAsia\/Riyadh<br \/>\nAfrica\/Algiers                                    \tN           \tAfrica\/Tunis<br \/>\nAfrica\/Asmera                                     \tN           \tAsia\/Riyadh<br \/>\nAfrica\/Bamako                                     \tN           \tGMT<br \/>\nAfrica\/Bangui                                     \tN           \tAfrica\/Tunis<br \/>\nAfrica\/Banjul                                     \tN           \tGMT<br \/>\nAfrica\/Bissau                                     \tN           \tGMT<br \/>\nAfrica\/Blantyre                                   \tN           \tAfrica\/Tripoli<br \/>\nAfrica\/Brazzaville                                \tN           \tAfrica\/Tunis<br \/>\nAfrica\/Bujumbura                                  \tN           \tAfrica\/Tripoli<\/p>\n<p>3. Now enable the Africa timezones using following<br \/>\n   UPDATE fnd_timezones_b<br \/>\n          SET enabled_flag = &#8216;Y&#8217;<br \/>\n          WHERE timezone_code LIKE &#8216;%Africa%&#8217; ;<br \/>\n   => 1 Row updated. <\/p>\n<p>You may also update timezone belonging to only one African city, eg. Johannesburg, as follows<\/p>\n<p>          UPDATE fnd_timezones_b<br \/>\n          SET enabled_flag = &#8216;Y&#8217;<br \/>\n          WHERE timezone_code LIKE &#8216;%Africa%Johannes%&#8217;<br \/>\n1 row(s) updated<\/p>\n<p>   COMMIT ;<br \/>\n   => Commit successful .No errors . <\/p>\n<p>4. Verify that following query returns exactly one row with value for the combination of timezone_code and enabled_flag = Y <\/p>\n<p>   i)  SELECT timezone_code, enabled_flag<br \/>\n       FROM fnd_timezones_b<br \/>\n       WHERE timezone_code LIKE &#8216;%Africa%Johannes%&#8217; ; <\/p>\n<p>   ii) SELECT timezone_code, name, enabled_flag, active_timezone_code<br \/>\n       FROM fnd_timezones_vl<br \/>\n       WHERE timezone_code LIKE &#8216;%Africa%Johannes%&#8217; ; <\/p>\n<p>   => in both the queries there has to be only one row returned, and find that the value for enabled_flag = Y<\/p>\n<p>For this change to take effect in any of the Self-Service Application (eg. iSupport or iLearning), DBA will need to bounce the Apache server. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looks like there is no one form which can be used to change the Timezone drop down lists in various application. For eg. I had a request to&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":0,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}