#12067 [main] bug 652323 - Move creating VAT Period to setup demo data level
Moved VAT Period creation from Master Data to Setup Data level in Czech Contoso demo data to ensure VAT periods exist when setup-level processes depend on them, removing downstream test workarounds.
- 3files
- 1AL files
- 0objects
Pull request · merged into main (BC30) on 2026-10-08 by DavidHolusa · 3 files (+3 -28), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- VAT Period and VAT Return Period are now created at the Setup Data level instead of Master Data in Contoso CZ Localization
- Fixes ‘VAT Period does not exist’ posting failures in newly generated CZ demo databases
- Test Initialize Handler CZL no longer disables VAT date usage for codeunits 137161 and 139989, and its DisableVATDateUsage helper was deleted
- E-Doc. Item Charge Tests no longer disable VAT Reporting Date Usage
- Only demo data order changes; no schema, business logic or permission changes
- Behaviour changes for users or extensions.
AL objects touched
src/Apps/CZ/ContosoCoffeeDemoDatasetCZ/app/DemoData/ContosoCZLocalization.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#652323
- Labels: AL: Apps (W1), Team: Finance
- Systems: finance, reporting
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).