The Supply Chain Cost Rollup Buy Cost Extension lets you override the buy cost for a buy/purchase item defined against the buy cost type parameter.
Cost Management calls the Supply Chain Cost Rollup Buy Cost Extension for each item and organization at the time of populating buy costs against the assignment set for the Vendor source type. If this client extension is used, then the returned value is taken as the buy cost of the item, or the cost from the item costs table defined against the buy cost type is used.
When this extension is called, the application determines whether it has been implemented and returns a value accordingly. The return values are:
-1 - The extension has not been used and processing would be based on the standard definitions.
<> -1 - The extension has been used and the returned value is taken as the buy cost for the item.