otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Execution Employing the Tendering process in OTM / G-Log - including the setup of carrier domains, workflow parameters, regional tendering and contact groups.

Tags: ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 21st, 2008, 15:37
Member
 
Join Date: Jun 2007
Posts: 53
Thanks: 14
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
new_otm is on a distinguished road
Change Shipment External Status

Hi,

We have created a shipment and we have tried to change an external status. The status we are trying to change is a customize status. We are getting an error. It looks like
OTM is trying to do an insert instead of an update for the status.
Does anyone know how to solve this?
Thanks in advance.


The log error:

insert into shipment_status (shipment_gid,status_type_gid,status_value_gid,dom ain_name) values (?,?,?,?); [FED.VI080515082, FED.XX_SH_LOAD_PRIO_CN, FED.LOAD_NOP_DIMOD, FED] [RMICallHandler-109]
Cannot add the SHIPMENT_STATUS record. [SHIPMENT_GID, STATUS_TYPE_GID] must be unique.
java.sql.SQLException: ORA-00001: unique constraint (GLOGOWNER.PK_SHIPMENT_STATUS) violated


java.sql.SQLException: ORA-00001: unique constraint (GLOGOWNER.PK_SHIPMENT_STATUS) violated

at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:2 89)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol .java:1957)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TT C7Protocol.java:1114)
at oracle.jdbc.driver.OracleStatement.executeNonQuery (OracleStatement.java:2181)
at oracle.jdbc.driver.OracleStatement.doExecuteOther( OracleStatement.java:2063)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTi meout(OracleStatement.java:2922)
at oracle.jdbc.driver.OraclePreparedStatement.execute Update(OraclePreparedStatement.java:644)
at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.e xecuteUpdate(PreparedStatementBCELProxy.java:37)
at glog.util.jdbc.SqlUpdate.executeUpdate(SqlUpdate.j ava:133)
at glog.util.jdbc.SqlUpdate.resetArguments(SqlUpdate. java:111)
at glog.util.jdbc.SqlUpdate.execute(SqlUpdate.java:60 )
at glog.util.jdbc.SqlUpdate.execute(SqlUpdate.java:81 )
at glog.util.jdbc.SqlUpdate.execute(SqlUpdate.java:94 )
at glog.server.status.ObjectStatus.doInsert(ObjectSta tus.java:261)
at glog.server.status.ObjectStatus.write(ObjectStatus .java:159)
at glog.ejb.shipment.db.ShipmentBeanDB.postStore(Ship mentBeanDB.java:314
at glog.ejb.shipment.ShipmentBean.postStore(ShipmentB ean.java:412)
at glog.util.remote.BaseEntityBean$3.post(BaseEntityB ean.java:523)
at glog.util.remote.BaseEntityBean.ejb(BaseEntityBean .java:804)
at glog.util.remote.BaseEntityBean.ejbStore(BaseEntit yBean.java:520)
at glog.util.remote.BeanManagedEntityBean.ejbStore(Be anManagedEntityBean.java:50
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old May 23rd, 2008, 07:16
Member
 
Join Date: Mar 2007
Posts: 43
Thanks: 0
Thanked 14 Times in 12 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Rep Power: 0
ravintag is on a distinguished road
Send a message via MSN to ravintag Send a message via Yahoo to ravintag Send a message via Skype™ to ravintag
Re: Change Shipment External Status

Hi,
After creating the new customised status is this the first time you are trying that status. I think there could have been some error while uploading the Status thru CSV or while creating of the status.
__________________
Regards,


Raveendranath Thalapalli
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a Customer cwarner Planning 3 January 29th, 2008 08:50
Change Management? cwarner Installation and Upgrades 8 December 10th, 2007 15:31
OTM 5.5: Partial Tendering and Change of Carriers ianlo Planning 11 July 25th, 2007 20:05
Sequencing statues / Restricting external status based on Users. ajoybasu Workflow 0 March 30th, 2007 06:22
[SOLVED] Shipment Status XML ianlo Integration and Data Mapping 4 February 5th, 2007 02:58



All times are GMT. The time now is 01:18.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36