1.äºè§£Oracle ERP âBOMPIINQ.IMPLODER_USEREXITâ ç说å¦ä½ä½¿ç¨ã
äºè§£Oracle ERP âBOMPIINQ.IMPLODER_USEREXITâ ç说å¦ä½ä½¿ç¨ã
Oracle ERP å解BOMå ä»ç»BOMPIINQ.IMPLODER_USEREXIT æè¿è¦åä¸ä»½æ¥è¡¨ï¼ä»ECOä¿®æ¹çç©ææ¾åºæææ¶åçç¶çº§ç©æåæåä¸æå¯éå®SOçèµæï¼æç©æ使ç¨å¤çFormæºç è½½ä¸æ¥æ¥çï¼åç°ä½¿ç¨çæ¯è¿ä¸ªOracleçèªå¸¦å ï¼å¨ç½ä¸æç´¢äºå¥½äºèµæé½æ²¡è¿ä¸ªå ç使ç¨è¯¦è§£ã åæ¥å¨æ¥è¡¨ç¾¤()ç½åçå¤æ¬¡å¸®å©ï¼ä»¥å使ç¨ä»£çæå¡å¨ç¿»å¢æ¥è¯¢å°ä¸ç¯åæåç»äºè½æåè¿è¡äºã å ¶é´è¿æä¸äºå°ææ²ï¼å 为åæ¥ä½¿ç¨æ£å解BOMä¹æç¨å°ä¸´æ¶è¡¨ï¼æ²¡æåå§ç¨æ·ç¯å¢ï¼ä½è¿ä¸ªå解çä¸åå§å°±æ²¡æç»æï¼æ³èµ·ç¾¤ä¸æä½æå说è¿ï¼æå°±è¯äºä¸ä¸ï¼å± ç¶åºæ¥äºã å¯è½ä½ è§å¾è¿äºé½ä¸å¼ä¸æï¼ä½æ¯ææ¶æéä¸ä¸ªåæ¯æ²¡ä»»ä½æ示ï¼ä½ å¯è½ä¸¤ä¸å¤©ä¹æ¾ä¸åºæ¥åå ã 好äºï¼è¿æ¯è¯´é ç¹å¦ä½ä½¿ç¨è¿ä¸ªå§ã å æè¿ä¸ªå çåæ°è¯´æå¤å¶è¿æ¥ã File Name : BOMPIINQ.sql | | DESCRIPTION : This 厦门孕期吃溯源码燕窝file is a packaged procedure for the imploders. | This package contains 2 different imploders for the | single level and multi level implosion. The package | imploders calls the correct imploder based on the | # of levels to implode. | Parameters: org_id organization_id ç»ç»ID | sequence_id unique value to identify current implosion è¿ä¸ªä¸æ¯è§£BOMçåºå·ï¼æ¯ç¨æ¥è¯¢äº§ççã | use value from sequence bom_small_impl_temp_s | levels_to_implode å解BOMçå±çº§ | eng_mfg_flag 1 - BOM å·¥ç¨è¿æ¯ç产BOM | 2 - ENG | impl_flag 1 - implemented only çæ | 2 - both impl and unimpl | display_option 1 - All ææï¼å å«å¤±æç ï¼ | 2 - Current å½å | 3 - Current and future å½ååæªæ¥ | item_id item id of asembly to explode ä½å±ç©æå°±æ¯èµ·å§ç©æ | impl_date explosion date dd-mon-rr hh:mi | err_msg error message out buffer è¿åçéè¯¯ä¿¡æ¯ | error_code error code out. returns sql error code è¿åçé误代ç | if sql error, if loop detected. | organization_option ç»ç»è®¾å® | 1 - Current Organization | 2 - Organization Hierarchy | 3 - All Organizations to which access is allowed | organization_hierarchy | Organization Hierarchy Name ----------------------------------------------------------------------------------------------------------- /*åå§ç¯å¢é¨ä»½,æ ¹æ®ä½ èªå·²çç¯å¢è®¾å®*/ BEGIN FND_GLOBAL.APPS_INITIALIZE(USER_ID => ,RESP_ID => ,RESP_APPL_ID => ); END; /*主ç¨åºé¨ä»½*/ ----------------------------------------------------------------------------------------------------------------------------------------------------- declare V_SEQUENCE_ID number; v_err_msg VARCHAR2(); v_err_code NUMBER; V_DATE VARCHAR2 (); begin delete BOM_SMALL_IMPL_TEMP; -- V_SEQUENCE_ID:=; SELECT BOM_IMPLOSION_TEMP_S.NEXTVAL INTO V_SEQUENCE_ID FROM SYS.DUAL; SELECT TO_CHAR (SYSDATE, 'YYYY/MM/DD HH:MI') INTO V_DATE FROM DUAL; BOMPIINQ.IMPLODER_USEREXIT ( SEQUENCE_ID => V_SEQUENCE_ID, ENG_MFG_FLAG => 2, ORG_ID => , IMPL_FLAG => 2, DISPLAY_OPTION => 1, LEVELS_TO_IMPLODE => , ITEM_ID =>, -- IMPL_DATE => V_DATE, unit_number_from =>null, unit_number_to=>null, ERR_MSG => v_err_msg, ERR_CODE =>v_err_code, organization_option =>3, organization_hierarchy =>null, serial_number_from =>null, serial_number_to =>null ); end; è¿è¡å®æåä½ å°±å¯ä»¥ä½¿ç¨ select * from BOM_SMALL_IMPL_TEMP è¿ä¸ªä¸´æ¶è¡¨äºï¼å¦æ没ææ°æ®å ççç¨æ·ç¯å¢åå§æåä¸ã [转载请ä¿ç]:ITç½æ /IT//n.html