SUM and JOIN 2 columns with different tables but did not SUM Qty

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • You have 2 left join statements for BBI$Item ledger entry.

    I would take the second reference out

    Change your where clause to

    (

    (MS.[Entry Type]='1' AND

    MS.[Document No_] LIKE 'MSales%' )

    OR

    MS[Entry Type]='2')

     

     

    <!--more-->

Viewing 2 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply