okay how do i expire a party, and remove unwanted tax authorities. Rather i would lke to remove all demo data and start afresh with only the admin account. how do i do that
On 7/28/06, Oleg Kozyrev Jr. <[EMAIL PROTECTED]> wrote:
As far as I remember I can delete entities using, for example: delegator.removeValue(GenericValue value); or delegator.removeByPrimaryKey(GenericPK key); etc. but, to do so you must have all relations to this entity be terminated. For example, in Webtools/Entity Data Maintenance you can create new party entity and delete it afterwards, but if you try to delete 'admin' party you get an error, because there are a lot of relations to it from other entities. But, in most cases, as Jacques said, it's better to use 'expire' option, because it won't remove any data about the entity, but it will mark it as "deleted" if you want. Oleg. jacques.le.roux wrote: > > From: "Midhat Ali" <[EMAIL PROTECTED]> >> It might seem trivial, but i cant find any option to delete certain items >> like Parties and Tax Authorities. and there are more which i dont >> remember >> right now. How it can be done > > For the moment, there is no option to do this sort of thing (Entities > can't be suppressed). But there is possiblities here and there > (like in party profile for instance) to use "Expire". > > This is for miscelaneous reasons, notably audit... > > Jacques > > > > -- View this message in context: http://www.nabble.com/Deleting-Items-tf2008864.html#a5534052 Sent from the OFBiz - User forum at Nabble.com.
