microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
792 stars 622 forks source link

[Bug]: E-Document SelectPurchaseOrderFromList #27631

Open fmoric opened 1 week ago

fmoric commented 1 week ago

Describe the issue

When user presses "Receive" button to receive documents, if document does not match automatically, process pops up dialog for matching E-Document to Order, but in that process you don't know witch E-Document is in question.

Also matching E-Document to order pops up in OnAfterGetRecord on E-Document Card when document is in status "Pending". Problem is, you should be able to check E-Document first before matching it to document.

Expected behavior

When user presses "Receive" popup dialog for matching to order for unmatched document should not pop up, process should stop and document should have status "pending".

When opening E-Document in pending status, user should manually match document after seeing it.

Steps to reproduce

For First Example: Manually receive documents pressing "Receive" button in "E-Document Service", documents should not have match, so that dialog pop's up.

For Second Example: Auto Import document so that it is in "pending" state, then open document so that matching dialog pops up.

Additional context

First this needs to be addressed to team that developed it, because it is a part of process that should be changed.

I will provide a fix for a bug