﻿{"id":516,"date":"2015-06-17T10:49:27","date_gmt":"2015-06-17T02:49:27","guid":{"rendered":"http:\/\/www.llku.com\/?p=516"},"modified":"2016-04-20T21:46:37","modified_gmt":"2016-04-20T13:46:37","slug":"%e8%8e%b7%e5%8f%96%e9%93%b6%e8%a1%8c%e5%88%86%e8%a1%8c%e6%89%80%e5%9c%a8%e7%9a%84%e7%9c%81%e4%bb%bd%e5%92%8c%e5%9f%8e%e5%b8%82%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/www.llku.com\/?p=516","title":{"rendered":"\u83b7\u53d6\u94f6\u884c\u5206\u884c\u6240\u5728\u7684\u7701\u3001\u5e02\u4fe1\u606f"},"content":{"rendered":"<p>\n\t&nbsp;&nbsp;&nbsp; \u4e4b\u524d\u5728\u505a\u4e00\u4e2a\u94f6\u884c\u62bd\u76d8\u6587\u4ef6\u7684\u65f6\u5019\uff0c\u9700\u8981\u83b7\u53d6\u5230\u4f9b\u5e94\u5546\u5bf9\u5e94\u7ef4\u62a4\u7684\u94f6\u884c\u5206\u884c\u6240\u5728\u7684\u7701\u5e02\u4fe1\u606f\uff0c\u4e8e\u662f\u8bb0\u5f55\u4e0b\u83b7\u53d6\u7684sql\u547d\u4ee4\uff0c\u5982\u4e0b\uff1a\n<\/p>\n<p>\n\t&nbsp;\u8bb0\u5f55\u94f6\u884c\u4fe1\u606f\u7684\u754c\u9762\uff1a\n<\/p>\n<p>\n\t&nbsp; <a href=\"http:\/\/www.llku.com\/?attachment_id=517\" rel=\"attachment wp-att-517\"><img loading=\"lazy\" alt=\"\u6765\u6e90\u754c\u9762\" class=\"alignnone size-medium wp-image-517\" height=\"171\" src=\"http:\/\/www.llku.com\/wp-content\/uploads\/2015\/06\/\u6765\u6e90\u754c\u9762-300x171.png\" width=\"300\" srcset=\"https:\/\/www.llku.com\/wp-content\/uploads\/2015\/06\/\u6765\u6e90\u754c\u9762-300x171.png 300w, https:\/\/www.llku.com\/wp-content\/uploads\/2015\/06\/\u6765\u6e90\u754c\u9762-900x513.png 900w, https:\/\/www.llku.com\/wp-content\/uploads\/2015\/06\/\u6765\u6e90\u754c\u9762.png 988w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\n<\/p>\n<p>\n\t&#8211;\u94f6\u884c\u5206\u884c\u7684\u5730\u5740\u884c1\u548c\u57ce\u5e02\u6570\u636e<br \/>\n\tSELECT HP.ADDRESS1, HP.CITY<br \/>\n\t&nbsp; FROM AP_SUPPLIERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASP,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IBY_EXT_BANK_ACCOUNTS_V IEB,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IBY_EXTERNAL_PAYEES_ALL IEP,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IBY_PMT_INSTR_USES_ALL&nbsp; USES,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IBY_ACCOUNT_OWNERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IAO,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AP_SUPPLIER_SITES_ALL&nbsp;&nbsp; ASS,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HZ_PARTIES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HP<br \/>\n\t&nbsp;WHERE 1 = 1<br \/>\n\t&nbsp;&nbsp; AND HP.PARTY_ID = IEB.branch_party_id<br \/>\n\t&nbsp;&nbsp; AND IEP.EXT_PAYEE_ID = USES.EXT_PMT_PARTY_ID<br \/>\n\t&nbsp;&nbsp; AND IEP.PAYMENT_FUNCTION = &#39;PAYABLES_DISB&#39;<br \/>\n\t&nbsp;&nbsp; AND USES.INSTRUMENT_ID = IEB.EXT_BANK_ACCOUNT_ID<br \/>\n\t&nbsp;&nbsp; AND IEP.PAYEE_PARTY_ID = ASP.PARTY_ID<br \/>\n\t&nbsp;&nbsp; AND ASP.ENABLED_FLAG = &#39;Y&#39;<br \/>\n\t&nbsp;&nbsp; AND ASP.SUMMARY_FLAG = &#39;N&#39;<br \/>\n\t&nbsp;&nbsp; AND IEP.PARTY_SITE_ID IS NULL<br \/>\n\t&nbsp;&nbsp; AND IEP.SUPPLIER_SITE_ID IS NULL<br \/>\n\t&nbsp;&nbsp; AND IEP.ORG_ID IS NULL<br \/>\n\t&nbsp;&nbsp; AND (USES.END_DATE IS NULL OR USES.END_DATE &gt; SYSDATE)<br \/>\n\t&nbsp;&nbsp; AND (IEB.END_DATE IS NULL OR IEB.END_DATE &gt; SYSDATE)<br \/>\n\t&nbsp;&nbsp; AND (ASP.END_DATE_ACTIVE IS NULL OR ASP.END_DATE_ACTIVE &gt; SYSDATE)<br \/>\n\t&nbsp;&nbsp; AND (ASS.INACTIVE_DATE IS NULL OR ASS.INACTIVE_DATE &gt; SYSDATE)<br \/>\n\t&nbsp;&nbsp; AND ASS.VENDOR_ID = ASP.VENDOR_ID<br \/>\n\t&nbsp;&nbsp; AND USES.INSTRUMENT_TYPE = &#39;BANKACCOUNT&#39;<br \/>\n\t&nbsp;&nbsp; AND IAO.ACCOUNT_OWNER_PARTY_ID = ASP.PARTY_ID<br \/>\n\t&nbsp;&nbsp; AND IAO.EXT_BANK_ACCOUNT_ID(+) = IEB.ext_bank_account_id<br \/>\n\t&nbsp;&nbsp; &#8211;AND IEB.BANK_ACCOUNT_ID = P_BANK_ACC_ID &#8211;\u94f6\u884cID<br \/>\n\t&nbsp;&nbsp; &#8211;AND ASP.VENDOR_ID = P_VENDOR_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8211;\u4f9b\u5e94\u5546ID<br \/>\n\t&nbsp;&nbsp; &#8211;AND ASS.VENDOR_SITE_ID = P_VENDOR_SITE_ID &#8211;\u4f9b\u5e94\u5546\u5730\u70b9ID<br \/>\n\t&nbsp;ORDER BY ASP.VENDOR_TYPE_LOOKUP_CODE;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;&nbsp; \u4e4b\u524d\u5728\u505a\u4e00\u4e2a\u94f6\u884c\u62bd\u76d8\u6587\u4ef6\u7684\u65f6\u5019\uff0c\u9700\u8981\u83b7\u53d6\u5230\u4f9b\u5e94\u5546\u5bf9\u5e94\u7ef4\u62a4\u7684\u94f6\u884c\u5206\u884c\u6240\u5728\u7684 &hellip; <a href=\"https:\/\/www.llku.com\/?p=516\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u83b7\u53d6\u94f6\u884c\u5206\u884c\u6240\u5728\u7684\u7701\u3001\u5e02\u4fe1\u606f<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[95,96],"_links":{"self":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/516"}],"collection":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=516"}],"version-history":[{"count":3,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/516\/revisions"}],"predecessor-version":[{"id":685,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/516\/revisions\/685"}],"wp:attachment":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}