JeremyCohen
6 years agoQrew Member
Create a new parent record based on criteria on child record
I am working with a record tie in of a parent table being a total volume while a child record utilizes an amount of the parent.
In certain instances the child record can create more volume in the parent, but with systems it has to be in a new line.
So the long and short...
I need to create a URL button that would get the parent info that is related to what is being used in the child and create a new record in the parent with that criteria.
I started a formula with the API_GetrecordInfo Which does great in giving me it all. Now I just need to know how to "Copy" all of that data and then edit the record with the information created in the child record.
I figured I could use javascript to form 3 URL's to accomplish this, just not sure the middle one.
1st "Get info" which would pull all the information in the parent.
2nd "Copy info" which would probably be a generate new record with the information of "Get info"
3rd "Edit info" which I would believe is a simple translation of a few fid's to the represented data.
I hope I did a good job explaining this. Any help would be very much appreciated!
------------------------------
Jeremy Cohen
------------------------------
In certain instances the child record can create more volume in the parent, but with systems it has to be in a new line.
So the long and short...
I need to create a URL button that would get the parent info that is related to what is being used in the child and create a new record in the parent with that criteria.
I started a formula with the API_GetrecordInfo Which does great in giving me it all. Now I just need to know how to "Copy" all of that data and then edit the record with the information created in the child record.
I figured I could use javascript to form 3 URL's to accomplish this, just not sure the middle one.
1st "Get info" which would pull all the information in the parent.
2nd "Copy info" which would probably be a generate new record with the information of "Get info"
3rd "Edit info" which I would believe is a simple translation of a few fid's to the represented data.
I hope I did a good job explaining this. Any help would be very much appreciated!
------------------------------
Jeremy Cohen
------------------------------