web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: Delete Free text invoice templates

    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.

  • Community Member Profile Picture
    on at
    RE: Delete Free text invoice templates

    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
    RE: Delete Free text invoice templates

    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

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
KP-31070522-0 Profile Picture

KP-31070522-0 3

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans