Skip to main content

Notifications

Announcements

No record found.

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

Import Posted Invoice

Posted on by 95

Hello,

We are trying yo import Posted Invoices in tabel "Sales Invoice Header" during migration of data in to Business Central. When we validatie the data we get an error telling us we don't have the permissions for Adding or modifying this table. We have tried everthing we know (Tenant Admin, BC Essential license, BC Premium license, SUPER permissions,...) but we still get this error. How can we fix this ?

Thanks,

Peter

Config.Package.Error.jpg

Categories:
  • OliverLOlsen Profile Picture
    OliverLOlsen 40 on at
    RE: Import Posted Invoice

    Hi,

    From what system are you trying to import the data?

    If you want to import the invoices for the financial transactions, you should rather import the financial transactions related to the invoices as G/L Lines.

  • JAngle Profile Picture
    JAngle 33,159 on at
    RE: Import Posted Invoice

    Is what your choosing to do a good plan? You will have to handle VAT doing it this way. Something I am currently having to deal with for a client migrating many years of history. Most data migrations I’ve ever done for invoices involve only a journal so no document number problems as the posting change is optional. Also VAT not a problem as the invoice is for the gross amount as that’s what is payable by the customer.

    If you’re concerned about having or producing copy invoices you can attach documents to journal lines and export those files later.

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,159 on at
    RE: Import Posted Invoice

    One number series. No for default numbers. Yes for manual numbers. Set it for sales invoices and posted sales invoices.

  • TWS - PVB Profile Picture
    TWS - PVB 95 on at
    RE: Import Posted Invoice

    Hi Suresh,

    Thanks for your answer. I now do understand that it is not possible to imput posted tables.

    We need to import history invoice in BC but the Invoicenumbers should be the same as the originale invoice. We did succeed to import the the invoices as sales invoices (so not posted) but we still struggle with the invoicenumber. It should be great if we could tell the system to keep the invoice number of the imported sales invoice, but we can't achieve this.

    Regards,

    Peter

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Import Posted Invoice

    You cannot insert data into posted tables, those tables are protected.  As others mentioned you need to create a sales invoice and then post and you can populate manual no.'s by setting the manual on the No. Series line. 

    https://www.inecta.com/working-with-the-number-series-in-microsoft-dynamics-nav-2015

    Why are you trying to create posted invoices? are you planning to bring the history from another version or product?

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,159 on at
    RE: Import Posted Invoice

    Alter the number series so the posted sales invoices uses the same as the “open” sales invoices. Have the number series itself set with manual numbers and not as default

  • TWS - PVB Profile Picture
    TWS - PVB 95 on at
    RE: Import Posted Invoice

    Hi Duilio,

    Thanks for your answer. I was afraid that this would be the answer.... If we first import them as Sales invoices and we post them we loose the original invoicenumber. So how is this usually solved when customers want to import their historic invoices ?

    Kind regards,

    Peter

  • Suggested answer
    THE Italian Profile Picture
    THE Italian on at
    RE: Import Posted Invoice

    You cannot import data in that tables. These can only be populated through postings procedure or you have to import sales invoices first and then post them.

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans