You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by rohit2006 <ro...@yahoo.com> on 2006/07/24 16:47:33 UTC

Re: Key (status_id)=(PARTY_ENABLED) is not present in table "status_item

hi BJ,

i could get the error.

How should i resolve this. i understand that PARTY_ENABLED is an entry not
present in status_id table. Should i go ahead and create and entry, if yes
an idea what are the other parameters for this entry. please advise.


-- 
View this message in context: http://www.nabble.com/Key-%28status_id%29%3D%28PARTY_ENABLED%29-is-not-present-in-table-%22status_item%22.%29%29-tf1992639.html#a5468853
Sent from the OFBiz - User forum at Nabble.com.


Re: Key (status_id)=(PARTY_ENABLED) is not present in table "status_item

Posted by rohit2006 <ro...@yahoo.com>.
hi BJ,

i was able to figure it out, a database entry was missing, i copied the
entry from another install of ofbiz, which had this entry and its working
fine now,

thanks for you help. 
-- 
View this message in context: http://www.nabble.com/Key-%28status_id%29%3D%28PARTY_ENABLED%29-is-not-present-in-table-%22status_item%22.%29%29-tf1992639.html#a5471168
Sent from the OFBiz - User forum at Nabble.com.


Re: Key (status_id)=(PARTY_ENABLED) is not present in table "status_item

Posted by rohit2006 <ro...@yahoo.com>.
hi,

i am simply trying to create a new customer using the party manager, i have
filled all the required entries and getting the error:

    * (ERROR: insert or update on table "party" violates foreign key
constraint "party_statusitm"
      Detail: Key (status_id)=(PARTY_ENABLED) is not present in table
"status_item".))) calling service createPerson in createUser

Just to add i am using the default code in ofbiz, i mean i have not really
modified anything substantial in it, except some ftl files.


-- 
View this message in context: http://www.nabble.com/Key-%28status_id%29%3D%28PARTY_ENABLED%29-is-not-present-in-table-%22status_item%22.%29%29-tf1992639.html#a5469158
Sent from the OFBiz - User forum at Nabble.com.


Re: Key (status_id)=(PARTY_ENABLED) is not present in table "status_item

Posted by BJ Freeman <bj...@free-man.net>.
What is your goal in what you are doing?
What are you attempting to do?
Why are you using PARTY_ENABLED?

rohit2006 sent the following on 7/24/2006 7:47 AM:
> hi BJ,
> 
> i could get the error.
> 
> How should i resolve this. i understand that PARTY_ENABLED is an entry not
> present in status_id table. Should i go ahead and create and entry, if yes
> an idea what are the other parameters for this entry. please advise.
> 
>