Skip to main content

system.kanoa.item.updateItemPeriod

This function requires KanoaOPS module

Description

Updates the item period (kanoaOPS).

Syntax

updateItemPeriod(periodInfo, userId)
  • Parameters
      periodInfo (Dictionary) - Dictionary containing updated period information (e.g., {'itemPeriodId': 1, 'itemPeriodName': 'second', 'enabled': True}).
      userId (Integer) - User ID.
  • Returns
      # of records modified (Integer).
  • Code Example

    # Example Usage:
    modifiedRecords = system.kanoa.item.updateItemPeriod({'itemPeriodId': 1, 'itemPeriodName': 'second', 'enabled': True}, 123)