今天會計反映關不了工單。咱們公司關工單的程序是本身開發的,能夠整批關。報以下錯誤。我試着用Standad程序關,能夠。看來應該是咱們開發的程序有問題。後來發現,是拋到WIP_DJ_CLOSE_TEMP的ACTUAL_CLOSE_DATE的數據有問題,只要沒有時分秒的,就會報錯。檢查本身開發的程序,發現代碼中有個判斷,時間是每個月最後一天,時間就拋TRUNC (SYSDATE)。去掉這個判斷,所有拋SYSDATE後,程序恢復正常。+---------------------------------------------------------------------------+ Work in Process: Version : 12.0.0 Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved. WICDCL module: Close Discrete Jobs +---------------------------------------------------------------------------+ Current system time is 28-FEB-2015 11:46:39 +---------------------------------------------------------------------------+ **Starts**28-FEB-2015 11:46:41 **Ends**28-FEB-2015 11:46:41 +---------------------------------------------------------------------------+ Start of log messages from FND_FILE +---------------------------------------------------------------------------+ WIP DISCRETE JOB CLOSE GROUP ID 217029 Number of jobs failed because release date before close date : 0 Number of jobs failed due to Pending Clocks : 0 Cancelling Move Orders if any exists return status S Pending Txns Check Number of jobs failed due to Pending txns : 0 Inside Procedure Close Date Close date precedes the txn date for job 1XXXXXXXXX Number of failed jobs because of past close date : 1 Delivery Quantity Check Number of jobs failed in Delivered Quantity : 0 lot validate delete Existing reservations Current accounting Period ID : 57 Exception has occured +---------------------------------------------------------------------------+ End of log messages from FND_FILE +---------------------------------------------------------------------------+ +---------------------------------------------------------------------------+ No completion options were requested. Output file size: 211 +---------------------------------------------------------------------------+ Concurrent request completed Current system time is 28-FEB-2015 11:46:41 +---------------------------------------------------------------------------+