Skip to Content
avatar image
Former Member

Query

hi

i need customer outstanding balances along with name of area supervisor and outstanding days

an early response would be appreciated ,

thanks

Regards

zubair

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 21, 2015 at 07:25 AM

    Zubair try this......

    SELECT

    T0.DocDate as 'Posting Date',

    T0.DocNum as 'AR Invoice Number',

    T0.CardName,

    T0.DocDate as 'Payment Date',

    T1.DocNum as 'Incoming Payment Number ',

    T0.DocTotal as 'AR Invoice Total',

    T1.TrsfrSum,

    T1.CashSum as 'Cash Amount',

    T1.CreditSum,

    T1.CheckSum,

    T2.CheckNum as 'Cheque Number'

    FROM OINV T0

    LEFT JOIN ORCT T1 ON T0.ReceiptNum = T1.DocEntry

    LEFT JOIN RCT1 T2 ON T1.DocNum = T2.DocNum

    Left Join OSLP T3 ON T3.SlpCode= T0.SlpCode

    where T0.DocDate >='[%0]' and T0.DocDate <='[%1]'

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Zubair,

      I am not sure if your query is regarding TDMS product. This forum is dedicated to the SAP tool Test Data migration server.