This script is for approving transhdr and cu_scheduledtxn. Each feature has its own row and detail template. User can only approve if they have the permission for "confirm" in the user rights for that feature.