Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Delete Free text invoice templates

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 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
    Community Member Microsoft Employee 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
    Vilmos Kintera 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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans