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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Delete Free text invoice templates

(0) ShareShare
ReportReport
Posted on by

Hi all,

I would like to make some housework in our Free Text Invoices Template, because some ar not used anymore and will never be again.

But whatever I try, I always have the same error message :

Free text invoice template cannot be deleted while dependent Customer invoice recurrence setup exist. Delete dependent Customer invoice recurrence setup and try again.

I already tried :

- generate all stand by-ing invoices, just to put the next date to today

- inactivate the template on every linked customer sheets

- delete the template lines

- finally try to delete the template header.

So did I miss something ? Or could you confirm me that after an invoice have been generated and posted, it would be impossible to delete a template ?

Best regards,

Hélène

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    The CustInvoiceTemplate table, from which you are trying to delete, has a Restricted Delete action on the CustRecurrenceInvoice table, preventing your free text invoice template to be removed.

    First you need to get rid of the Customer invoice recurrence setup entry in that table that is linked to your free text invoice template as the error message clearly states, after which you could delete it just fine.

    Those are defined on your customers as recurring invoices, so you need to get rid of those first.

    https://technet.microsoft.com/en-us/library/hh227473.aspx#Assign_a_free_text_invoice_template_to_a_customer_and_enter_recurrence_details

  • Community Member Profile Picture
    on at

    Hi Vilmos,

    Thanks a lot for your answer.

    Actually, I first tried to delete the set up template from the Customer Sheet. The message is : "You cannot delete this setup because recurring invoices have been generated using this setup.".

    I think your solution is OK if no invoice have ever been generated and posted based on that template.

    I'm wrong ?

    Best regards,

    Hélène

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    I am unsure about what you tried to delete, was it the record linked to the table I mentioned above?

    I have not checked the tables' restrictions whether it is blocked by posted invoices or not, but you may easily verify that with a developer.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans