Getting Error "Column u_rfid already exists in this table or a table extended from it"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 07:51 AM
Hi Team,
Trying to create a new field "RFID" in cmdb_ci table,
How can we get the variable from child table to populate on parent table
thanks,
Labels:
- Labels:
-
Scripting and Coding
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 08:02 AM
Hi
You want to populate field on cmdb_ci table using child table.
Then write after business rule on insert or update BR on child table and glide to parent table (use add query method to find particular record)and set value to parent field and update record.
It will work as you are expecting.
Varsha.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2019 08:05 AM
Thanks for the response,
can you please share sample code for the same, it will be very helpful
thanks,