Users - Can we delete order details given an orderid

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

Users - Can we delete order details given an orderid

Danmeet Bali

Hi ,

 

            Given an orderId do I have any service to delete the order details from the respective order entities.

 

Regards ,

 

Danmeet Bali

 

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================

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

Re: Users - Can we delete order details given an orderid

Andrew Sykes
Danmeet,

It's not generally a good idea to delete things like orders as it can
really mess up you audit trail. For example if you delete all
information on an order, you may be left with an invoice entity with no
corresponding fulfilment record.

In general, data is expired via a thruDate rather than deleted, or in
the case of Orders/Invoices etc, marked as cancelled via a statusId.

I hope this helps you.
--
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