Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5156 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted (edited)

hi. Please help me !!!!!!!

how do I dublicate an invoice and have the date update automatically to the same day the following month? I am trying to have a re-occuring invoice system and want to dublicate invoices for the next six months. I have an Invoice table and an Invoice Line Items table related by InvoiceID.

Edited by Guest
Posted

Hello, Alex, welcome to the forums.

You would need to write a script that duplicates the invoice record and all its line items (with a new Invoice ID), then sets the date to the original invoice's date, incrementing the month. However, if you want the "second Friday" of the month each time, that's a bit more complicated.

However, this is an odd request to me. Can you elaborate on this requirement?

Also, it would be helpful to know what tables you have and how they are related. Do you have an Invoice table and an Invoice Line Items table related by InvoiceID?

This topic is 5156 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.