{"id":887,"date":"2014-01-21T11:31:30","date_gmt":"2014-01-21T03:31:30","guid":{"rendered":"http:\/\/j178.mtgbb.com\/?p=887"},"modified":"2014-01-21T11:31:30","modified_gmt":"2014-01-21T03:31:30","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-oracle-form-%e4%b8%8a%e6%8e%9b%e5%85%a5%e5%9c%96%e7%89%87","status":"publish","type":"post","link":"https:\/\/j178.mtgbb.com\/?p=887","title":{"rendered":"\u5982\u4f55\u5728 oracle form \u4e0a\u639b\u5165\u5716\u7247"},"content":{"rendered":"<p>Notice: \u5716\u7247\u7d71\u4e00\u653e\u5728 OA_MEDIA , \u8ddf icon \u7684\u5716\u7247\u653e\u4e00\u8d77\u6bd4\u8f03\u597d\u627e<\/p>\n<pre lang=\"oracle8\">\r\nDECLARE\r\n  v_img_path VARCHAR2(500); -- \u5716\u7247\u6a94\u5b58\u653e\u8def\u5f91\r\nBEGIN\r\n  -- \u8b80\u53d6\u5716\u6a94\u8def\u5f91, ex.\/test\/AP\/testcomn\/java\/oracle\/apps\/media\r\n  BEGIN\r\n\r\n    SELECT VALUE\r\n      INTO v_img_path\r\n      FROM fnd_env_context\r\n     WHERE variable_name = 'OA_MEDIA'\r\n           AND concurrent_process_id =\r\n           (SELECT MAX(concurrent_process_id) FROM fnd_env_context);\r\n\r\n    -- \u628a\u5716\u7247\u653e\u5230\u5716\u7247\u7269\u4ef6\u5167\r\nread_image_file(v_img_path || '\/cp_map.jpg', 'jpg', 'CP_MAP.MAP_IMG');\r\n  EXCEPTION\r\n    WHEN OTHERS THEN\r\n      fnd_message.debug('\u7121\u6cd5\u8b80\u53d6 CP Map \u89e3\u8aaa\u5716\u6a94!!');\r\n  END;\r\nEND;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Notice: \u5716\u7247\u7d71\u4e00\u653e\u5728 OA_MEDIA , \u8ddf icon \u7684\u5716\u7247\u653e\u4e00\u8d77\u6bd4\u8f03\u597d\u627e DECLARE v_i &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[57],"class_list":["post-887","post","type-post","status-publish","format-standard","hentry","category-oracle-erp","tag-oracle-erp"],"_links":{"self":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=887"}],"version-history":[{"count":0,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=\/wp\/v2\/posts\/887\/revisions"}],"wp:attachment":[{"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/j178.mtgbb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}