{"id":4353,"date":"2013-12-31T11:37:42","date_gmt":"2013-12-31T11:37:42","guid":{"rendered":"http:\/\/erpschools.com\/?p=4353"},"modified":"2014-12-05T10:05:45","modified_gmt":"2014-12-05T10:05:45","slug":"oe_oe_totals_summary","status":"publish","type":"post","link":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary","title":{"rendered":"API: OE_OE_TOTALS_SUMMARY to get Sales Order&#8217;s Subtotal, discounts and tax details"},"content":{"rendered":"<p>OE_OE_TOTALS_SUMMARY.ORDER_TOTALS\u00a0can be used\u00a0to derive a sales order&#8217;s subtotal, discount, tax and charges.\u00a0Below is the\u00a0code snippet on how to use the API<br \/>\n<code><br \/>\nDECLARE<br \/>\nv_HEADER_ID NUMBER;<br \/>\nv_SUBTOTAL NUMBER;<br \/>\nv_DISCOUNT NUMBER;<br \/>\nv_CHARGES NUMBER;<br \/>\nv_TAX NUMBER;<br \/>\nBEGIN<br \/>\nv_HEADER_ID := 5908;<br \/>\nOE_OE_TOTALS_SUMMARY.ORDER_TOTALS(<br \/>\nP_HEADER_ID => v_HEADER_ID,<br \/>\nP_SUBTOTAL => v_SUBTOTAL,<br \/>\nP_DISCOUNT => v_DISCOUNT,<br \/>\nP_CHARGES => v_CHARGES,<br \/>\nP_TAX => V_TAX<br \/>\n);<br \/>\nDBMS_OUTPUT.PUT_LINE('SUBTOTAL = ' || v_SUBTOTAL);<br \/>\nDBMS_OUTPUT.PUT_LINE('DISCOUNT = ' || v_DISCOUNT);<br \/>\nDBMS_OUTPUT.PUT_LINE('CHARGES = ' || v_CHARGES);<br \/>\nDBMS_OUTPUT.PUT_LINE('TAX = ' || v_TAX);<br \/>\nEND;<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OE_OE_TOTALS_SUMMARY.ORDER_TOTALS\u00a0can be used\u00a0to derive a sales order&#8217;s subtotal, discount, tax and charges.\u00a0Below is the\u00a0code snippet on how to use the API DECLARE v_HEADER_ID NUMBER; v_SUBTOTAL NUMBER; v_DISCOUNT NUMBER; v_CHARGES NUMBER; v_TAX NUMBER; BEGIN v_HEADER_ID := 5908; OE_OE_TOTALS_SUMMARY.ORDER_TOTALS( P_HEADER_ID => v_HEADER_ID, P_SUBTOTAL => v_SUBTOTAL, P_DISCOUNT => v_DISCOUNT, P_CHARGES => v_CHARGES, P_TAX => V_TAX ); DBMS_OUTPUT.PUT_LINE(&#8216;SUBTOTAL = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[503],"tags":[161,162,163],"class_list":["post-4353","post","type-post","status-publish","format-standard","hentry","category-om-api","tag-oe_oe_totals_summary","tag-sales-order-discount","tag-sales-order-subtotal"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>API: OE_OE_TOTALS_SUMMARY to get Sales Order&#039;s Subtotal, discounts and tax details - erpSchools<\/title>\n<meta name=\"description\" content=\"OE_OE_TOTALS_SUMMARY\" \/>\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\/api\/om-api\/oe_oe_totals_summary\" \/>\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\/api\/om-api\/oe_oe_totals_summary#article\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary\"},\"author\":{\"name\":\"Prudhvi\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\"},\"headline\":\"API: OE_OE_TOTALS_SUMMARY to get Sales Order&#8217;s Subtotal, discounts and tax details\",\"datePublished\":\"2013-12-31T11:37:42+00:00\",\"dateModified\":\"2014-12-05T10:05:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary\"},\"wordCount\":44,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"keywords\":[\"OE_OE_TOTALS_SUMMARY\",\"Sales Order Discount\",\"Sales Order Subtotal\"],\"articleSection\":[\"OM API\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary\",\"url\":\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary\",\"name\":\"API: OE_OE_TOTALS_SUMMARY to get Sales Order's Subtotal, discounts and tax details - erpSchools\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#website\"},\"datePublished\":\"2013-12-31T11:37:42+00:00\",\"dateModified\":\"2014-12-05T10:05:45+00:00\",\"description\":\"OE_OE_TOTALS_SUMMARY\",\"breadcrumb\":{\"@id\":\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/erpschools.com\/erps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API: OE_OE_TOTALS_SUMMARY to get Sales Order&#8217;s Subtotal, discounts and tax details\"}]},{\"@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: OE_OE_TOTALS_SUMMARY to get Sales Order's Subtotal, discounts and tax details - erpSchools","description":"OE_OE_TOTALS_SUMMARY","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\/api\/om-api\/oe_oe_totals_summary","twitter_misc":{"Written by":"Prudhvi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary#article","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary"},"author":{"name":"Prudhvi","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512"},"headline":"API: OE_OE_TOTALS_SUMMARY to get Sales Order&#8217;s Subtotal, discounts and tax details","datePublished":"2013-12-31T11:37:42+00:00","dateModified":"2014-12-05T10:05:45+00:00","mainEntityOfPage":{"@id":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary"},"wordCount":44,"commentCount":0,"publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"keywords":["OE_OE_TOTALS_SUMMARY","Sales Order Discount","Sales Order Subtotal"],"articleSection":["OM API"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary#respond"]}]},{"@type":"WebPage","@id":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary","url":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary","name":"API: OE_OE_TOTALS_SUMMARY to get Sales Order's Subtotal, discounts and tax details - erpSchools","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/#website"},"datePublished":"2013-12-31T11:37:42+00:00","dateModified":"2014-12-05T10:05:45+00:00","description":"OE_OE_TOTALS_SUMMARY","breadcrumb":{"@id":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/erpschools.com\/erps\/api\/om-api\/oe_oe_totals_summary#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/erpschools.com\/erps"},{"@type":"ListItem","position":2,"name":"API: OE_OE_TOTALS_SUMMARY to get Sales Order&#8217;s Subtotal, discounts and tax details"}]},{"@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\/4353","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=4353"}],"version-history":[{"count":0,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/4353\/revisions"}],"wp:attachment":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/media?parent=4353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/categories?post=4353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/tags?post=4353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}