{"id":14405,"date":"2017-01-31T17:53:05","date_gmt":"2017-01-31T17:53:05","guid":{"rendered":"http:\/\/www.erpschools.com\/?p=14405"},"modified":"2017-01-31T22:46:23","modified_gmt":"2017-01-31T22:46:23","slug":"api-update-event-status-code-xla_events","status":"publish","type":"post","link":"https:\/\/erpschools.com\/erps\/api\/api-update-event-status-code-xla_events","title":{"rendered":"API: Update event status code in XLA_EVENTS"},"content":{"rendered":"<pre class=\"copy:true lang:plsql decode:true\">-- Created by Prudhvi \r\n\r\nDECLARE\r\np_event_source_info xla_events_pub_pkg.t_event_source_info;\r\nBEGIN\r\n\r\np_event_source_info.source_application_id  := NULL;     \r\np_event_source_info.application_id         := 222;       -- AR\r\np_event_source_info.legal_entity_id        := 12340;     -- change it \r\np_event_source_info.ledger_id              := 1;        -- change it\r\np_event_source_info.entity_type_code       := 'TRANSACTIONS';       \r\np_event_source_info.transaction_number     := '1234';    -- change it   \r\np_event_source_info.source_id_int_1        := 1234; --Transaction ID;       \r\np_event_source_info.source_id_int_2        := NULL;       \r\np_event_source_info.source_id_int_3        := NULL;       \r\np_event_source_info.source_id_int_4        := NULL;       \r\np_event_source_info.source_id_char_1       := NULL;       \r\np_event_source_info.source_id_char_2       := NULL;       \r\np_event_source_info.source_id_char_3       := NULL;       \r\np_event_source_info.source_id_char_4       := NULL;\r\n\r\n\r\n xla_events_pub_pkg.update_event_status\r\n   (p_event_source_info         =&gt;   p_event_source_info,\r\n    p_event_class_code          =&gt;   'INVOICE',\r\n    p_event_type_code           =&gt;   'INV_CREATE',\r\n    p_event_date                =&gt;   '20-JAN-17',\r\n    p_event_status_code         =&gt;   'U', -- un processed\r\n    p_valuation_method          =&gt;   NULL,\r\n    p_security_context          =&gt;   NULL\r\n   );\r\n   \r\n   \r\n   DBMS_OUTPUT.put_line('Updated Status');\r\n   commit;\r\n   \r\nexception when others then\r\n   DBMS_OUTPUT.put_line('Error:'||SQLERRM);\r\nEND;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212; Created by Prudhvi DECLARE p_event_source_info xla_events_pub_pkg.t_event_source_info; BEGIN p_event_source_info.source_application_id := NULL; p_event_source_info.application_id := 222; &#8212; AR p_event_source_info.legal_entity_id := 12340; &#8212; change it p_event_source_info.ledger_id := 1; &#8212; change it p_event_source_info.entity_type_code := &#8216;TRANSACTIONS&#8217;; p_event_source_info.transaction_number := &#8216;1234&#8217;; &#8212; change it p_event_source_info.source_id_int_1 := 1234; &#8211;Transaction ID; p_event_source_info.source_id_int_2 := NULL; p_event_source_info.source_id_int_3 := NULL; p_event_source_info.source_id_int_4 := NULL; p_event_source_info.source_id_char_1 := NULL; p_event_source_info.source_id_char_2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90,504,515,501,502,18],"tags":[543,544,542],"class_list":["post-14405","post","type-post","status-publish","format-standard","hentry","category-api","category-ar-api","category-ar-scripts","category-gl-api","category-gl-scripts","category-scripts","tag-event","tag-update-status","tag-xla"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>API: Update event status code in XLA_EVENTS - erpSchools<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prudhvi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#article\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events\"},\"author\":{\"name\":\"Prudhvi\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\"},\"headline\":\"API: Update event status code in XLA_EVENTS\",\"datePublished\":\"2017-01-31T17:53:05+00:00\",\"dateModified\":\"2017-01-31T22:46:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events\"},\"wordCount\":9,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"keywords\":[\"event\",\"update status\",\"xla\"],\"articleSection\":[\"API\",\"AR API\",\"AR Scripts\",\"GL API\",\"GL Scripts\",\"Scripts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events\",\"url\":\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events\",\"name\":\"API: Update event status code in XLA_EVENTS - erpSchools\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#website\"},\"datePublished\":\"2017-01-31T17:53:05+00:00\",\"dateModified\":\"2017-01-31T22:46:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/erpschools.com\/erps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API: Update event status code in XLA_EVENTS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/erpschools.com\/erps\/#website\",\"url\":\"https:\/\/erpschools.com\/erps\/\",\"name\":\"erpSchools\",\"description\":\"Oracle Apps\",\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/erpschools.com\/erps\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\",\"name\":\"erpSchools\",\"url\":\"https:\/\/erpschools.com\/erps\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png\",\"contentUrl\":\"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png\",\"width\":250,\"height\":60,\"caption\":\"erpSchools\"},\"image\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/facebook.com\/erpschools\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\",\"name\":\"Prudhvi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g\",\"caption\":\"Prudhvi\"},\"sameAs\":[\"http:\/\/www.erpschools.com\"],\"url\":\"https:\/\/erpschools.com\/erps\/author\/prudhvi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API: Update event status code in XLA_EVENTS - erpSchools","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events","twitter_misc":{"Written by":"Prudhvi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#article","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events"},"author":{"name":"Prudhvi","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512"},"headline":"API: Update event status code in XLA_EVENTS","datePublished":"2017-01-31T17:53:05+00:00","dateModified":"2017-01-31T22:46:23+00:00","mainEntityOfPage":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events"},"wordCount":9,"commentCount":0,"publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"keywords":["event","update status","xla"],"articleSection":["API","AR API","AR Scripts","GL API","GL Scripts","Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#respond"]}]},{"@type":"WebPage","@id":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events","url":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events","name":"API: Update event status code in XLA_EVENTS - erpSchools","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/#website"},"datePublished":"2017-01-31T17:53:05+00:00","dateModified":"2017-01-31T22:46:23+00:00","breadcrumb":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/erpschools.com\/erps\/scripts\/api-update-event-status-code-xla_events#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/erpschools.com\/erps"},{"@type":"ListItem","position":2,"name":"API: Update event status code in XLA_EVENTS"}]},{"@type":"WebSite","@id":"https:\/\/erpschools.com\/erps\/#website","url":"https:\/\/erpschools.com\/erps\/","name":"erpSchools","description":"Oracle Apps","publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/erpschools.com\/erps\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/erpschools.com\/erps\/#organization","name":"erpSchools","url":"https:\/\/erpschools.com\/erps\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/","url":"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png","contentUrl":"https:\/\/erpschools.com\/erps\/wp-content\/uploads\/img\/erps_logo7.png","width":250,"height":60,"caption":"erpSchools"},"image":{"@id":"https:\/\/erpschools.com\/erps\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/erpschools"]},{"@type":"Person","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512","name":"Prudhvi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/488cec3605845b95cb20e60c67a8f5c7e74b65a305525c8006315d524f120db9?s=96&d=blank&r=g","caption":"Prudhvi"},"sameAs":["http:\/\/www.erpschools.com"],"url":"https:\/\/erpschools.com\/erps\/author\/prudhvi"}]}},"_links":{"self":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/14405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/comments?post=14405"}],"version-history":[{"count":0,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/14405\/revisions"}],"wp:attachment":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/media?parent=14405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/categories?post=14405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/tags?post=14405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}