microsoft / ALAppExtensions

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

[Bug]: Digital Voucher problem posting sale & purchase #26780

Open NS-NN opened 5 days ago

NS-NN commented 5 days ago

Describe the issue

Microsoft implemented new functionality in connection with the new bookkeeping act in Denmark in Business Central version 24.2. In connection with this, companies were stopped in posting sales & purchase if no incoming documents are attached.

Sales It is possible to setup, that the system have to generate a document automatically and then it is possible to post. The problem is that the normal invoice attachment is attached + a corresponding attachment called DigitalVoucher. Can you please make an adjustment that makes it possible to avoid this?

Purchase You are forced to attach incoming document when posting purchase order/invoice/credit memo or posting general journal with account type "Vendor". I know it will be a requirement, but as you see at the link below described by "Erhvervsstyrelsen" not all companies forced to do so yet (as I understand it). Can you please tell me why it is required for all companies now or if it is possible to disable until it will be required?

https://erhvervsstyrelsen.dk/tidsplan-for-virksomheders-digitale-bogfoering image

Thank you in advance.

Expected behavior

Not possible to post sale & purchase

Steps to reproduce

  1. Open "Sales order", "Purchase Order" or "General Journal with account type Vendor".
  2. Post document.
  3. If no incoming document has been attached you will get an error.

Additional context

No response

I will provide a fix for a bug