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...
Suggested Answer

Web Services Problem

(0) ShareShare
ReportReport
Posted on by 142

I must create web service in Business Central for integration with Jira (because of fiscalization).
Because text that I get from Posted Invoices through XML port is more than 2048 characters, I stored that Text into Blob field on new Table (API Page), and that works fine. But problem is:
I ",ust" fiscalize document immediately after post, for that I create new codeunit with this event subscriber procedure "[EventSubscriber(ObjectType::Codeunit, 80, 'OnAfterPostSalesDoc', '', false, false)]" where I call procedures for ficalization, but my procedure for writing Text to Blob doesn't update data very well, and Jira fiscalize data that imported before (for example. before imported data for document "1789" , and now I try to fiscalize "1790" ). I tried to delete data before , but without success. 
If I remove Event Subscriber and procedure, and do regular post, and after that try to fiscalize, I don't have that problem. Everything works fine. 

Is there any way to pass "live" text bigger than 2048 characters from codeunit to Api page? I tried to pass vaiable on the way that created function on Api Page, and pass data using function, but data not stored.

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,059 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 994 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 664 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans