on 11-26-2015 1:55 AM
Helle there!
I've enabled the vehicle vertical in C4C to manage vehicles (Products > Vehicle Management). Using the UI I can create vehicle normally, it seems like an extension of the individual/registered product. Now I need to import thousands of vehicles and these are my options:
1) Import via migration template:
- It doesn't exists. An incident was open but nothing could be done.
2) Import via custom web services:
- It can't be done. The error "The alternative key or one or more business object elements are not released for PSM" appears in all operatios. In addition, there isn't queryByElements query and I can't create alternative key in xbo.
3) Create a custom BO with all information needed and populate via XML file input or custom webservice, after that, in beforeSave or using MDR, create Vehicle by code:
- It doesnt' work. The Create() method of Vehicle doesn't do anything. I can't fill basic information such as VIN, Product and Customer that belongs to IndividualProduct.bo.
4) Import as Individual/Registered Product using standard mechanisms and in beforeSave create the respective Vehicle by code:
- It can't be done. IndividualProduct.bo belongs to Foundation deployment unit and Vehicle to CRM. Apperantly I can't use Vehicle.Create() and even if it's possible I don't know how to do it.
Any suggestion?
Thanks in advance.
Alexandre.
Hello Alexandre,
I assume the main obstacle in your apporaches are that you want to create / maintain the only AlternativeKey of the BO Vehicle: ID.
This element is not write-released. It will be determined by the system.
You propably need to provide an InstallationPoint too.
Bye,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.