Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

how to create an extension to do a data fix on table 252 and 12142

(0) ShareShare
ReportReport
Posted on by 71

Hello All,

I need to create a data fix to renumber some document numbers on VAT register. For unknown reasons, the numbering of active reverse charge invoices has been skipped and I need to do a data fix to renumber the documents.

In short, I have a setup on reverse charge invoice, so when I post a vendor invoice, i. e., with document number 22-FX0025, the system creates a reverse charge invoice with document number 22-CX0025, same final numbers. The first one number appears on vendor Vat register, the second one appears on customer vat register.

For some reason, in september when I posted the vendor invoice with number 22-FX0026, the system has created the reverse charge invoice number 22-FX0027, shifted by one position.

I need to renumber the current document number to 22-FX0026 and all those created later.

I created a request to Microsoft support, and they suggest me to create an extension to fix number in tables 254 and 12142.

I'm new on extension, could you help me to understand how to create an extension to do the renumbering?

regards

Gianluca

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: how to create an extension to do a data fix on table 252 and 12142

    hi

    look this

    learn.microsoft.com/.../get-started

    DAniele

  • Gianluca Natili Profile Picture
    Gianluca Natili 71 on at
    RE: how to create an extension to do a data fix on table 252 and 12142

    My company is an IT system integrator, we would like to do by ourself, but we are new on BC, so I would like to have some tips and tricks on how to do extensions on that.

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: how to create an extension to do a data fix on table 252 and 12142

    hello

    yes that is correct, you have to have your partner develop an app that does what you ask for

    DAniele

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans