Symptom
Set the shopping account type as external type.
Environment
SAP SuccessFactors Learning
Resolution
Learning uses a copy of the property to set the shopping account type based upon the STATUS value.
The options are:
- INTERNAL = internal shopping account.
- EXTERNAL = external shopping account.
By default, the mapping of the employee status to the Learning shopping account type is:
- ACTIVE = Internal.
- ACTIVE_EXTERNAL = External.
- INACTIVE = Internal.
- INACTIVE_EXTERNAL = External.
To make this work, the following must exist in the "CONNECTORS" configuration file.
sfuser.field.mapping.data.NOTACTIVE=STATUS
sfuser.field.transform.data.NOTACTIVE.N=active,active_external,ACTIVE,ACTIVE_EXTERNAL
sfuser.field.transform.data.NOTACTIVE.Y=inactive,inactive_external,INACTIVE,INACTIVE_EXTERNAL
sfuser.connector.copy.field.mappings=SHOPPING_ACCT_TYPE=NOTACTIVE, JL_DESC=JL_ID, COL_NUM8_VAL=ORG_ID, REGION_ID=DMN_ID, COL_NUM12_VAL=ACCT_ID
sfuser.field.transform.data.SHOPPING_ACCT_TYPE.INTERNAL=active,ACTIVE,inactive,INACTIVE
sfuser.field.transform.data.SHOPPING_ACCT_TYPE.EXTERNAL=active_external,ACTIVE_EXTERNAL,inactive_external,INACTIVE_EXTERNAL
If you are using the User Connector, replace "sfuser" with "user".
Note: The employee export job in BizX provisioning does not include employees with the "active_external" or "inactive_external" statuses. Hence, to get them updated in Learning, a user data file for these external employees must be manually and separately generated and placed in the SFTP folder.
See Also
Keywords
shopping, account, type, external, internal, connector, lms, learning, commerce, connector , KBA , LOD-SF-LMS-CON , Connectors , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-EXT , Sites and External Users , How To