web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Report 1306 - Sales Invoice (The type or method cannot be used in 'extension' development)

(0) ShareShare
ReportReport
Posted on by

Hi experts,

I want to create a new report ID and report name from Sales Invoice, so what I did is I create a new copy report from 1306 in visual studio code. But the .al file show the error as below:

"message": "The type or method 'GetPaymentInstructionsFromPostedInvoice' cannot be used for 'Extension' development.",

How can I solve this error and publish my report extension successfully?

Thank you in advance.

  • Suggested answer
    Bilal Haider Profile Picture
    487 on at

    Hi,

    Try this approach robertostefanettinavblog.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
AndrewThomas81 Profile Picture

AndrewThomas81 390 Super User 2026 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 386 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans