d365stuff-chat / posts /order-lines-cannot-be-deleted-while-dependent-stores.md
mafzaal's picture
Update .dockerignore and .gitignore to include new directories and log files; enhance app.py with Dropbox download functionality and logging; modify build-vector-store.sh for improved error handling and options; remove obsolete posts and pipeline.py.
4542bf4

4 December 2019 / Bugs

Order lines cannot be deleted while dependent Stores ... exist

This is a frustrating bug that can happen in between DOM runs. The reason is there is a [bad] join between the SalesLine and DOMSalesLineToProcess tables, based solely on DlvMode. Until resolved, the work around is to delete DOMSalesLineToProcess records with the same DlvMode as the SalesLine record that needs to be deleted.

Michael Stashwick

Michael Stashwick

Read more posts by this author.

Read More