My customer is using the Self-service Procurement and the Punch out functionality. The customer needs to do some extra stuff when each cart line is created. This is solved by a custom event which is posting a background job, which is running some logic doing the extra stuff.
The above works fine when you add parts to the cart from the catalog. Each created cart line, creates a background job by the event. But, when using the Punch out, the background job ending upp in error: “FndUser does not exist”. Looking at the background job you can see that there is no user added inte “Fnd User”-field. To me this means that the session that creates the cart line (from the Punch out), and at the end also creating the background job by the event, is some other user. I don’t know the logic behind the Punch out-integration, but it seems like cart line is created by a “ghost” user, at least not normal Fnd users.
Can anyone bring some light over the Punch out-integration and maybe explain “who” is actual creating the cart line? At the moment the solution is not working as expected. If a cart line is created from a punch out, the background job will always fail 😑
