Skip to content

All releases

SIMOVA / EDOCUMENTSRelease 29.0.4.0

Complete Reference Text

Version 29.0.4.0Published: November 11, 2026
Document mappingsCodeunit integration

Complete Codeunit Return Text in Document Mappings

This release fixes truncated codeunit-generated text in document mappings. Custom codeunits can use new text-return methods to transfer values longer than 250 characters.

Download Release

Fixes

Preserve codeunit-generated text beyond 250 characters#20471

Dynamic data mappings and eDocuments data values now support complete codeunit return text longer than 250 characters. Previously, the legacy return fields truncated longer values, such as an invoice header BuyerOrderReferencedDocument reference, in the generated document.

Custom codeunits must use the new text-return methods to transfer longer values. Existing codeunits retain fallback to the legacy return fields and keep their existing behavior. Those fields remain limited to 250 characters, so removing CopyStr alone does not remove the limit.

  • Dynamic data mappings Use SetDynMappingReturnValueText and GetDynMappingReturnValueText to write and retrieve complete return text.
  • eDocuments data values Use SetFunctionReturnValueText and GetFunctionReturnValueText to write and retrieve complete return text.
  • Text preservation and restrictions Both paths use BLOB-backed handling to read complete UTF-8 text, preserving Unicode characters and line breaks. Returned text remains subject to the target document schema or profile restrictions.