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

Query to link ORDR and ODLN

$
0
0

Hi,

 

I get so much great help from here, so I'll try this as well!

 

We will be using some fields in ORDR for a different purpose than intended, to be able to keep track and make a query and single them out and from where I can figure out I need to use the ODLN as well to get the right result.

 

This is what we have in mind and what we want the query to report back to us:

 

We regularly lend out products to our customers but we do not invoice them until they are late returning the items. So, we will enter a sales order as usual, add a project called "Loan" (for easy identification and searchability) and in the field for 'cancel date' (ORDR.CancelDate) we intened to type in the date when this loan should end.

 

Result of query should tell us this:

 

 

Doc.number (from ORDR)     CardCode     CardName     DocDate (from ODLN created from base document)     CancelDate (from ORDR)

 

 

And only show results where the delivery note still is "open". i e no invoice(s) has been created from it or full returns, but it should still show in the results if it is partially returned. And of course contain the project code "Loan".

 

 

 

Is this even possible? Or maybe there is another way to do our "loan orders" and still get the same result?


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>