Search found 2 matches

by andrerembert
Wed Apr 19, 2017 8:42 pm
Forum: Reporting
Topic: Customer Invoice Receipts Average Days Late
Replies: 0
Views: 77666

Customer Invoice Receipts Average Days Late

Had a request to get the average # of days late for each customer for last year and this year so I used the code below. Not 100% if the tables are correct so I'm having to manually verify but I used Cash Receipts Detail in SQL Profiler to capture the tables required. ;With LastYearRes AS ( select IH...
by andrerembert
Wed Apr 19, 2017 3:08 pm
Forum: Database Documentation
Topic: Bill of Jobs Table
Replies: 2
Views: 116322

Re: Bill of Jobs Table

I haven't used this one much and haven't seen it used in many other out of the box queries so I've been using the code below: Select Child.Job , Child.Order_Quantity , Child.Shipped_Quantity , Parent.Customer , Parent.Job [Parent Job], Parent.Part_Number AS 'Parent Part Number' , Parent.Order_Quanti...