Anyone know how to remove orderlines when there has been order properties set?
When adding an orderline I set a few extra properties per line. When I try to remove them from the order it bombs out with db errors because of the conflict.
Do I really have to delete the order properties as well to delete the order line?
Remove Line Item with Order Properties
Hi,
Anyone know how to remove orderlines when there has been order properties set?
When adding an orderline I set a few extra properties per line. When I try to remove them from the order it bombs out with db errors because of the conflict.
Do I really have to delete the order properties as well to delete the order line?
Thanks
DC
You can do an orderLine.DeepDelete() to completely get rid of the order line. When deleting from XSLT that's what's called.
Hope this helps.
Thanks.
Looks like that will do the trick.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.