Hello Everyone,
The automations script is getting the next transaction by selecting the maximum transaction id from interface table. So when we receive a new transaction prior to the completion of the previous transaction, the same transaction id can be assigned to multiple transactions.
We are trying to use an oracle sequence instead. The sequence would be updated immediately instead of when the transaction is saved.
I have created the sequence and register the sequence to Maximo. Once the sequence has been created the automation script will need to be updated to select the next value from sequence instead of selecting maximum transaction id from the interface table (transactionid= ifacetSet.max("TRANSID")+1)..
Here comes my question. how can we write this using automation script, To select the next value from sequence.
Can anyone help on this. Thanks in Advance
------------------------------
Ishwarya Soundarya
------------------------------
#AssetandFacilitiesManagement#Maximo