Sales Order - Stock Status on Sales Order Quantity and Sales Order by Item Report Quantity are Different

SUGGESTED

For one item / warehouse (that we know of so far), the On Sales Order quantity listed on the Stock Status report and the quantity on the Open Sales Order Report by Item report do not match.
Actually a difference of 4300. Can't seem to find a reason. I have rebuilt the Sort / Index files, recalculating the balances, and run the Balance Inventory Quantity and Cost utility (no differences found). Hoping that someone will have some insight or ideas.

Thanks
Lonnie

Parents
  • 0

    Check the SO detail table (and possibly tier distribution table) for orphaned lines (missing SO header).  Rebuild sort files for SO recalculates the value you see as On SO in the IM_ItemWarehouse file, but it doesn't exclude orphaned rows.

  • 0 in reply to Kevin M

    Hi Kevin, I have an Access DB with links to Sage 100. I ran  the following SQL queries to check for those orphaned rows between SO_SalesOrderDetail and SO_SalesOrderHeader:

    • Select * From So_SalesOrderHeader As SOD
      Where Not Exists (Select SalesOrderNo From SO_SalesOrderHeader SOH Where SOD.SalesOrderNo = SOH.SalesOrderNo)
      This returned no rows...to double verify I ran the Inverse:
    • Select * From So_SalesOrderHeader As SOD
      Where Exists (Select SalesOrderNo From SO_SalesOrderHeader SOH Where SOD.SalesOrderNo = SOH.SalesOrderNo)
      And I received the same number of rows (112) as in the query below:
    • SELECT Count(SalesOrderNo) AS SOCount From (Select Distinct SalesOrderNo From SO_SalesOrderDetail SOD)

    So it seems that there are no orphaned rows.

    Tier Distribution table...can you point me to that area?
    I am looking at the Cost Detail tab on the item inquiry, and I do see the Quantities / Cost / Committed values. Committed is zero for all tiers.

  • 0 in reply to Lonnie Thibodeaux
    SUGGESTED

    Select * From So_SalesOrderDetail As SOD where...

  • 0 in reply to Kevin M

    For Tier distribution: SO_SalesOrderTierDistribution

    To be complete, also look in IM_DataEntryCostCalcCommit which should be blank normally.  (It locks inventory between printing a journal and the update processing).

Reply Children