{"id":4052,"date":"2013-09-25T11:57:26","date_gmt":"2013-09-25T06:27:26","guid":{"rendered":"http:\/\/erpschools.com\/?p=4052"},"modified":"2013-09-25T11:57:26","modified_gmt":"2013-09-25T06:27:26","slug":"internal-requsition-internal-sales-order-link","status":"publish","type":"post","link":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link","title":{"rendered":"Internal Requsition and Internal Sales Order Link"},"content":{"rendered":"<p>Use this query \/ script to find the link between a internal requisition and internal sales order.<\/p>\n<p>Please note that a internal sales order which is created from internal requisition may not always have sales order type as &#8220;INTERNAL&#8221; or &#8220;INTERCOMPANY&#8221;. Sales order type can also me &#8220;MIXED&#8221; or any other custom type so do not filter based on Sales order type.<\/p>\n<p><code><br \/>\nSELECT OOH.ORDER_NUMBER SO,<br \/>\n  PRH.SEGMENT1 REQ<br \/>\nFROM OE_ORDER_HEADERS_ALL OOH,<br \/>\n  PO_REQUISITION_HEADERS_ALL PRH,<br \/>\n  PO_REQUISITION_LINES_ALL PRL<br \/>\nWHERE 1 = 1<br \/>\nAND PRH.REQUISITION_HEADER_ID = PRL.REQUISITION_HEADER_ID<br \/>\n--AND PRH.SEGMENT1              = OOH.ORIG_SYS_DOCUMENT_REF<br \/>\nAND PRH.REQUISITION_HEADER_ID = OOH.SOURCE_DOCUMENT_ID<br \/>\nAND ORDER_NUMBER              = '66534' --Sales Order Number<br \/>\nAND PRH.SEGMENT1              = '14375' -- Requisition Number<br \/>\nAND PRH.TYPE_LOOKUP_CODE      = 'INTERNAL'<br \/>\n;<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use this query \/ script to find the link between a internal requisition and internal sales order. Please note that a internal sales order which is created from internal requisition may not always have sales order type as &#8220;INTERNAL&#8221; or &#8220;INTERCOMPANY&#8221;. Sales order type can also me &#8220;MIXED&#8221; or any other custom type so do [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[123,124,125],"class_list":["post-4052","post","type-post","status-publish","format-standard","hentry","category-scripts","tag-internal-requisition","tag-internal-sales-order","tag-script"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>link between internal requisition and internal sales order<\/title>\n<meta name=\"description\" content=\"Use this script \/ query to get link between internal requisition and internal sales order. Script includes table joins between sales order and requisitions\" \/>\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\/internal-requsition-internal-sales-order-link\" \/>\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\/internal-requsition-internal-sales-order-link#article\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link\"},\"author\":{\"name\":\"Prudhvi\",\"@id\":\"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512\"},\"headline\":\"Internal Requsition and Internal Sales Order Link\",\"datePublished\":\"2013-09-25T06:27:26+00:00\",\"dateModified\":\"2013-09-25T06:27:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link\"},\"wordCount\":68,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#organization\"},\"keywords\":[\"internal requisition\",\"internal sales order\",\"script\"],\"articleSection\":[\"Scripts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link\",\"url\":\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link\",\"name\":\"link between internal requisition and internal sales order\",\"isPartOf\":{\"@id\":\"https:\/\/erpschools.com\/erps\/#website\"},\"datePublished\":\"2013-09-25T06:27:26+00:00\",\"dateModified\":\"2013-09-25T06:27:26+00:00\",\"description\":\"Use this script \/ query to get link between internal requisition and internal sales order. Script includes table joins between sales order and requisitions\",\"breadcrumb\":{\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/erpschools.com\/erps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Internal Requsition and Internal Sales Order Link\"}]},{\"@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":"link between internal requisition and internal sales order","description":"Use this script \/ query to get link between internal requisition and internal sales order. Script includes table joins between sales order and requisitions","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\/internal-requsition-internal-sales-order-link","twitter_misc":{"Written by":"Prudhvi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link#article","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link"},"author":{"name":"Prudhvi","@id":"https:\/\/erpschools.com\/erps\/#\/schema\/person\/dbed9bb7fb66aa7a700fc565da024512"},"headline":"Internal Requsition and Internal Sales Order Link","datePublished":"2013-09-25T06:27:26+00:00","dateModified":"2013-09-25T06:27:26+00:00","mainEntityOfPage":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link"},"wordCount":68,"commentCount":0,"publisher":{"@id":"https:\/\/erpschools.com\/erps\/#organization"},"keywords":["internal requisition","internal sales order","script"],"articleSection":["Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link#respond"]}]},{"@type":"WebPage","@id":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link","url":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link","name":"link between internal requisition and internal sales order","isPartOf":{"@id":"https:\/\/erpschools.com\/erps\/#website"},"datePublished":"2013-09-25T06:27:26+00:00","dateModified":"2013-09-25T06:27:26+00:00","description":"Use this script \/ query to get link between internal requisition and internal sales order. Script includes table joins between sales order and requisitions","breadcrumb":{"@id":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/erpschools.com\/erps\/scripts\/internal-requsition-internal-sales-order-link#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/erpschools.com\/erps"},{"@type":"ListItem","position":2,"name":"Internal Requsition and Internal Sales Order Link"}]},{"@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\/4052","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=4052"}],"version-history":[{"count":0,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/posts\/4052\/revisions"}],"wp:attachment":[{"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/media?parent=4052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/categories?post=4052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erpschools.com\/erps\/wp-json\/wp\/v2\/tags?post=4052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}