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

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

Recommended Posts

Posted

I have a FM db that creates medical claims for insurance and I need to create a duplicate claim while creating a new record #. My record # is calculated based on the date, time record ######-######-######. How can I duplicate the record but generate a new record #?

Posted

Dear Kensey S.

Sounds easy, buy maybe I don't understand your question fully...

Say you've got three fields:

date -> auto inserted calculated value, status(currentdate)

time-> auto inserted calculated value, status(currenttime)

serialn

Posted

Ernst:

It should be the other way around. Kensey wants a new record ID when a record is duplicated.

So, you do want to use the auto-enter date, time & serial number in 3 separate fields and then combine them in one calculated field. Or, use scripts for record creation and duplication, so that you can manage the record numbers more securely with a Captkurt style unique ID.

Posted

Hey Bob and Kensey,

It was not totally clear to me what Kensey actually wants, I interpreted his task as trying to generate a serial number that has the original date and time of entry but a unique serialn

Posted

This is Cpt Kurt's serial number generator. so I need to duplicate the current file and regenerate a new serial number. If i just duplicate the current record I will also have duplicate serial numbers.

Posted

Thanks. I think I figured it out.

I created a script using SetField and regenerated the SN and inserted the script into the other script that duplicated the file. Now I can duplicate the file and create a new SN for the duplicated file. I will have to restructure my claim file to have the line items within the actual record instead of linking to a lineItems file. Generating a new sn breaks the link to the original line items.

This topic is 7836 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.