Users - what is the error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - what is the error

puranisank

Could I know the following error:

Target exception: org.ofbiz.entity.GenericModelException: Could not find relation for relationName: OrderShipmentPreference for value [GenericEntity:OrderHeader][billingAccountId,null()][createdBy,admin(java.lang.String)][createdStamp,2006-06-13 14:58:27.0(java.sql.Timestamp)][createdTxStamp,2006-06-13 14:58:27.0(java.sql.Timestamp)][currencyUom,CAD(java.lang.String)][entryDate,2006-06-13 14:58:27.0(java.sql.Timestamp)][firstAttemptOrderId,null()][grandTotal,7.99(java.lang.Double)][isRushOrder,null()][lastUpdatedStamp,2006-06-13 14:58:27.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-06-13 14:58:27.0(java.sql.Timestamp)][needsInventoryIssuance,Y(java.lang.String)][orderDate,2006-06-13 14:58:27.0(java.sql.Timestamp)][orderId,11031(java.lang.String)][orderTypeId,SALES_ORDER(java.lang.String)][originFacilityId,null()][productStoreId,10000(java.lang.String)][remainingSubTotal,7.99(java.lang.Double)][salesChannelEnumId,WEB_SALES_CHANNEL(java.lang.String)][statusId,ORDER_CREATED(java.lang.String)][syncStatusId,null()][terminalId


Purani 




 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - what is the error

Scott Gray
Hi Purani

It means that the relation OrderShipmentPreference could not be found

If you look here:
Webtools -> Entity Data Maintenance -> OrderHeader [Fnd] -> View Relations

You will see that OrderShipmentPreference is now called
OldOrderShipmentPreference which probably means that it's use is
deprecated.  If you are still attempting to update your revision of
ofbiz, you will need to update whatever code is trying to use this relation.

Regards
Scott

Purani S wrote:

>
> Could I know the following error:
>
> Target exception: org.ofbiz.entity.GenericModelException: Could not
> find relation for relationName: OrderShipmentPreference for value
> [GenericEntity:OrderHeader][billingAccountId,null()][createdBy,admin(java.lang.String)][createdStamp,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][createdTxStamp,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][currencyUom,CAD(java.lang.String)][entryDate,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][firstAttemptOrderId,null()][grandTotal,7.99(java.lang.Double)][isRushOrder,null()][lastUpdatedStamp,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][needsInventoryIssuance,Y(java.lang.String)][orderDate,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][orderId,11031(java.lang.String)][orderTypeId,SALES_ORDER(java.lang.String)][originFacilityId,null()][productStoreId,10000(java.lang.String)][remainingSubTotal,7.99(java.lang.Double)][salesChannelEnumId,WEB_SALES_CHANNEL(java.lang.String)][statusId,ORDER_CREATED(java.lang.String)][syncStatusId,null()][terminalId
>
>
> Purani
>
>
>
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - what is the error

Andrew Sykes
In reply to this post by puranisank
Purani,

There isn't an "OrderShipmentPreference" in recent versions, there is an
"OldOrderShipmentPreference".

Have a look at the entity reference in /webtools

 - Andrew

On Tue, 2006-06-13 at 09:50 +0000, Purani S wrote:

> Could I know the following error:
>
> Target exception: org.ofbiz.entity.GenericModelException: Could not
> find relation for relationName: OrderShipmentPreference for value
> [GenericEntity:OrderHeader][billingAccountId,null()][createdBy,admin
> (java.lang.String)][createdStamp,2006-06-13 14:58:27.0
> (java.sql.Timestamp)][createdTxStamp,2006-06-13 14:58:27.0
> (java.sql.Timestamp)][currencyUom,CAD
> (java.lang.String)][entryDate,2006-06-13 14:58:27.0
> (java.sql.Timestamp)][firstAttemptOrderId,null()][grandTotal,7.99
> (java.lang.Double)][isRushOrder,null()][lastUpdatedStamp,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-06-13
> 14:58:27.0(java.sql.Timestamp)][needsInventoryIssuance,Y
> (java.lang.String)][orderDate,2006-06-13 14:58:27.0
> (java.sql.Timestamp)][orderId,11031
> (java.lang.String)][orderTypeId,SALES_ORDER
> (java.lang.String)][originFacilityId,null()][productStoreId,10000
> (java.lang.String)][remainingSubTotal,7.99
> (java.lang.Double)][salesChannelEnumId,WEB_SALES_CHANNEL
> (java.lang.String)][statusId,ORDER_CREATED
> (java.lang.String)][syncStatusId,null()][terminalId
>
>
> Purani  
>
>
>
>
>
>  _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - what is the error

puranisank
In reply to this post by puranisank

Thanks Scott. I changed the code and it works now.

Purani
 


On Tue, 13 Jun 2006 Scott Gray wrote :
>Hi Purani
>
>It means that the relation OrderShipmentPreference could not be found
>
>If you look here:
>Webtools -> Entity Data Maintenance -> OrderHeader [Fnd] -> View Relations
>
>You will see that OrderShipmentPreference is now called
>OldOrderShipmentPreference which probably means that it's use is
>deprecated.  If you are still attempting to update your revision of
>ofbiz, you will need to update whatever code is trying to use this relation.
>
>Regards
>Scott
>
>Purani S wrote:
> >
> > Could I know the following error:
> >
> > Target exception: org.ofbiz.entity.GenericModelException: Could not
> > find relation for relationName: OrderShipmentPreference for value
> > [GenericEntity:OrderHeader][billingAccountId,null()][createdBy,admin(java.lang.String)][createdStamp,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][createdTxStamp,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][currencyUom,CAD(java.lang.String)][entryDate,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][firstAttemptOrderId,null()][grandTotal,7.99(java.lang.Double)][isRushOrder,null()][lastUpdatedStamp,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][needsInventoryIssuance,Y(java.lang.String)][orderDate,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][orderId,11031(java.lang.String)][orderTypeId,SALES_ORDER(java.lang.String)][originFacilityId,null()][productStoreId,10000(java.lang.String)][remainingSubTotal,7.99(java.lang.Double)][salesChannelEnumId,WEB_SALES_CHANNEL(java.lang.String)][statusId,ORDER_CREATED(java.lang.String)][syncStatusId,null()][terminalId
> >
> >
> > Purani
> >
> >
> >
> > <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>
> >
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > Users mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/users
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users




 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - what is the error

puranisank
In reply to this post by puranisank

Thanks. Then what is the alternate entity for OldOrderShipmentPreference ?

Purani


On Tue, 13 Jun 2006 Andrew Sykes wrote :
>Purani,
>
>There isn't an "OrderShipmentPreference" in recent versions, there is an
>"OldOrderShipmentPreference".
>
>Have a look at the entity reference in /webtools
>
>  - Andrew
>
>On Tue, 2006-06-13 at 09:50 +0000, Purani S wrote:
> > Could I know the following error:
> >
> > Target exception: org.ofbiz.entity.GenericModelException: Could not
> > find relation for relationName: OrderShipmentPreference for value
> > [GenericEntity:OrderHeader][billingAccountId,null()][createdBy,admin
> > (java.lang.String)][createdStamp,2006-06-13 14:58:27.0
> > (java.sql.Timestamp)][createdTxStamp,2006-06-13 14:58:27.0
> > (java.sql.Timestamp)][currencyUom,CAD
> > (java.lang.String)][entryDate,2006-06-13 14:58:27.0
> > (java.sql.Timestamp)][firstAttemptOrderId,null()][grandTotal,7.99
> > (java.lang.Double)][isRushOrder,null()][lastUpdatedStamp,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-06-13
> > 14:58:27.0(java.sql.Timestamp)][needsInventoryIssuance,Y
> > (java.lang.String)][orderDate,2006-06-13 14:58:27.0
> > (java.sql.Timestamp)][orderId,11031
> > (java.lang.String)][orderTypeId,SALES_ORDER
> > (java.lang.String)][originFacilityId,null()][productStoreId,10000
> > (java.lang.String)][remainingSubTotal,7.99
> > (java.lang.Double)][salesChannelEnumId,WEB_SALES_CHANNEL
> > (java.lang.String)][statusId,ORDER_CREATED
> > (java.lang.String)][syncStatusId,null()][terminalId
> >
> >
> > Purani
> >
> >
> >
> >
> >
> >  _______________________________________________
> > Users mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/users
>--
>Kind Regards
>Andrew Sykes <[hidden email]>
>Sykes Development Ltd
>http://www.sykesdevelopment.com
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users




 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - what is the error

Scott Gray
Hi Purani

You might want to try the following:
1. Search the mailing list
2. Search svn history to see when it was removed and if there are any
comments and what replaced it
3. See if there was anything in the jira
4. If you take the time to read the docs and watch David's videos on
ofbiz.org you will find the whole update process a lot easier and less
time consuming.

Regards
Scott

Purani S wrote:

>
> Thanks. Then what is the alternate entity for OldOrderShipmentPreference ?
>
> Purani
>
>
> On Tue, 13 Jun 2006 Andrew Sykes wrote :
> >Purani,
> >
> >There isn't an "OrderShipmentPreference" in recent versions, there is an
> >"OldOrderShipmentPreference".
> >
> >Have a look at the entity reference in /webtools
> >
> >  - Andrew
> >
> >On Tue, 2006-06-13 at 09:50 +0000, Purani S wrote:
> > > Could I know the following error:
> > >
> > > Target exception: org.ofbiz.entity.GenericModelException: Could not
> > > find relation for relationName: OrderShipmentPreference for value
> > > [GenericEntity:OrderHeader][billingAccountId,null()][createdBy,admin
> > > (java.lang.String)][createdStamp,2006-06-13 14:58:27.0
> > > (java.sql.Timestamp)][createdTxStamp,2006-06-13 14:58:27.0
> > > (java.sql.Timestamp)][currencyUom,CAD
> > > (java.lang.String)][entryDate,2006-06-13 14:58:27.0
> > > (java.sql.Timestamp)][firstAttemptOrderId,null()][grandTotal,7.99
> > > (java.lang.Double)][isRushOrder,null()][lastUpdatedStamp,2006-06-13
> > > 14:58:27.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-06-13
> > > 14:58:27.0(java.sql.Timestamp)][needsInventoryIssuance,Y
> > > (java.lang.String)][orderDate,2006-06-13 14:58:27.0
> > > (java.sql.Timestamp)][orderId,11031
> > > (java.lang.String)][orderTypeId,SALES_ORDER
> > > (java.lang.String)][originFacilityId,null()][productStoreId,10000
> > > (java.lang.String)][remainingSubTotal,7.99
> > > (java.lang.Double)][salesChannelEnumId,WEB_SALES_CHANNEL
> > > (java.lang.String)][statusId,ORDER_CREATED
> > > (java.lang.String)][syncStatusId,null()][terminalId
> > >
> > >
> > > Purani
> > >
> > >
> > >
> > >
> > >
> > >  _______________________________________________
> > > Users mailing list
> > > [hidden email]
> > > http://lists.ofbiz.org/mailman/listinfo/users
> >--
> >Kind Regards
> >Andrew Sykes <[hidden email]>
> >Sykes Development Ltd
> >http://www.sykesdevelopment.com
> >
> >
> >_______________________________________________
> >Users mailing list
> >[hidden email]
> >http://lists.ofbiz.org/mailman/listinfo/users
>
>
>
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users