Skip to main content

system.kanoa.lot.deleteLotStateReason(lotStateReasonId, userId)

Delete a lot state reason. If the state has been used then it is set to disabled


Parameters

lotStateReasonId Integer
userId Integer: Id of user executing the function


Returns

# of records modified Integer
message String None if success


Example

lotStateReasonId = 1
userId = 5
retVal, msg = system.kanoa.lot.deleteLotStateReason(lotStateReasonId, userId)