With information from Business Central, I am looking for an opportunity to make a breakdown of an item's total cost price, so that the item's original purchase price as well as the value of each assigned Charge can be displayed.
For example, it could be the following:
Direct item price - (Item)
Freight - Charge (Item)
Customs - Charge (Item)
Royalty - Charge (Item)
I want to make the breakdown in Power BI and I have thought about using the information in the Value Entry table (5802). But here I have a problem, as the information about the individual Charge (Item) is only on the value entry record for the purchase invoice line in the fields Item_Charge_No and Description, while nothing about this is stated on the value entry record for the sales invoice line.
For each Charge used, there is also no unique connection between the purchase invoice line's and the sales invoice line's value entry records, and I therefore do not have the opportunity to retrieve the information about used Charge on the purchase invoice line's value entry record from the value entry record for the sales invoice line.
I hope there is something I have overlooked so you can help me make a breakdown of the item's total cost price.