No announcement yet.

Change Shipment External Status

  • Time
  • Show
Clear All
new posts

  • Change Shipment External Status


    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
    at oracle.jdbc.ttc7.TTIoer.processError( 89)
    at oracle.jdbc.ttc7.Oall7.receive(
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol .java:1957)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TT
    at oracle.jdbc.driver.OracleStatement.executeNonQuery (
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTi meout(
    at oracle.jdbc.driver.OraclePreparedStatement.execute Update(
    at oracle.oc4j.sql.proxy.PreparedStatementBCELProxy.e xecuteUpdate(
    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( )
    at glog.util.jdbc.SqlUpdate.execute( )
    at glog.util.jdbc.SqlUpdate.execute( )
    at glog.server.status.ObjectStatus.doInsert(ObjectSta
    at glog.server.status.ObjectStatus.write(ObjectStatus .java:159)
    at glog.ejb.shipment.db.ShipmentBeanDB.postStore(Ship
    at glog.ejb.shipment.ShipmentBean.postStore(ShipmentB
    at glog.util.remote.BaseEntityBean$
    at glog.util.remote.BaseEntityBean.ejb(BaseEntityBean .java:804)
    at glog.util.remote.BaseEntityBean.ejbStore(BaseEntit
    at glog.util.remote.BeanManagedEntityBean.ejbStore(Be

  • #2
    Re: Change Shipment External Status

    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.

    Raveendranath Thalapalli