SQL View to return most recent five purchase orders by vendor

Ian GrieveDyn365GP4 years ago11 Views

Microsoft Dynamics GPI don’t recall when I wrote this SQL view, but I stumbled across it when I was looking for something else and thought it worth posting.

It uses a common table expression to return the most recent five purchase orders for each vendor.

-- drop view if it exists
IF OBJECT_ID(N'uv_AZRCRV_MostRecentFivePurchaseOrdersByVendor ', N'V') IS NOT NULL
    DROP VIEW...

Continue Reading Ian Grieve’s Article on their blog

SQL View to return most recent five purchase orders by vendor

I don’t recall when I wrote this SQL view, but I stumbled across it when I was looking for something else and thought it worth posting. It uses a common table expression to return the most recent ‎…

Blog Syndicated with Ian Grieve’s Permission

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...