system.kanoa.lot.enableAssetLotStateLink
Description
Updates the enabled state of a lot state reason asset link.Syntax
enableAssetLotStateLink(lotStateReasonAssetLinkId, enabled)Parameters:
Returns:
Code Examples
# Example usage
lotStateReasonAssetLinkId = 1
enabled = True
recordsModified = system.kanoa.lot.enableAssetLotStateLink(lotStateReasonAssetLinkId, enabled)
print(recordsModified) # Print the number of records modified