How is priceCost/calcAvgCost calculated in eCom/Omnichannel?
I am looking at some API extracts of data to try to get some financials. I am trying to figure out how Cost information is being calculated in an Omnichannel setup. When comparing the outputs of the Sale retail API with the output of the orders ecom API, I cannot figure out how the cost columns match up?
For example, in eCom.orders, I see a priceCost of $16.00 on a transaction.
In Retail.Sale, same transaction, I see calcAvgCost and calcFIFOCost of $13.34
Looking across all my transactions, I can't see any that the cost data matches. So curious as to how cost is calculated on both sides, given that it should be sharing the same cost information?