Hi All,
We are requesting external pricing for Prospect in C4C Sales Quote. Since Prospect won't replicated to ERP, thus order to achieve this, we added some custom mapping in PI Message Mapping: COD_ERP_ExternalSalesDocumentDataQuerySync_req.
Workaround:
1. Add extension field, say "IsProspcet" into SalesQuote and related service;
2. Add custom mapping for BuyID, BuyParty->RecipientID, Item->ShipToParty->RecipientID; and assign fixed value (real Customer in ERP) into it once flag "IsProspect" equals "true".
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
However, after applied this in PI, and we found this doesn't work:
Scenario1: for real customer(IsProspect == false)
Result: error:
Image may be NSFW.
Clik here to view.
However, there is no issue before applying the enhancements. And i am confused since that it should go with "Else" as defined in PI MM which is standard mapping, why it raised mapping exception?
Scenario2: for Prospect (IsProspect == true)
Result: No customer master record existes for customer 100001.
Image may be NSFW.
Clik here to view.
However, the customer 100001 exist in ERP and can be requested successfully before applying the custom mapping.
Does anyone knows why and how to solve it?
Thanks & Regards,
Qiang