SAP Knowledge Base Article - Public

2821419 - Record Learning - Financial validation error 'getP6CurrecyCode()'

Symptom

Upon using the Record Learning - Financial tool to record learning for an item, the tool shows a validation error such as:

"The following error has occurred: while trying to load from index 9 of an object array with length 9, returned from com.plateausystems.elms.client.struts.student.TrainingEventWizardForm.getP6CurrencyCode()"

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Go to a scheduled offering that has multiple users
  2. Under Actions choose Record Learning
  3. Go through the steps to record learning for all users
  4. Validation error will occur as long as one user or more have a missing shopping account ID

Cause

A user was manually deleted and then reincarnated by the Connector which removed the shopping account link. The proper user purge process would avoid this issue.

Resolution

  1. Go to each user record->Related More->Commerce->Check if Shopping Account ID and if Shopping Account is enabled
  2. Find the user which is missing the Shopping Account ID
  3. Open an case with Product Support and supply the ID to check the PH_SHOPPING_ACCT database table for the Shopping Account ID that was previously on this user
  4. Add the Shopping Account ID, make the user Interal/External as per the proper user categorization and check the "Enable Shopping Account".
  5. Save the changes

Keywords

validation error record learning financial commerce scheduled offering unable complete finish cannot getP6Currency code index object array , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS-SCH , Class - Scheduled Offerings , LOD-SF-LMS-COM , Commerce , Problem

Product

SAP SuccessFactors Learning all versions