Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3316

Document Flow (SQL Help)

$
0
0

I could use some assistance in writing a query to list ALL Sales Orders, and their related documents.  For example:

2015-09-19_13-32-22.jpg

This would be somewhat straightforward if the Target Document of a SO was always a Delivery Note, but this is not the case.  Most of the orders are a traditional document flow:

2015-09-19_13-54-04.jpg

However, many times this is the case:

2015-09-19_13-47-43.jpg

Complicating even more, in the company's early history, Delivery Notes were not even used:

2015-09-19_13-56-53.jpg


Viewing all articles
Browse latest Browse all 3316

Trending Articles