In this section we will :
Here is specification of the batch and fields : Specification - CPC Price Setting Update - Google Slides
At Creation if we are not able to find a SLV44_Freight_Guidance__c,Volume Bracket, Manufacturing plant then, an error message does not allow the creation of the CPC.
If everything is found then the CPC is created the the price settings is set.
/!\ If Price Guidanceor Price Floor is loaded at creation they will be overwritten by the CPC Price Setting calculation
Every time a One Quote Line item linked to a CPC is deleted, the CPC Price Setting is update for that specific CPC except if the Pricing Campain is Closed (IsClosed = true).