+1 for using 'expire' service for all the possible places. IMO, In ERP systems, we should not delete any information/data. Because data is the real asset for the any organization. Helping in taking the business decision.
Thanks, Jacques and Deepak for sharing this. - Best Regards, Swapnil M Mane www.hotwaxsystems.com www.hotwax.co On Tue, Aug 1, 2017 at 8:04 PM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > Hi, > > After a 1st discussion with Deepak at OFBIZ-9185, we had another at > OFBIZ-9543. > > We claim that we should not remove entities records because of auditing. > But we have at 157 services with names starting with "remove" and 538 > starting with "delete" > > I suggest that we remove as much as possible of these services and have > only expire services for those which support expire (ie have from and thru > dates). > > For instance I was curious about deleteParty, but what it currently does > is only returning the "partyservices.cannot_delete_party_not_implemented" > label. This is pre Apache era (ie there for 10+ years)! > > In OFBIZ-9543 Deepak rightly suggested that we keep delete services for > Assoc kind of entities. But definitely remove delete service for entity > like Party, WorkEffort, Product, etc those have n number of foreign key > constraints... > > What do you think, other ideas? > > Jacques > >