Quantcast
Viewing all articles
Browse latest Browse all 3353

External Pricing for Prospect (C4C Sales Quote)- PI custom mapping

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.
ProspectPricingEnhance1.jpg

 

Image may be NSFW.
Clik here to view.
ProspectPricingEnhance2.jpg

 

Image may be NSFW.
Clik here to view.
ProspectPricingEnhance3.jpg

 

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.
CustomerPricingError.jpg

 

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.
ProspectPricingError.jpg

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


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>