Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Enable auto-numbering for asset tag on Software entitlements

Kaustubh k
Tera Expert

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 

 

1 ACCEPTED SOLUTION

Thanks @Raghav Sharma24 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  

View solution in original post

8 REPLIES 8

@Kaustubh k You can close the thread by marking the relevant question correct, if this answers your query.

@Kaustubh k  Please close the thread for future user’s benefit if your query is resolved.

Thanks @Raghav Sharma24 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  

@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.