ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

E-Document for Germany: ZUGFeRD invoice individual customer reports

Open TMEKUMA opened this issue 1 year ago • 3 comments

Why do you need this change?

Our customers use custom reports for sales documents. In principle, we can also create a report extension or make a direct adjustment for ZUGFeRD. However, the MS solution has two problems in the report extensions.

reportextension 13918 "Posted Sales Invoice" extends "Standard Sales - Invoice" Problem 1: On-prem Functionality Functions OnRenderingCompleteJson and CreateXmlFile should be moved to a Codeunit (since On-prem code is not allowed in AppSource apps). They must be made available for external use (not local or internal).

Problem 2: ZUGFeRD validation should be generated Event OnPreReportOnBeforeInitializePDF in Report Extension "Posted Sales Invoice" The EventSubscriber is currently bound to this object. → Provide a function to determine whether a ZUGFeRD file should be created (remove object dependency).

reportextension 13919 "Posted Sales Cr.Memo" extends "Standard Sales - Credit Memo" Same as in the Invoice.

Describe the request

Our customers use custom reports for sales documents. In principle, we can also create a report extension or make a direct adjustment for ZUGFeRD. However, the MS solution has two problems in the report extensions.

This approach was suggested by an MS support employee. However, we currently have a problem under labor law with making major code adjustments directly available.

TMEKUMA avatar Oct 30 '25 15:10 TMEKUMA

I'v already created a PR to solve this problem by interfaces: https://github.com/microsoft/ALAppExtensions/pull/29255

Currently I'm still waiting for review by microsoft.

pri-kise avatar Oct 31 '25 05:10 pri-kise

First of all, thank you. We couldn't find the PR and lost the reference via Yammer (because it was down). Therefore, after consulting with MS, we created the issue again.

TMEKUMA avatar Oct 31 '25 07:10 TMEKUMA

Given a PR already exists, I'll close this one as a duplicate. Please track progress on referenced PR.

JesperSchulz avatar Oct 31 '25 08:10 JesperSchulz