Trying to learn how this all relates. I was looking at the methods in the table InventItemPrice. The PriceUnit Method looks like the following:
PriceUnit priceUnit()
{
return this.InventPriceMap::priceUnit();
}
And the following is the Method in the InventPriceMap table.
PriceUnit priceUnit()
{
return this.PriceUnit ? this.PriceUnit : 1;
}
I am trying to make sense of this.
1)Why is it pulling the priceUnit from InventPriceMap and not from InventItemPrice?
2)Is it pulling all 3 files mapped into one (it references InventItemPrice, InventItemPriceSim and InventTableModule)
3)When does the Map get populated?
I am fairly new to this, so please explain like you would to a 5th grader. Thanks!
*This post is locked for comments
I have the same question (0)