on 2022 Apr 14 9:23 AM
Hello All,
I am working on the solution in which event (BeforeSave) in BusinessPartner extension (XBO) shall create new custom object.
So far what works is: I am able (using Query) to check if given entry exists.
What I want to achieve is: when entry with given ID does not exist, I want to create a new one.
This is possible for standard objects, but seems not to be possible for custom objects. Is it correct?
For standard object I can import them, like this example:
import AP.FO.BusinessPartner.Global as BusinessPartner;
and then I not only have BusinessPartner.Retrieve , but also BusinessPartner.Create.
The same is not for custom object. Lets say I have CustomObject.bo. Without import it is available however I have only CustomObject.Retrieve or CustomObject.QueryByElements , but not CustomObject.Create.
I am looking for something similar to this:
https://blogs.sap.com/2012/09/04/creatingsaving-a-bo-instance-sample-absl/
but for custom obejct.
is it possible in C4C?
Best regards
Rafał
Request clarification before answering.
Hello Peter,
thanks for your answer. This answer my question. The problem was indeed different "Deployment Unit".
Best regards
Rafał
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.