Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

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

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,217 Moderator 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,217 Moderator 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans