Transaction Affinity
Hi --
We have an MDB which basically extracts several security trades from a trading system source table and puts these trades as JMS messages into a Distributed Queue. The MDB's transaction is container managed. For several other reasons, I would like to use CMT for this MDB. We have two JMS Servers and Distributed Queues in a cluster.
The Transaction Affinity section in http://e-docs.bea.com/wls/docs90/jms_admin/advance_config.html#1067265 says that "When producing multiple messages within a transacted session, an effort is made to send all messages produced to the same WebLogic Server. Specifically, if a session sends multiple messages to a single distributed destination, then all of the messages are routed to the same physical destination. If a session sends multiple messages to multiple different distributed destinations, an effort is made to choose a set of physical destinations served by the same WebLogic Server."
How do I defeat this "transaction affinity" so that the load is distributed among two JMS servers int he cluster?
Please let me know your thoughts.
Thanks,
K
Hi --
We have an MDB which basically extracts several security trades from a trading system source table and puts these trades as JMS messages into a Distributed Queue. The MDB's transaction is container managed. For several other reasons, I would like to use CMT for this MDB. We have two JMS Servers and Distributed Queues in a cluster.
The Transaction Affinity section in http://e-docs.bea.com/wls/docs90/jms_admin/advance_config.html#1067265 says that "When producing multiple messages within a transacted session, an effort is made to send all messages produced to the same WebLogic Server. Specifically, if a session sends multiple messages to a single distributed destination, then all of the messages are routed to the same physical destination. If a session sends multiple messages to multiple different distributed destinations, an effort is made to choose a set of physical destinations served by the same WebLogic Server."
How do I defeat this "transaction affinity" so that the load is distributed among two JMS servers int he cluster?
Please let me know your thoughts.
Thanks,
K
Similar Messages
-
I am trying to enable the the Exalogic Enhancements per the deployment guide. The documentation states to create the gridlink data source and disable the Supports Global Transactions. We need to have this option selected for our application to function properly. If I enable Supports Global Transactions, does this disable any of the gridlink features?
http://docs.oracle.com/cd/E18476_01/doc.220/e18479/optimization.htm#BABIHEDIHi PerfDBA ,
GridLink for RAC provides more intelligent load-balancing across RAC nodes based on the current workload of each RAC node, faster connection failover if a RAC node fails and more transparent RAC node location management. Active GridLink is also able to handles global transactions more optimally, where multiple individual database operations have been encapsulated into a single atomic transaction, by the enterprise Java application.
GridLink uses XA Transaction Affinity to pin all related database calls to the same RAC node. This avoids the overhead that occurs when a global transaction is spread across multiple RAC nodes.
So, answering your question, the "Supports Global Transactions" would not disable gridlink features but the data processing may not be as optimal as if all the steps of the guide mentioned bu you are followed.
For further information, please take a look at http://www.oracle.com/us/products/middleware/exalogic-software-overview-345527.pdf
Thanks,
Cris -
Hi all, Does exactly know the answer to the following question.? Thanks
Q. A customer has a development environment that uses the auto-deployment feature. The customer
claims the application is not redeployed even if the new version is copied to an application
subdirectory. Which two parameters of the configuration should you check?
A. Checkif archive file in the compressed version has a new REDEPLOYfile.
B. If serverwas started in the Development Mode. Auto-deploymentisnot supported in production
mode.
C. If the application includes anEJB 3module. Auto-deployment is not supported forEJBs.
D. You changeJVM from HotSpot to JRockit. Auto-deployment is not supportedin HotSpot auto
deployment.
E. If the domain is a single-server domain. Auto-deployment is not supported in
multiserverdomains.
Q. A customer has a critical, performance-sensitive web application that connects to a multimode
Oracle RAC database. Which feature of WebLogic can provide signification benefit?
A. The Web Session Affinity feature of Active GridLink for RAC.
B. WebLogic Clustering
C. The Transaction Affinity feature of Active GridLink for RAC
D. Coherence*Web Session Replication
Q. What is the architectural benefit of keeping WebLogic Server transaction log in the database?
A. Oracle does not allow replicating files between data centers, so keeping transaction log in
database allows for replication.
B. Many transactions in WebLogic are database centric, so keeping log in database makes Two
Phase Commit protocol possible.
C. It obviates the need to keep in sync two replication technologies (file and database) between
data centers. The single replication technology is used for frequently changing data.
D. Transaction log in a file system is extremely slow so it cannot beefficiently replicated.
Q. Which two options best describe how the Maven Plugin for WebLogic enables WebLogic to be
effectively used in a Continuous Integration environment?
A. execution of unit and integration tests
B. management of the life cycle of a WebLogic domain including creation, configuration, and
server life-cycle management
C. deployment and undeployment of applications
D. Java profiling
Q. A customer needs to analyze an application that was developed for Oracle Application Server
10gR2 or 10gR3 (OC4J) in order to prepare to upgrade the infrastructure to WebLogic 12c.
customer wants understand the changes required to be made to the application and how to
configure WebLogic in to support the newly upgraded application.
Which three actions would you recommend for upgrading the customer's application and server
configuration?
A. Use Oracle Upgrade Managerto create a new WebLogicdomain template from an
OAS/OC4Jinstallation and redeploy the application.
B. Use SmartUpgrade to analyze the OAS/OC4Jserver configuration and create
WebLogicconfiguration files.
C. Use SmartUpgrade to analyze the application archive (EAR/WAR/JAR) Source Directory
orIDeveloperprojectand generate a report that describes the areas of the application that need
tobe updated.
D. Use the Configuration Wizard toextend an existing WebLogic domain with OAS/OC4Jsupport
libraries and redeploy theapplication.
E. Use SmartUpgrade to generate application artifacts and deployment descriptors that can
bedeployed to WebLogic.Hi, I have checked your question and answer. And I agree with you.
Q. A customer has a development environment that uses the auto-deployment feature. The customer
claims the application is not redeployed even if the new version is copied to an application
subdirectory. Which two parameters of the configuration should you check?
-OK I Agree - Answer :
E. If the domain is a single-server domain. Auto-deployment is not supported in
multiserver domains.
B. If server was started in the Development Mode. Auto-deployment is not supported in production
mode.
Q. A customer has a critical, performance-sensitive web application that connects to a multimode
Oracle RAC database. Which feature of WebLogic can provide signification benefit?
Maybe I'm not sure - Answer:
A. The Web Session Affinity feature of Active GridLink for RAC.
The above feature would maintain stickiness to the web session to the RAC Node.
It is a new feature in WLS 12c and helps to enhance performance of web applications specifically.
Q. What is the architectural benefit of keeping WebLogic Server transaction log in the database?
-OK I Agree - Answer :
C. It obviates the need to keep in sync two replication technologies (file and database) between
data centers. The single replication technology is used for frequently changing data.
Q. Which two options best describe how the Maven Plugin for WebLogic enables WebLogic to be
effectively used in a Continuous Integration environment?
-OK I Agree - Answer :
B. management of the life cycle of a WebLogic domain including creation, configuration, and
server life-cycle management
C. deployment and undeployment of applications
Q. A customer needs to analyze an application that was developed for Oracle Application Server
10gR2 or 10gR3 (OC4J) in order to prepare to upgrade the infrastructure to WebLogic 12c.
customer wants understand the changes required to be made to the application and how to
configure WebLogic in to support the newly upgraded application.
Which three actions would you recommend for upgrading the customer's application and server
configuration?
-OK I Agree - Answer :
B. Use SmartUpgrade to analyze the OAS/OC4Jserver configuration and create
WebLogicconfiguration files.
C. Use SmartUpgrade to analyze the application archive (EAR/WAR/JAR) Source Directory
orIDeveloperprojectand generate a report that describes the areas of the application that need
tobe updated.
E. Use SmartUpgrade to generate application artifacts and deployment descriptors that can
bedeployed to WebLogic. -
Transaction Control in Dynamic Regions
Hi,
I have few questions on dynamic regions, i would like to clarify them. I have 2 task flows which initiate a transaction on initialization.
One of them will be shown in dynamic region by clicking link1 in left panel. Dynamic region is in right panel. Say i am in between the transaction in TF1 and i click on link2 to open TF2, TF2 initiates a new transaction again.
But what will happen to the transaction which was initiated by TF1? When do that be reclaimed by weblogic? How long will in it be attached to AM?
I appreciate any help on these. We are in the process of fine tuning our application. Would like to know DB connection impact.
Thanks,
Sunil.
.Hi Frank,
Thank you for your reply, something i do not understand very clearly is this .... user has performed the following actions ...
Link1 -- > DynamicRegion --> TF1 --> Txn1
Link2 --> DynamicRegion --> TF2 --> Txn2
Link1 --->DynamicRegion --> TF1 --> Txn3
Just because of few click by user on links, he is initiating a transaction. As per my understanding everytime TF will ask ADF bc to use a new transaction, due to which many number of Txn gets created and due to session affinity at AM level I think it tries to retain all TXNs and AMs?
When do these TXNs and AMs will be released back in pool? Due to session affinity if TXNs and AMs retained back till the session ends, then a very large number of resources (DB Connections, Memory support for application servers to hold back all instances of AMs) i require to support simple applications.
Please help me understanding this.
Thanks,
Sunil.
. -
Error using transaction CTBW_META
Hello,
I try to use CTBW_META to enhance 0MATERIAL_ATTR with classification.
The new datasource in bw 1CL_OMAT001 work find. i can retrieve the data.
But the datasource is not present in the table RSOLTPSOURCE
when i try to use this datasource in CTBW_META i receive this error :
"Entry A DE1CLNT120 1CL_OMAT001 does not exist in RSOLTPSOURCE (check entry)"
i follow this document :
http://affine.co.uk/cms/uploads/How_to_Extract_Classification_Data_into_BW.pdf
Thanks for you reply
Gilles.Hello Gilles,
Transaction CTBW_META creates the initial assignment of a classification datasource (like 1CL_OMAT003) to an object (like 0MATERIAL). It's not designed for later changes. They have to be done manually.
It may be that the datasource 1CL_OMAT003 has been replicated as a 7.0 datasource rather than 3.x datasource. Please check if the datasource can be seen in table RSDS - if so then this is the case.
At present the system looks for them in table RSOLTPSOURCE but they are not available hence this issue.
This being the case, you have to migrate them back to a 3.x datasource using transaction RSDS. See notes 938210/936644
and consult the online documentation.
936644 3.x DataSource:No active version displayed in UI (emulation
After you migrate the datasources, replicate the metadata once again Then it should work fine.
Kind Regards,
Des -
Node Affinity and failover configuration
One of my application need to have node affinity turned on. I wan to know the strategies for failover in this case for uninterrupted operation.
I know in the non node affinity case the connection can transparently failover to another node in the clusterwhen an application always connects to only one of the nodes in the RAC cluster, then the application is using node affinity. There are a few reasons why you might want that. To seperate different apps between the nodes, workloads, etc... in order to keep the overhead of the global cache to a minimum and therefore increasing performance. So, generally you would like to keep similar transactions on the same node.
You can setup your tnsnames for the app so that it uses the same node unless it failsover. -
Hi all
I am trying to do some Multi Product Affinity analysis. Database is sql 2008. The Business Question is
When customers purchased product A and Product B in one transaction, what other product/s did they purchase in the same transaction. See the sample data below. In this example , if I choose product '2008' and '2009' then the output expected is
Associated_Product qty
2006 1
Thank you
Transaction Header
Transaction_ID
Order_Amt
80268
23
80270
10
80271
12
Transaction_Detail
Transaction ID
Line No
Product_ID
Qty
Amt
80268
100
2008
2
10
80268
101
2009
1
6
80268
102
2006
1
7
80270
103
2008
2
10
80271
104
2008
1
5
80271
105
2006
1
7This is relational division problem. You can read more about it in this article:
http://social.technet.microsoft.com/wiki/contents/articles/22165.t-sql-relational-division.aspx
declare @ProductsList table (Product_Id int)
insert into @ProductsList (Product_ID) values (2008),(2009) -- list of products selected
;with cteTransactions as (select TD.TransactionID
from dbo.Transaction_Detail TD inner join @ProductsList PL ON TD.Product_ID = PL.Product_ID
GROUP BY Transaction_ID
HAVING COUNT(TD.Product_ID) = (SELECT COUNT(*) FROM @ProductsList)) -- assuming that Transaction_Detail table has product_ID unique within transaction
select * from Transaction_Detail TD where Transaction IN (select Transaction FROM cteTransactions) and Product_ID NOT IN (select Product_ID FROM @ProductsList) -- find other products only
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Stateless with Session Affinity and set jbo.ampool.maxpoolsize = 1
Hi,
I would like to know more about "Stateless with Session Affinity".
If I set
jbo.ampool.maxpoolsize = 1
jbo.ampool.minavailablesize = 1
jbo.ampool.maxavailablesize = 1
in application module configuration
and have two browser clients at different computers.
If I update some values and post changed data to database without commit
at one browser
some updates using jdbc prepared statements through database connection
with following code snippet in application module
Implementation:
private Connection getCurrentConnection() throws SQLException {
PreparedStatement st = getDBTransaction().createPreparedStatement("commit",1);
Connection conn = st.getConnection();
st.close();
return conn;
, will the other web client see these post changed data with the only one
application module through the only one database connection (ignores PS_TXN connection)?
If the answer is "no", can someone explain why bc4j can do this?Hi,
It's not clear to me from your post what you are trying to test. Generally speaking, every HttpSession (~browser) is assocated with a pooled AM that is associated with a single transaction context that is associated with a single "application" JDBC connection.
HttpSession->AM->Txn->Connection
The session affinity features of the BC4J framework maintain this logical dependency for you without necessarily having to tie up the physical resources at each layer.
Now, if one session posts but does not commit then the other sessions will not "see" those changes (different AMx, Txns, Connections). Once a session does commit then those changes will be visible to other sessions. However, if those other sessions have already queried/cached the modified data then those sessions will not "see" it until their caches are refreshed. Please see the documentation for a description of BC4J caching and refreshing caches. The standard technique to refresh a VO cache is to invoke executeQuery.
Hope this helps,
JR -
Error while comitting a transaction in oSB. The following is the error stack
Error while comitting a transaction in OSB. The following is the error stack
<Apr 20, 2015 12:00:15 AM MDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-1AE41F1CAE45F2B146FD(296700848),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=120,XAServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(ServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(ServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(state=rolledback,assigned=OSB_MS1),xar=WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_11603460297,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.jta.DataSource]=(ServerResourceInfo[weblogic.jdbc.jta.DataSource]=(state=ended,assigned=none),xar=CMSDS,re-Registered = false),SCInfo[OSB_PRDKS_DOMAIN+OSB_MS1]=(state=rolledback),SCInfo[SOA_PRDKS_DOMAIN+SOA_MS2]=(state=pre-prepared),properties=({}),local properties=({weblogic.jdbc.jta.CMSDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=OSB_MS1+soaprd-vip-osb-ms1.cos.is.keysight.com:8001+OSB_PRDKS_DOMAIN+t3+, XAResources={eis/wls/Queue, WEDB_EVEREST_OSB_PRDKS_DOMAIN, XREFDS_OSB_PRDKS_DOMAIN, eis/activemq/Queue, CustomSchemaDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS1_OSB_PRDKS_DOMAIN, eis/tibjmsDirect/Queue, eis/jbossmq/Queue, eis/Apps/Apps, MobileApps_AOS_MDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_DRDS_OSB_PRDKS_DOMAIN, WSATGatewayRM_OSB_MS1_OSB_PRDKS_DOMAIN, eis/webspheremq/Queue, eis/AQ/aqSample, SBLPROD_OSB_PRDKS_DOMAIN, wlsbjmsrpDataSource_OSB_PRDKS_DOMAIN, eis/aqjms/Queue, CMSDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_WseeFileStore_auto_1, FAP_OSB_PRDKS_DOMAIN, eis/sunmq/Queue, eis/pramati/Queue, FMWAPPDS_OSB_PRDKS_DOMAIN, weblogic.jdbc.jta.DataSource, GSDC_OSB_PRDKS_DOMAIN, eis/tibjms/Topic, eis/fioranomq/Topic, WLStore_OSB_PRDKS_DOMAIN_FileStore_MS1, PresidioOracleAppsDS_OSB_PRDKS_DOMAIN, GSDCDS_OSB_PRDKS_DOMAIN, eis/aqjms/Topic, CustOutDS_OSB_PRDKS_DOMAIN, OFMW/Logging/BAM, MobileAppsDS_OSB_PRDKS_DOMAIN, FIDDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN__WLS_OSB_MS1, HRMSDS_OSB_PRDKS_DOMAIN, WEDB_OSB_PRDKS_DOMAIN, OracleAppsDS_OSB_PRDKS_DOMAIN, eis/wls/Topic, eis/tibjms/Queue, eis/tibjmsDirect/Topic, IntrastatDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_COSDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS2_OSB_PRDKS_DOMAIN, EVEREST_WEDB_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1, Everest_OSB_PRDKS_DOMAIN},NonXAResources={})],CoordinatorURL=SOA_MS2+soaprd-vip-soa-ms2.cos.is.keysight.com:8002+SOA_PRDKS_DOMAIN+t3+): javax.transaction.SystemException: Lost connection to server while commit was in progress, ignoring because initiating server is not coordinating server. Remote Exception received=weblogic.rjvm.PeerGoneException: ; nested exception is:
java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
java.io.InvalidClassException: oracle.jdbc.xa.OracleXAException; local class incompatible: stream classdesc serialVersionUID = -2542408691177300269, local class serialVersionUID = -4551795881821760665
at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:376)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:224)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:552)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:423)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:325)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Hi,
Have you tried Cancelling the release before adding the version?
Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
Please let me know if it worked!
Vijay -
hi i have a doubt....
in fbl1n transaction, there are open items and cleared items.
in it the cleared items for certain document types such as invoice etc is not present in the open item table (bsik)
however the cleared items for document types such as general voucher its present in the open items table (bsik)
is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
plz exlain!Hi
There are 2 tables(open and Closed Items) in FI for Account Payables and Account Receivables and GL accounts
1.Account payables: BSIK is Open Items and BSAK is Closed items
2.Account Receivables; BSID and BSAD for OPEN and closed items
3/GL accounts : BSIS and BSAS for Open and Closed Items
<b>Reward points for useful Answers</b>
Regards
Anji -
Hi All,
I want to create an Order in CRM with reference to the Standard Order (which is created in ECC and replicated from ECC to CRM).
When I open the Transaction (which is created in ECC and replicated from ECC to CRM).
in CRM and clikc on follow up I am not able to create the follow up transaction.
The follow up transaction is in display mode.
Can anybody give me inputs in this regard? where is wrong
Will award the points for the helpful answer.
Regards,
-Rahul.Hi Shalini,
The document is replicated from ECC to CRM without any errors.
For this document I just want to create follow up transaction in CRM.(I dont want to change the document in CRM)
The follow up transaction is in display mode. this is my problem.
Hi Rekha:
I have done following setting in CRM to create follow up transaction in CRM for the document which is replicated from ECC to CRM.
1) Defined the Copying Control for Transaction type
2) Defined Copying Control for Item categories
3) Defined Item category determination when copying
Thanks in advance,
Regards,
-Rahul. -
Follow-up Business Transactions
Hi Experts,
I have a problem with follow-up transactions. I created two transactions, a Quotation and a Standard Order.
Then I created follow-up for these transactions in the copying control, ZAG --> ZTA. Now, when I create a new Quotation in the Web Client UI and I open the drop down list "create follow-up" I just can see many diferent activities like Contact, Task, incoming e-mail, etc. but no Business Transaction.
How can I display the new created Business Transaction ZTA (Standard Order) in the drop-down list?
Hope sb can help me.
Thanks.
SebastianHello Sudeep De,
Thanks for your reply but thats not the problem.
Also in the standard I have the same problem. The standard also defines follow-up transaction for AG (Quotation), AG --> TA (Standard Order) in the copying control. When I log in whith the role salespro and I create a new Quotation, save this Quotation and try to create a new Standtard order with the drop-down list "create follow-up", I just can see activites but no Business Transactions. Why can I just see activities (Task, ...) and no Business Transaktions? All these activities I can see are not defined in the copying control.
Can you help me?.
PS: I can find my Business Transaction in the Web Client UI. I just can not find the Transaction in the "create follow-up" List as a follow-up transaction
Edited by: Sebastian Wilhelm on Oct 1, 2008 11:48 AM -
Open follow up transaction type screen automatically after confirm account
Hi Gurus,
I have a transaction type Z010 for interaction record that is copied from standart 0010 transaction type.
I define dependent transaction type SRVO that is service order as a follow up of Z010
My requirement is to open automatically open service order screen after confirming account
As agents must do everything vey quickly while they are on phone, it is needed urgently.
Now they have to open Z010 interction record screen, have to press follow up button, click to clipboard and then can open the scrren of service order.
How can we automatically open service order screen after confirming account??
I will be very pleased if you will help...
Thanks.Hi Denis, thanks for reply.
I read it and see that interaction record is automatically created. How can it be made, is it a standard customizing?? Our interaction record is created automatically when follow up process-it is service order here- is created. First we confirm customer, then press to Interaction Record at the left hanside, then in this screen we press follow-up button, then click on Activity Clipboard, then service order screen is opened. I want to pass two steps, pressing Interaction Record and pressing follow up record, how can I do this??
Exactly I have to define process type Business Activity for interaction record, I can't give Service Order process type directly to interaction record. Service Order type must be dependent to business activity, is it true?? If there is a way to directly giving service order type as an interaction record type, and making interaction record creation automatically after confirming, my problem is solved as very well. -
Material Transaction Open Interface Error
Hi,
I'm getting following Error in Cost Manager after running the Transaction Open Interface,
Interface work well to update the stocks, but it returns error Layer Cost Worker Concurrent.
Error1
Bills of Material: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
CMCLCW module: Layer Cost Worker
Current system time is 10-OCT-2012 14:16:32
debug_level = 0
CM_EXTENDED_DEBUG = 2
CSTPLCIN.COST_INV_TXN:CSTPLVCP.interorg (160): ORA-00001: unique constraint (INV.MTL_CST_TXN_COST_DETAILS_U1) violated
Failing Transaction ID is 28227
Start of log messages from FND_FILE
Standard costing org : -1
Interorg transfer send org: (consume layers) ...
84:5
28227:1
Entering get_layers_consumed for transaction 28227 and a required quantity of 2 with a consumption mode of NORMAL
Trying custom layers
There are 0 custom layers
General consumption
Using SQL SELECT inv_layer_id,layer_quantity FROM cst_inv_layers WHERE layer_id = :i AND inv_layer_id <> :j AND NVL(transaction_source_id,-2) <> :k AND layer_quantity > 0 ORDER BY creation_date, inv_layer_id with 1,-1,-1
End of log messages from FND_FILE
No completion options were requested.
Output is not being printed because:
The print option has been disabled for this report.
Deleting output file.
Concurrent request completed
Current system time is 10-OCT-2012 14:16:32
Error2
Bills of Material: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
CMCLCW module: Layer Cost Worker
Current system time is 10-OCT-2012 14:16:32
debug_level = 0
CM_EXTENDED_DEBUG = 2
CSTPLCIN.COST_INV_TXN:CSTPACDP.insert_account (10) ORA-01400: cannot insert NULL into ("INV"."MTL_TRANSACTION_ACCOUNTS"."BASE_TRANSACTION_VALUE")
Failing Transaction ID is 28228
Start of log messages from FND_FILE
Standard costing org : -1
----------l_to_method---------
=5
Interorg transfer receiving org: (create layers) ...
90:5
28228:2
i_txn_id 28228
1 records updated in mclacd for 15005
1 records copied from mclacd for 15005
interorg_cost_txn(..)
transaction_id:28228
org_id:90
i_txn_org_id:90
i_txf_org_id:84
i_txf_txn_id:28227
i_exp_item:0
i_fob_point:0
l_snd_rcv:2
l_from_org:84
l_to_org:90
Sending org distributions
Receiving org distributions
l_intransit:0
Calling Inventory acct
In Inventory_accounts
In insert accounts
l_ussgl_tc :
Payable amount(l_value): acct: 414240
In insert accounts
l_ussgl_tc :
DS - others Exception, sqlcode = -1400
End of log messages from FND_FILE
No completion options were requested.
Output is not being printed because:
The print option has been disabled for this report.
Deleting output file.
Concurrent request completed
Current system time is 10-OCT-2012 14:16:32
My Coding
insert into mtl_transactions_interface
(transaction_type_id, --------------1
transaction_uom, --------------2
transaction_date, --------------3
organization_id, --------------4
transaction_quantity, --------------5
last_update_date, --------------6
last_updated_by, --------------7
creation_date, --------------8
created_by, --------------9
transaction_mode, --------------10
process_flag, --------------11
source_header_id, --------------12
source_line_id, --------------13
source_code, --------------14
transaction_header_id, --------------15
inventory_item_id, --------------16
transaction_interface_id, --------------17
subinventory_code, --------------18
distribution_account_id, --------------19
transaction_cost, --------------20
transaction_reference, --------------21
transfer_organization, --------------22
transfer_subinventory, --------------23
-- transfer_cost, --------------24
primary_quantity, --------------25
lock_flag,
transaction_action_id,
transaction_source_type_id,
dst_segment1,
dst_segment2,
dst_segment3,
dst_segment4,
dst_segment5,
dst_segment6)
values
(v_trx_type_id, --------------1 ------transaction type id
i.uom_code, --------------2 ------transaction_UoM
sysdate, i.creation_date, ------------3 ------trasnsaction date
i.from_organization_id, --------------4 ------org id
nvl(i.quantity_delivered, i.quantity), --------------5 ------quantity
sysdate, --------------6 ------Last update date
-1, --------------7 ------last updated by
sysdate, --------------8 ------creation date
-1, --------------9 ------creation by
3, --------------10 ------transactio mode
1, --------------11 ------process flag
1, --------------12 ------source_header_id
1, --------------13 ------source_line_id
i.mrn_trx_number, --'MRN Interface', --------------14 ------source code
'999999', --------------15 ------transaction header id
v_item_id, --------------16 ------inventory item id
xx_mrn_mtl_trx_int_seq.nextval, --------------17 ------transaction_interface_id
i.from_subinventory_code, --------------18 ------sub inventory
v_code_id, --------------19 ------code compbination
v_item_cost, --------------20 ------cost
'MRN Interface', --------------21 ------reference
i.organization_id, --------------22
i.to_subinventory_code, --------------23
-- (nvl(i.quantity_delivered, i.quantity) * v_item_cost) --------------24
nvl(i.quantity_delivered, i.quantity),
2,
v_trx_action_id,
v_trx_source_type_id,
'01',
'00',
'000',
'141013',
'000000',
'00000');
ThanksCan you get the following for the errored transaction?
SELECT transaction_id txnid, transfer_transaction_id txfrtxnid
, organization_id orgid, transfer_organization_id txfrorgid, subinventory_code subinv
, transfer_subinventory txfrsubinv, cost_group_id cgid
, transfer_cost_group_id txfrcgid , prior_costed_quantity
, transfer_prior_costed_quantity , rcv_transaction_id rcvtxnid
, transaction_action_id txnactid , transaction_source_type_id txnsrctypid
, transaction_type_id txntypid , costed_flag cstdflg
, transaction_group_id , inventory_item_id invitmid
, transaction_source_id wip_entity_id , transaction_cost txncst
, shipment_number shipnum , new_cost , prior_cost
, actual_cost , project_id , transaction_uom txnuom
, transaction_quantity txnqty , primary_quantity priqty , prior_costed_quantity priorqty
, currency_code altcurr , currency_conversion_rate currconvrt , currency_conversion_date currconvdt
, TO_CHAR (mmt.creation_date, 'dd-mm-yyyy hh24:mi:ss') creation_date
, TO_CHAR (mmt.last_update_date, 'dd-mm-yyyy hh24:mi:ss')last_upd_date
, ERROR_CODE errcode
, error_explanation errexpl
FROM mtl_material_transactions mmt
WHERE transaction_id IN (&Trx_Id) -- Error transaction_id
ORDER BY transaction_id DESC -
Transaction for Open Sales Orders
Hi Experts
can u let me know the Transaction for Open Sales Orders.
Regards,
kumaryou can check the tcode
VA05.
vijay
Maybe you are looking for
-
Safari crashes after launch.
hello. im hoping that anyone can help me with this. my safari crashes everytime i launch it. it wont even load a page and just closes. Date/Time: 2009-02-13 15:02:22.373 +0800 OS Version: 10.4.11 (Build 8S2167) Report Version: 4 Command: Safari Path:
-
I am sure there are several ways to do this but I am rather new to iProducts. The instructor wants to allow students to present either from their own devices or from a mac mini where the presentations had been sent to prior to the class. At first gla
-
CCMS Adapter Engine monitoring
Hi, CCMS has been configured in our land scape long back. this configuration gets data from adapter engine and display it. We need to modify this. When we checked the configuration all Integration engine errors are being gathered using standard MTE c
-
Mass conversion in master data
i want to change mass conversion in item data in r3 assuming no transaction is done till now.Suppose there are nf items and i want to make additional purchase unit say kg and ikg=---pieces that is base unit,no transaction is done till now in these co
-
hi In ALV i am displaying my output by using FM REUSE_ALV_GRID_DISPLAY, and have 2 colums as checkboxes.. but when i check them after running my ALV the 'X' value which should come in my internal table is not reflecting.. so what should be done??