Python command: Corrective Actions

The Corrective Actions commands in Python allow you to retrieve corrective action values from the database.

See Python commands for other commands you can use with GainSeeker.

Syntax

Example

Description/Remarks

New or changed in GainSeeker version

correctiveaction.actiontakenlist(onlyde)

print correctiveaction.actiontakenlist(False)

Returns a list of SPC Actions Taken (long descriptions) that are not set to Hide Everywhere.

If onlyde is True, items that are set to Hide in Data Entry are not included in the list.

8.8.1, 9.1

correctiveaction.causelist(onlyde)

print correctiveaction.causelist(True)

Returns a list of SPC Causes (long descriptions) that are not set to Hide Everywhere.

If onlyde is True, items that are set to Hide in Data Entry are not included in the list.

8.8.1, 9.1

correctiveaction.dmseventlist()

mylist = correctiveaction.dmseventlist()

Returns the list of all DMS events that contain an Event Description.

8.8.1

correctiveaction.eventlist(onlyde)

print correctiveaction.eventlist(False)

Returns a list of SPC Events (long descriptions) that are not set to Hide Everywhere.

If onlyde is True, items that are set to Hide in Data Entry are not included in the list.

8.8.1, 9.1