public static decimal?Fetch <InventoryIDField, CuryInfoIDField>(PXGraph graph, object row, int?vendorID, int?vendorLocationID, DateTime?docDate, string curyID, int?inventoryID, int?subItemID, int?siteID, string uom, bool onlyVendor)
            where InventoryIDField : IBqlField
            where CuryInfoIDField : IBqlField
        {
            ItemCost price = Fetch(graph, vendorID, vendorLocationID, docDate, curyID, inventoryID, subItemID, siteID, uom, onlyVendor);

            return(price.Convert <InventoryIDField, CuryInfoIDField>(graph, row, uom));
        }