How to delete custom column using fix script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 11:31 AM
Is there a way to script a column's deletion so that everything is performed as though the column was deleted using the GUI?
The London release has introduced a "Parent Contract" field to the ast_contract which has resulted in our custom "Parent Contract" field added in early 2017 to be redundant. I am working on a fix script to copy the data from the custom field into the OOB field, and would like to be able to delete the custom column as the final step in the script.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 11:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 11:48 AM
Is there a way to delete the column using a fix script so that everything is in one place?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 12:55 PM
You'll need to run a fix script/background script to copy the existing field data into the OOTB London field. Once you have, you can simply delete the column from the table and it will drop the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2019 01:53 PM
May i know why are you looking for a script if you can do it with a Click of a Button.
Please mark my response as correct and helpful if it helped solved your question.
-Thanks