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.

Report
All responses (
Answers (