web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Service Management. Error message when trying to delete unposted service contract invoice

(0) ShareShare
ReportReport
Posted on by

I created an invoice according to invoicing period and next invoice date available in contract card.

Before posting this invoice, I try to delete it because some data is wrong but an error message informs me it is not posible:

You cannot delete invoice "invoice number" because one or more service ledger entries exist for this invoice.

Is there any way to delete a contract invoice before it is posted?

If not what should I do to cancel this invoice and reinvoice again this period?

Thank you

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Jens Glathe Profile Picture
    6,092 on at

    Hi JoxiSan,

    well, that's standard (bad) behaviour of the service module in NAV. When creating the invoice, NAV is already posting service entries without telling you that it's doing so. Without the right tool (a NAV developer license and the rights to use it) you're not able to resolve this. The question is: Is the created invoice completely wrong as in WRONG or can you edit it up to become a correct invoice? If not, please contact your NAV partner and ask him if he could resolve this (delete service ledger entries) to get the contract functional again.

    with best regards

    Jens

  • Community Member Profile Picture
    on at

    Thank you Jens,

    I already assumed NAV Works in this way but every action I tried to correct invoice manually were rejected by NAV:

    - Update invoice line Price.

    - Delete invoice line.

    - ...

    In this case the only way to correct this invoice is update NAV tables data to delete invoice lines and header, delete service entries, and update contract card information to specify next invoice period and invoice date in order to reinvoice contract.

    Hard solution for a NAV bad behaiviour.

    Is there any standard procedure to solve this situation? Something like posting invoice and cancel it by a credit memo that also update contract information to allow user reinvoincing this period

    Thank you again for your help

  • Verified answer
    Jens Glathe Profile Picture
    6,092 on at

    Hi JoxiSan,

    in a test system I would try the cancel, but not in a live system. We have sensitized our service users for the issue, they are extra careful. Rewriting this mess to have some better behaviour is quite a task, we have postponed it for now. BTW, we have disabled the credit memo functionality because it makes the problems worse (in our case). We live with calling NAV support twice a year.

    Frankly, I was hoping this mess would have been rectified in NAV2013... our codebase is a bastardized NAV5.0. There are significant changes in the service module in NAV2009 (R2), but not only for the better.

    with best regards

    Jens

  • HattrickHorst Profile Picture
    30 on at

    Hi Jens,

    Sorry to pull this up again. Can you describe what makes it worse in your case if you credit those invoices?

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at

    HattrickHorst ,

    if you placing credit means you are adding on more ledger entries

    the real requirement is to delete this we have to have "0" ledger entries,  once the transaction has been done mean ledger entries will be update

  • HattrickHorst Profile Picture
    30 on at

    I know that you get more Ledger Entries. But I don't understand why that could make it worse. In the end the Ledger Entries are balanced out. So, that can't be the part that makes it worse from my point of view.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans