Skip to main content

system.kanoa.quality.sheet.getChangeLog

Requires kanoaQDS license

Description

Returns check sheet change log entries filtered by the provided criteria.

Syntax

getChangeLog(paramsDict)

Parameters:

– paramsDict (dictionary): Dictionary of filters for the query.

Returns:

– data (pyDataset): Result set of change log entries matching the filters.

Dictionary

ParameterTypeRequiredNotes
chkShtTypeIdintNoFilter by check sheet type ID
chkShtIdintNoFilter by a specific check sheet ID
chkShtNamestringNoFilter by check sheet name (supports LIKE search)
chkShtTypeNamestringNoFilter by check sheet type name (supports LIKE search)

Code Examples

# Get all changes for a given check sheet ID
params = {"chkShtId": 2002}
dataset = system.kanoa.quality.sheet.getChangeLog(paramsDict=params)
for row in dataset:
print(row["changeLogId"], row["chkShtName"], row["change"], row["createdDate"])

# Filter by name with LIKE
params = {"chkShtName": "%Safety%"}
dataset = system.kanoa.quality.sheet.getChangeLog(paramsDict=params)

# Filter by type name with LIKE
params = {"chkShtTypeName": "%Production%"}
dataset = system.kanoa.quality.sheet.getChangeLog(paramsDict=params)

# Filter by type ID
params = {"chkShtTypeId": 3}
dataset = system.kanoa.quality.sheet.getChangeLog(paramsDict=params)