You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by lhp001 <lp...@hsmclothes.com> on 2007/01/12 01:07:11 UTC

Script to delete a product and all references

Hi,

I have to delete some product features and variants I added before i do a
demo.  I customized an E-Commerce site and I don't have the luxury of
spending time to write a script to delete all child foreign key
dependencies.  Webtools is not allowing me to do the deletes due to so many
dependencies.  The data I want to delete is not even part of an order; its
just in the Catalog's product.

Thanks!  
-- 
View this message in context: http://www.nabble.com/Script-to-delete-a-product-and-all-references-tf2962768.html#a8289423
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Script to delete a product and all references

Posted by lhp001 <lp...@hsmclothes.com>.
For now I'm using SQLyog and manually deleting entities.  Its trial and
error, but at least it gives me the name of the constraint that I have to
delete first.  It would be great to have a delete feature that users could
use if they made a mistake entering something.   If anyone has code to
share, pass it on.
-- 
View this message in context: http://www.nabble.com/Script-to-delete-a-product-and-all-references-tf2962768.html#a8289584
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Script to delete a product and all references

Posted by lhp001 <lp...@hsmclothes.com>.
No need to be so rude!

I'm new to this and have a next to impossible deadline.  I was just asking
if anyone already had a script that would do this so I could save some time. 
btw, I no longer need the script.  Going forward, I will not post to this
forum anymore because I feel very insulted by your rudeness.  No need to
respond, I've set my email to automatically filter out any responses from
this forum.
-- 
View this message in context: http://www.nabble.com/Script-to-delete-a-product-and-all-references-tf2962768.html#a8390258
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Script to delete a product and all references

Posted by "Alex D. Fleming" <al...@gmail.com>.
Hey Buddy,

>> I don't have the luxury of
>> spending time to write a script to delete all child foreign key
>>dependencies

If you don't have luxury of spending time then what are you are you
expecting from other's in Open Source project's.
Are the persons working in Open Source projects waiting to full-fill your
requirement ?

Please try to post this kind of question in User's mailing list.
As dev list is for framework developement.

Hey friends what will you say to this person ?
Do you all have luxury of time ?

On 1/12/07, lhp001 <lp...@hsmclothes.com> wrote:
>
>
> Hi,
>
> I have to delete some product features and variants I added before i do a
> demo.  I customized an E-Commerce site and I don't have the luxury of
> spending time to write a script to delete all child foreign key
> dependencies.  Webtools is not allowing me to do the deletes due to so
> many
> dependencies.  The data I want to delete is not even part of an order; its
> just in the Catalog's product.
>
> Thanks!
> --
> View this message in context:
> http://www.nabble.com/Script-to-delete-a-product-and-all-references-tf2962768.html#a8289423
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>
-- 
Regards
Alex D. Fleming