Skip to content

[BcApps] Bug 631111: [Releases/28.x] Many standard word layouts cannot be validated or imported - InvalidPrefixMapping error#9696

Open
nhsejth wants to merge 1 commit into
releases/28.xfrom
privar/nhsejth/PathchWordBcAppsOn28x
Open

[BcApps] Bug 631111: [Releases/28.x] Many standard word layouts cannot be validated or imported - InvalidPrefixMapping error#9696
nhsejth wants to merge 1 commit into
releases/28.xfrom
privar/nhsejth/PathchWordBcAppsOn28x

Conversation

@nhsejth

@nhsejth nhsejth commented Jul 23, 2026

Copy link
Copy Markdown
Member

Validating: .\src\Apps\W1\PaymentPractices\App\src\Reports\Payment Practice by Period.docx - Updated 3 content controls.

  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Payment_Period_Description[1]
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period[1]
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period__Amount_[1]
    Validating: .\src\Apps\W1\PaymentPractices\App\src\Reports\Payment Practice by Vendor Size.docx - Updated 4 content controls.
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Company_Size_Code[1]
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Average_Agreed_Payment_Period[1]
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Average_Actual_Payment_Period[1]
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_on_Time[1]
    Validating: .\src\Apps\W1\PaymentPractices\App\src\Reports\Payment Practice Small Business.docx - Updated 3 content controls.
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Payment_Period_Description[1]
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period[1]
  • xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/' => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period__Amount_[1]

What & why

Vendor contributed Word layouts contains invalid namespace prefixes from pasted content. This causes validation errors when partners tries to import modified versions of these layouts and they are blocked from updating these layouts.

Notice that this PR covers the layouts stored in BcApps. A similar PR will be issued in NAV repository on releases/28.x

Linked work

Fixes AB#631111

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)

Risk & compatibility

Validating: .\src\Apps\W1\PaymentPractices\App\src\Reports\Payment Practice by Period.docx - Updated 3 content controls.
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Payment_Period_Description[1]
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period[1]
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period__Amount_[1]
Validating: .\src\Apps\W1\PaymentPractices\App\src\Reports\Payment Practice by Vendor Size.docx - Updated 4 content controls.
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Company_Size_Code[1]
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Average_Agreed_Payment_Period[1]
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Average_Actual_Payment_Period[1]
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_on_Time[1]
Validating: .\src\Apps\W1\PaymentPractices\App\src\Reports\Payment Practice Small Business.docx - Updated 3 content controls.
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Payment_Period_Description[1]
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period[1]
   - xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/590/'  => xmlns:ns0='urn:microsoft-dynamics-nav/reports/Payment_Practice/685/', DataBinding: /ns0:NavWordReportXmlPart[1]/ns0:PaymentPracticeHeader[1]/ns0:PaymentPracticeLine[1]/ns0:Line_Pct_Paid_in_Period__Amount_[1]
@nhsejth
nhsejth requested a review from a team July 23, 2026 13:16
@nhsejth
nhsejth requested a review from a team as a code owner July 23, 2026 13:16
@github-actions github-actions Bot added AL: Apps (W1) Add-on apps for W1 Finance GitHub request for Finance area labels Jul 23, 2026
@github-actions github-actions Bot added this to the Version 28.4 milestone Jul 23, 2026
@nhsejth nhsejth changed the title Bug 631111: [Releases/28.x] Many standard word layouts cannot be validated or imported - InvalidPrefixMapping error [BcApps] Bug 631111: [Releases/28.x] Many standard word layouts cannot be validated or imported - InvalidPrefixMapping error Jul 23, 2026
@nhsejth
nhsejth enabled auto-merge (squash) July 24, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 Finance GitHub request for Finance area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants