on 05-11-2015 11:29 AM
Hello everyone,
I'm encountering a problem when uploading Materials to C4C using SAP PI.
The Materials are coming from an ERP system.
However, this load doesn't seem to trigger any scripts/events...
I've tried the root node before save and after modify, common node before save and after modify, quantity conversion node before save and after modify... None of the events seem to be triggered when doing a PI load.
Is there something special that needs to be done with the script?
Or is this simply normal behavior? And has anyone else ever encountered this problem?
Thanks & Regards,
Glenn
Everyone, many thanks for the quick and useful replies!
Me and my colleagues appreciate it very much.
It seems to be working now. However, we still don't fully understand why it wasn't working at first...
Thanks & Regards,
Glenn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Glenn,
It does not matter who or what is changing the BO instance.
If there is a change the save for this BO is called. If you have BeforeSave or AfterModify snippets defined for the Material they should be called.
How do you determine that these snippets are not called?
Bye,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Horst,
Thanks for the reply.
Well Horst, in the snippets we are trying to fill 3 extension fields.
These are calculated fields and the data for the calculation has to come from the Quantity Conversion-node. So we thought that maybe the Quantity Conversion-node doesn't contain any data at time the script is called which would explain why the extension fields aren't filled.
So we wrote some code to put some hard values into extension fields, but even then the fields remain blank. That's why we now think the event/script/snippet doesn't get triggered at all...
Regards,
Glenn
Hello Glenn,
If these extension fields are supposed to be filled with the value which would be calculated from the values on ERP system, why don't you try to calculate the values in the PI system and simply map the results to the extension fields that you have created in C4C. This will involve the custom integration using the extended Web Service from C4C.
Regards,
Chandan
User | Count |
---|---|
86 | |
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.