I’m currently getting an ARSalesPrice (PX.Objects.AR) object using this:
sp = PXSelect<ARSalesPrice, Where<ARSalesPrice.inventoryID, Equal<Required<ARSalesPrice.inventoryID>>,
And<ARSalesPrice.siteID, Equal<Required<ARSalesPrice.siteID>>>>>.Select(newGraph, InventoryID, “WHSE01”);
However, this returns the first (old) row in the Sales Prices (AR202000) screen. How can I get the newer Effective/Expiration Date row?