Item - Supply demand Concurrent program error
I wish to find out the supply and demand for the item, like how it is displayed in the VIEW SUPPLY/DEMAND form of the inventory module.
I have read the below thread and modified the code that I got from it.
item supply/demand - basics on calculation
The code that I am using is below:
DECLARE
l_seq_num NUMBER := 0;
l_session_id NUMBER;
l_count NUMBER;
cutoff_date_j NUMBER;
l_total_temp VARCHAR2 (30);
l_avail_qty_temp VARCHAR2 (30);
CURSOR c1
IS
SELECT inventory_item_id
FROM mtl_system_items_b
WHERE organization_id = 204 AND inventory_item_id = 1;
BEGIN
fnd_global.apps_initialize (1072, 50346, 401);
inv_globals.set_org_id (204);
SELECT TO_CHAR (SYSDATE, 'j')
INTO cutoff_date_j
FROM DUAL;
FOR i IN c1
LOOP
IF (inv_tm.launch ('INXDSD'
, 'GROUP_ID='
|| TO_CHAR (l_seq_num) -- Always going to be 0
|| ' '
|| 'ORGANIZATION_ID='
|| TO_CHAR (204)
|| ' '
|| 'INVENTORY_ITEM_ID='
|| TO_CHAR (i.inventory_item_id)
|| ' '
|| 'ONHAND_SOURCE='
|| TO_CHAR (3) --1 ATP Only, 2 For Net Subinventories, 3 all subinvs
|| ' '
|| 'CUTOFF_DATE="'
|| TO_CHAR (cutoff_date_j)
|| '" '
|| 'MRP_STATUS='
|| TO_CHAR (1)
|| ' '
|| 'ONHAND_FIELD=l_total_temp'
|| 'AVAIL_FIELD=l_avail_qty_temp'
, l_total_temp
, l_avail_qty_temp
) = FALSE
THEN
DBMS_OUTPUT.put_line ('FAILED');
ELSE
DBMS_OUTPUT.put_line ('SUCCESS');
DBMS_OUTPUT.put_line (l_total_temp);
DBMS_OUTPUT.put_line (l_avail_qty_temp);
INSERT INTO xx_mtl_supply_demand_temp
SELECT *
FROM mtl_supply_demand_temp
WHERE seq_num = 0;
END IF;
END LOOP;
BEGIN
DELETE mtl_supply_demand_temp
WHERE seq_num = 0;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
inv_utilities.do_sql ('commit');END;
Now this code is populating my temporary table perfectly, the issue that I am facing is that each time this query is run it adds the same number of records, despite the fact that there are no rows in mtl_supply_demand_temp table corresponding to inventory_item_id =1.
I will explain this situation elaborately below.
1. The number of rows into xx_mtl_supply_demand_temp after the first run is 240.
2. I verify that these rows do not exist in mtl_supply_demand_temp table and delete all rows from xx_mtl_supply_demand_temp table.
3. I run the anonymous block again, now I get 480 rows.
4. This process continues and I get 720, 960, ......(keeps adding 240 rows after every run) records.
I need to get only 240 records after every run.
Why is this happening ? How can I correct this ?
1009226 wrote:
I am running oracle ebs 12.1.3 with oracle database 11g. I did go through the documents you provided but they seem irrelevant to me. Is there something that I am missing ?please see this
https://cn.forums.oracle.com/forums/thread.jspa?messageID=10958380
MTL_SUPPLY_DEMAND_TEMP Table Is Too Large [ID 182490.1]
;) AppsMasti ;)
Sharing is Caring
Similar Messages
-
Item/Supply demand Concurrent manager
when am trying to view the item supply/demand
It is giving me error
CONC-TM-NO MANAGER DEFINED (APPLICATION=INV)
(PROGRAM=INXDSD)(RESP_ID=21623) (RESP_APPL_ID=660)
should i involve my apps dba to look into this error??
or can i activate it myself??
Please Advise
MahendraHussein Sawwan wrote:
Please see these docs.
INVDVDSD - Item Supply/Demand Form Error Out Conc-Tm-No Manager Defined [ID 803374.1]
Cannot View Any Item In Supply/Demand Form In Inventory [ID 1267591.1]
Thanks,
HusseinThanks Hussein..Involving DBA.. -
Item supply/demand - basics on calculation
Hi,
can anyone help me find out more documentations or understandings on Item Supply/Demand form in the Inventory, like how the calculations are done in that form, where it's pulling the data from, which tables,...things like that.
Is it available in oracle user guides at all?
Thanks in advance.
ChitraI tried using the same code used by the form in SQL. It worked. The only issue is that the ATP group Id specific to this request is not populating appropritely. It is always populating as 0. If I register as concurrent program probably it will populate correctly. This is required in order to delete the rows correctly belonging to that session from the mtl_supply_demand_temp at the end of the session.
You can try that if you are Ok with that approach. This way you do not have worry about finding out the tables to query. Here is that I did.
DECLARE
l_seq_num NUMBER;
rtvl NUMBER;
args1 VARCHAR (240);
args2 VARCHAR (240);
args3 VARCHAR (240);
args4 VARCHAR (240);
args5 VARCHAR (240);
args6 VARCHAR (240);
args7 VARCHAR (240);
args8 VARCHAR (240);
args9 VARCHAR (240);
args10 VARCHAR (240);
args11 VARCHAR (240);
args12 VARCHAR (240);
args13 VARCHAR (240);
args14 VARCHAR (240);
args15 VARCHAR (240);
args16 VARCHAR (240);
args17 VARCHAR (240);
args18 VARCHAR (240);
args19 VARCHAR (240);
args20 VARCHAR (240);
l_session_id NUMBER;
l_count NUMBER;
cutoff_date_j NUMBER;
l_total_temp VARCHAR2 (30);
l_avail_qty_temp VARCHAR2 (30);
CURSOR c1
IS
SELECT inventory_item_id
FROM mtl_system_items_b
WHERE organization_id = 204 AND segment1 IN ('AS18947', 'AS81414');
BEGIN
fnd_global.apps_initialize (1072, 50346, 401);
--fnd_profile.put ('CONC_DEBUG', 'TC');
/* fnd_global.initialize (session_id => l_session_id
, user_id => 1072
, resp_id => 50346
, resp_appl_id => 401
, security_group_id => 0
, site_id => 0
, login_id => 1833382
, conc_login_id => -1
, prog_appl_id => 401
, conc_program_id => 33808
, conc_request_id => fnd_global.conc_request_id
, conc_priority_request => -1
, form_id => 52654
, form_appl_id => 401
, conc_process_id => NULL
, conc_queue_id => NULL
, queue_appl_id => NULL
, server_id => 147
inv_globals.set_org_id (204);
SELECT mtl_demand_interface_s.NEXTVAL
INTO l_seq_num
FROM DUAL;
SELECT TO_CHAR (SYSDATE, 'j')
INTO cutoff_date_j
FROM DUAL;
FOR i IN c1
LOOP
IF (inv_tm.launch ('INXDSD'
, 'GROUP_ID='
|| TO_CHAR (l_seq_num)
|| ' '
|| 'ORGANIZATION_ID='
|| TO_CHAR (204)
|| ' '
|| 'INVENTORY_ITEM_ID='
|| TO_CHAR (i.inventory_item_id)
|| ' '
|| 'ONHAND_SOURCE='
|| TO_CHAR (1) --1 ATP Only, 2 For Net Subinventories, 3 all subinvs
|| ' '
|| 'CUTOFF_DATE="'
|| TO_CHAR (cutoff_date_j)
|| '" '
|| 'MRP_STATUS='
|| TO_CHAR (1)
|| ' '
|| 'ONHAND_FIELD=l_total_temp'
|| 'AVAIL_FIELD=l_avail_qty_temp'
, l_total_temp
, l_avail_qty_temp
) = FALSE
THEN
DBMS_OUTPUT.put_line ('FAILED');
ELSE
DBMS_OUTPUT.put_line ('SUCCESS');
DBMS_OUTPUT.put_line (l_total_temp);
DBMS_OUTPUT.put_line (l_avail_qty_temp);
INSERT INTO xx_mtl_supply_demand_temp
SELECT *
FROM mtl_supply_demand_temp
WHERE seq_num = 0;
END IF;
END LOOP;
-- fnd_profile.put ('CONC_DEBUG', NULL);
BEGIN
DELETE FROM mtl_atp_rules
WHERE rule_id IN (SELECT atp_rule_id
FROM mtl_group_atps_view
WHERE atp_group_id = 0);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
BEGIN
DELETE mtl_group_atps_view
WHERE atp_group_id = 0;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
BEGIN
DELETE mtl_supply_demand_temp
WHERE seq_num = 0;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
inv_utilities.do_sql ('commit');END;
As you can see I have to use seq_num as zero it was always populating as zero in this table where as from form it populates correctly.
Since this is a function, probably you can use this in discoverer queuries (I am not sure). Then query this custom table (mirror of mtl_supply_demand_temp) to show the report.
Thanks
Nagamohan -
Java Concurrent Program Errors out
Hi All,
Request you to help me in this issue as this is on high priority.
we have registered a Java Concurrent Program Named Genus Merge Two P45 Pdf's which gives the output in pdf format.
The concurrent program errors out showing the log as follows :
GENUS Custom: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
GEN_MERGE_TWO_PDFS module: Genus Merge Two P45 Pdf's
Current system time is 10-MAR-2010 07:10:43
Exception in static block of jtf.cache.appsimpl.AppsCacheLogger. Stack trace is: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)
at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1201)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1044)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1013)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:980)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:967)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1002)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContextWithDBCFile(ArchitectureWrapper.java:143)
at oracle.apps.jtf.cache.ArchitectureWrapper.createDefaultAppsContext(ArchitectureWrapper.java:107)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:96)
at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:43)
at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:711)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:498)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3959)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:780)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:767)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:749)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:564)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1321)
at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1062)
at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:752)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:297)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1720)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2306)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2243)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2101)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1910)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1754)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1767)
at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:168)
at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
... 44 more
Caused by: java.lang.AbstractMethodError: oracle.sql.LnxLibThin.lnxnuc([BILjava/lang/String;)Ljava/lang/String;
at oracle.sql.NUMBER.toInt(NUMBER.java:414)
at oracle.jdbc.dbaccess.DBConversion.NumberBytesToInt(DBConversion.java:2959)
at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:4596)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:536)
at oracle.apps.fnd.security.ConnectionManager.setClientData(ConnectionManager.java:1497)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1446)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1325)
at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:884)
at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:962)
at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:780)
at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:246)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1308)
... 57 more
Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps.jtf.base.resources.FrameworkException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:718)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:498)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:119)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3959)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:780)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:767)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:749)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:564)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
Caused by: oracle.apps.jtf.base.resources.FrameworkException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
... 24 more
Exception in thread "main" oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1321)
at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1062)
at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:752)
at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:297)
at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1720)
at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2306)
at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2243)
at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2101)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2481)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2416)
at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2397)
at oracle.apps.fnd.common.ProfileCache.getProfileObject(ProfileCache.java:110)
at oracle.apps.fnd.common.NativeProfileStore.getSpecificProfileFromDB(NativeProfileStore.java:375)
at oracle.apps.fnd.common.NativeProfileStore.getProfile(NativeProfileStore.java:314)
at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1201)
at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1044)
at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1013)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:980)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:967)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
Caused by: java.lang.AbstractMethodError: oracle.sql.LnxLibThin.lnxnuc([BILjava/lang/String;)Ljava/lang/String;
at oracle.sql.NUMBER.toInt(NUMBER.java:414)
at oracle.jdbc.dbaccess.DBConversion.NumberBytesToInt(DBConversion.java:2959)
at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:4596)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:536)
at oracle.apps.fnd.security.ConnectionManager.setClientData(ConnectionManager.java:1497)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1446)
at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1325)
at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:884)
at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:962)
at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:780)
at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:246)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at oracle.apps.fnd.common.Pool.createObject(Pool.java:1308)
... 26 more
Start of log messages from FND_FILE
End of log messages from FND_FILE
oracle.apps.genus.utils.MergePdfs
Program exited with status 1
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 10-MAR-2010 07:10:47
---------------------------------------------------------------------------Hi,
FYI,
I am not sure about this error,
Use the following links, hope it may solve your problem,
http://oracleappstechnology.blogspot.com/2007/09/oracleappsfndcommonpoolexception.html
http://www.appsdbatechstuff.com/2008/06/java-workflow-mailer-does-not-startup.html
http://it.toolbox.com/wiki/index.php/Oracle_Apps_-JavaConcurrent_Program
Io exception: The Network Adapter could not establish the connection
Regards,
Hari -
Inconsistent view - Item Supply/Demand form
We are seeing an unexplained difference between the On Hand and Available values on the Item Supply/Demand form. Opened TAR with Oracle Support, they said the difference is the move orders that we have allocated. The form does not show the move order, since they are not supply/demand BUT it does subtract the allocated quantity from on-hand since the material is not available. Oracle has suggested a custom report be run, any other suggestions, short of re-writing the form?
I'm sure you know the only place to see the detail is in the pending transactions form. Have you considered building a custom zoom, or an extension, from the supply/demand form to the pending transactions form that will find the relevent pending transactions? Not a fix, but at least you can stay in the same screen.
I agree the form needs to show the allocated material, but I doubt that will happen any time soon. -
Item supply/demand can't display the po_line that need-by is multiple
item supply/demand can't display the po_line that need-by is multiple,i means that if the po_line have multi line_locations ,it can't be displayed in the supply/demand windows.
how to deal this problem?To add detail to Mikeyc7m's last post
If the folder has a default value for author then only an adminstrator could check files into that folder. This is because non administrators can not spoof their user name to be someone else's. With the default value being someone else they will never be able to check in (unless they are an admin who can spoof who the user is and in this case it will look like the user checked in a file and not the admin which is a different problem but still a problem). -
Cycle Count Reservation Issue in Item Supply/Demand Form
Hi
Few of the inventory items are stuck with Cycle Count Reservation in Item Supply/Demand Form. The Identifier field is empty. It is not tied to any sales order or PO . I checked the On hand quantity(on-hand quantity form) and the current on hand (Item Supply/Demand form) both are same. Could not able to figureout what went wrong and how the cycle count reservations are created. Even after performing the Cycle counting on these items, it did not consumed these reservations and releaved those reservations.
Could anyone suggest me please in what scenrios we get this issue and how to eliminate these records from the Item Supply/Demand Form. we are on 11.5.10.2 INV and WMS RUP4.
Thank You!
KrishnaCC reservations can be triggered by Curtail (Short) picks on mobile gun. When this happens the ATR qty gets decremented by this Qty by putting a CC reservation.
This can also be deleted from front end by changing the demand source to acc/acc alias, save and then delete.
Karthik -
How does Item Supply/demand form get populated?
Hi,
can anyone help me find out more documentations or understandings on Item Supply/Demand form in the Inventory, like how the calculations are done in that form, where it's pulling the data from, which tables,...things like that.
Is it available in oracle user guides at all?
Thanks in advance.
--SathishThank you for the response guys, but the actual issue for me is that there are duplicate rows for the same order number and item in MRP Work bench Supply/demand form of Purchasing User Responsibility although there are only single rows for them when viewed from the inventory responsibility. So, Could you please help me finding out the reason behind why there is duplicate data in the MRP supply/demand form??
Thanks in advance
--Sathish -
Hi,
We are setting up a shell script as a concurrent program which has an scp command in it. When we run the shell script from the command prompt it works fine, but when run through the front end (concurrent program) it throws the below error:
ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
any ideas on this?
-RiteshCustom Application: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
FTP_SCRIPT module: Secure File Transfer Program
Current system time is 07-SEP-2011 11:10:29
Connecting to test4000.test.com...
Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to test4000.test.com [10.122.43.53] port 22.
debug1: Connection established.
debug1: identity file /home/apptest/.ssh/id_rsa type 1
debug1: identity file /home/apptest/.ssh/id_dsa type 2
debug1: Logging to host: test4000.test.com
debug1: Local user: appomim Remote user: appmq
debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1.3
debug1: match: Sun_SSH_1.1.3 pat Sun_SSH_1.1.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.1.3
debug1: use_engine is 'yes'
debug1: pkcs11 engine initialized, now setting it as default for RSA, DSA, and symmetric ciphers
debug1: pkcs11 engine initialization complete
debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible
Unknown code 0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: Peer sent proposed langtags, ctos: en-CA,en-US,es-MX,fr,fr-CA,ja-JP,ko,ko-KR,zh,zh-CN,zh-HK,zh-TW,es,ja,i-default
debug1: Peer sent proposed langtags, stoc: en-CA,en-US,es-MX,fr,fr-CA,ja-JP,ko,ko-KR,zh,zh-CN,zh-HK,zh-TW,es,ja,i-default
debug1: We proposed langtags, ctos: i-default
debug1: We proposed langtags, stoc: i-default
debug1: Negotiated lang: i-default
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: Remote: Negotiated main locale: C
debug1: Remote: Negotiated messages locale: C
debug1: dh_gen_key: priv key bits set: 122/256
debug1: bits set: 1619/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
debug1: Calling cleanup 0x34d60(0x0)
Host key verification failed.
debug1: Calling cleanup 0x34d60(0x0)
Connection closed
Error
/test/apptop/testappl/xxx/11.5.0/bin/FTP_SCRIPT
Program exited with status 1
Executing request completion options...
Finished executing request completion options.
Edited by: user645203 on Sep 7, 2011 10:31 AM -
Item Supply Demand and Purchase Orders
Hi All,
I am facing strange issues -
1: Purchaser changes Need By and Promise Date in Purchase Order. But when we query item in Supply/Demand, it shows old dates.
2: There are few items where purchase orders are not shows.
I verified that -
1: Planning Manager is running
2: The Subinventory on Purchase Order is Nettable
3: PO is approved
Appreciate any pointers on this please.1009226 wrote:
I am running oracle ebs 12.1.3 with oracle database 11g. I did go through the documents you provided but they seem irrelevant to me. Is there something that I am missing ?please see this
https://cn.forums.oracle.com/forums/thread.jspa?messageID=10958380
MTL_SUPPLY_DEMAND_TEMP Table Is Too Large [ID 182490.1]
;) AppsMasti ;)
Sharing is Caring -
The Concurrent Program Error (Report)
Hi,
I am new to apps.
Here i have created the sample report,
the query is very simple
select
h.Segment1,
h.creation_date,
h.vendor_id,
h.currency_code,
s.vendor_name,
l.line_num,
l.item_id ,
l.item_description,
l.unit_meas_lookup_code,
l.quantity,
l.unit_price,
Nvl(l.quantity,0)* Nvl(l.unit_price ,0) total
from po_headers_all h,
po_lines_all l,
Ap_suppliers S
where h.PO_HEADER_ID = l.PO_HEADER_ID
and h.VENDOR_ID = s.VENDOR_ID
and h.org_id = fnd_profile.value('ORG_ID')
and H.Segment1 = :P_po_numberThe above query in report is call 'G-Segment1'. In which i add a formula column called CF_net_value,
The reason to add the formula column is that i need to format currency using fnd format_currency
so i add the following code in the formula column .
function CF_Net_valueFormula return Number is
begin
srw.reference(:Currency);
srw.reference(:total);
srw.user_exit('FND FORMAT_CURRENCY
CODE=":Currency"
DISPLAY_WIDTH="15"
AMOUNT=":TOTAL"
DISPLAY=":Cf_net_value"
Return(:cf_net_value);
end;In RTF template i am using the CF_net_value to display the Total (i think that will be formatted one).
After the report deployment and run the concurrent program i am receive the following error.
REP-1416: '': User exit 'G_Segment1'. .
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1416: '': User exit 'G_Segment1'. Please help me in this struggle.
Thanks & Regards,
KanishPlease post the details of the application release, database version and OS along with the developer version you are using.
Please see if old threads help -- https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-57054&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
ESYU: PO line/shipment가 Item supply/demand에 보이지 않는 경우 add/correct 하는법
Purpose
Oracle Purchasing - Version: 11.5.10
Purchase Order Line/Shipment가 Item Suppy/Demand에 나타나지 않을때 missing
supply를 add 하거나 correct 하는 방법에 대해 알아본다.
Solution
1. Record 확인을 위해 아래 query를 이용한다.
Approved POs에 대한 Missing Supply:
SELECT DISTINCT poll.line_location_id
FROM po_line_locations poll,
po_headers poh
WHERE poh.po_header_id = poll.po_header_id
AND poh.authorization_status = 'APPROVED'
AND Nvl(poll.closed_code,'OPEN') NOT IN
('CLOSED','FINALLY CLOSED','CLOSED FOR RECEIVING')
AND Nvl(poll.cancel_flag,'N') <> 'Y'
AND poll.shipment_type IN ('STANDARD')
AND vendor_order_num is not null
AND nvl(poll.quantity_received,0) <=0
AND nvl(poll.quantity_shipped,0) <=0
AND NOT EXISTS
(SELECT * FROM mtl_supply mtl
WHERE mtl.po_line_location_id=poll.line_location_id);
or
Diagnostic Purchasing Purchase Order/Release Check Setup (POTransactions115.sql)
<205446.1>를 실행할 수 있다.
이 sql은 주어진 PO(Standard, Blanket, Planned, Contract)/Release (Blanket & Scheduled)
No와 관련한 모든 정보를 취합한다. 이 정보는 PO 관련한 issue의 해결과 진단에 이용될 수 있다.
2. Close Status = Open 이고 Quantity가 여전히 receive를 위해 pending이라면, 아래 steps을
실행한다.
2-1. PO Summary form에서 PO를 조회 후 issue가 되고 있는 PO Line/Shipment로 이동한다.
Tools> Control Close를 한다. Close 하면 supply를 delete 하게 된다.
2-2. Closed 된 PO line shipment를 선택 후 Tools> Control에서 다시 reopen 한다.
이 작업은 상응하는 수량만큼의 supply를 재생성해 준다.
2-3. mtl_supply의 record를 check 하고, supply/demand 화면에서 조회가 되는지 확인한다.
!!! 위 steps은 TEST instance에서 먼저 실행해 보아야 한다.
Reference
Note 416113.1 -
Hello,
I am using the package INV_TM.LAUNCH to gather supply demand data into my custom temp table. For some items, I see that the ON_HAND_QUANTITY order does not match the order on the Supply Demand form. Has anyone seen this issue?
Also, this package return two values for variables TOTAL_TEMP and AVAIL_QTY_TEMP, both of them are NULL.
Please advice!!Hello,
I am using the package INV_TM.LAUNCH to gather supply demand data into my custom temp table. For some items, I see that the ON_HAND_QUANTITY order does not match the order on the Supply Demand form. Has anyone seen this issue?
Also, this package return two values for variables TOTAL_TEMP and AVAIL_QTY_TEMP, both of them are NULL.
Please advice!! -
Transaction audit report concurrent program error with signal 4
My EBS is 11.5.10.2 on AIX 5.3 with DB 10.2.0.4
When i run a customized transaction audit report in production getting " program completed with error signal 4"
can any one kindly provide a quick solution as iam facing this in my production
thanks in advance .
Rameshplease see
Note: 215601.1 - Diagnosing and Troubleshooting Signal Errors
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=215601.1
Enable trace on this concurrent program, and submit it again. Let's see if you get more details about the error in the concurrent request log file. -
Receiving Transaction Manager concurrent program errors out with INACTIVE, NO Manager
Hi,
We have an R12.1.3, 2-node (1 node Apps, 1 node DB) ERP system on Sparc 64, Solaris 10 Machines.
All the concurrent managers including Standard Manager and Receiving Transaction Manager are running fine.
When we are running the concurrent program Receiving Transaction Manager(RCVTPO), it errors out with Inactive No Manager error.
I am not being able to find any errors in the log files of CM or DB.
Could someone help me resolve this error. Its kinda urgent
Thanks.
MuneerPlease see the solution in (PODAMGR And RCVOLTM Inactive And Cannot Be Started (Doc ID 726158.1)).
Are there any errors in the database log file?
If the above didn't help, please run cmclean.sql and ccm.sql scripts.
Concurrent Processing - CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager Tables (Doc ID 134007.1)
Concurrent Processing - CCM.sql Diagnostic Script to Diagnose Common Concurrent Manager Issues (Doc ID 171855.1)
Thanks,
Hussein
Maybe you are looking for
-
Hi, I've taken a screenshot of my problem. For instance, as you can see, my jpg Ire19151-0010 shows as a blue «gaz pump». On its sides, other jpg do nicely. What's puzzling, is all of them come from the same folder and all used to appear just OK with
-
Mac mini 10.4 non standard resoloution
hi all i hope someone an help me i have a mac mini osx 10.4 connected to a sony rear projection tv via vga when i try to run the initial setup of osx i 1st see the apple logo then the logo with spining spokes then screen gose black i think due to the
-
Gross Weight, Net weight in Basic views
Hi, I have encounter this issue where we have set Gross Weight, Net weight as mandatory in material master Basic view. It works fine when we create only the basic view, but when we create Basic view + Purchasing view, the Gross weight and net weight
-
Server CAL License for SAP Server
Hi Do we need Windows Server CAL for SAP Server, as we have Server 2008 R2 for our SAP Server. Please guide. Regards Ajay Goel
-
Problem with action script to button
Hello all. I'm having a problem with my adobe flash CS3 action script. My button cant link to the other URL. I tried to put an action script but i fail. anyone can help me? here the attachment for my flash document.