{"title":"MaximumDocumentCount Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-maximumdocumentcount-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-maximumdocumentcount-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-maximumdocumentcount-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets the maximum document count when generating a report by using WordMergerDataItem.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":146,"chars":22},{"level":2,"title":"Property Value","slug":"property-value","at":168,"chars":29},{"level":2,"title":"Syntax","slug":"syntax","at":197,"chars":48},{"level":2,"title":"Remarks","slug":"remarks","at":245,"chars":411},{"level":2,"title":"Related information","slug":"related-information","at":656,"chars":320}],"text":"> Version: _Available or changed with runtime version 6.0._\nSets the maximum document count when generating a report by using WordMergerDataItem.\n## Applies to\n Report\n## Property Value\nAn integer\n## Syntax\n```al\nMaximumDocumentCount = 100;\n```\n## Remarks\nAt runtime, this property will override the hard limit that is set by the Default Max Documents (ReportDefaultMaxDocuments) setting for Business Central Server instance. The Business Central Server instance also includes the Max Documents (hard limit) (ReportMaxDocuments) setting, which this property won't override.\nFor more information on report limits, see ../devenv-report-object#report-limits.\n## Related information\ndevenv-report-properties\n../devenv-report-object\nOperational Limits for Business Central Online - Reports<../../administration/operational-limits-online#Reports>\nConfiguring Business Central Server - Reports<../../administration/server-instance-settings#control-reports-documents-and-data-queries>"}