...
- When importing course record enrollments for users that do not exist in the system yet, it is recommended to have at least one required course object in the course. Otherwise, if there is nothing to prevent a user from being completed upon enrollment, the user will receive whatever credit may be available, regardless of the user's desired credit or any credit-mapping logic that may exist.
When creating course records, do not put credits on a record that is not complete (complete=0). The user may want to claim a different number of credits, however the credit record imported is the credit record that remains. The only workarounds are to re-import a completion with credit for the learner, or manually edit the credit.
...