- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello All, we need to auto-number the asset tag for each software entitlement in the following format: starting with a short prefix (e.g. SWL) and then 10 numbers that auto increments so that we can have unique software entitlement asset tag for each license.
How to do this, best recommended approach not disturbing the asset tag field on the alm_asset table, and only to work for alm_license table.
is there as need to create BR before insert on alm_license table to do that, as number maintenance table do
have field mapping on which we set the number field.
Any best solution on the same will be highly appreciable.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thanks @RaghavSh for the update, i have created a after business rule on alm_license table to update the asset tag same as number, which is added by number maintenance on alm_license. This works as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
@Kaustubh k You can close the thread by marking the relevant question correct, if this answers your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago - last edited 2 weeks ago
@Kaustubh k Please close the thread for future user’s benefit if your query is resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thanks @RaghavSh for the update, i have created a after business rule on alm_license table to update the asset tag same as number, which is added by number maintenance on alm_license. This works as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
@Kaustubh k I believe this will work in before insert as well.
Before insert will save you from doing current.update() which is not recommended and is flagged in health scan findings.