Skip to Content
author's profile photo Former Member
Former Member

No idea where to start......

I have one table that has several records. I am not sure how to structure a formula or other method of pulling the records I need for the following ;

"Select all warehouses and locations and their qty for any part that has a negative qty in any of the warehouse/location configurations".

I can pull all warehouses and their quantities for each part but as soon as i indicate that i want parts that have neg. qty i only return that warehouse/location qty and not all information for that part id.

See attached.

Report Question.png (113.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 09, 2016 at 11:48 PM

    Group by Product and then by warehouse.
    Use Report, Selection Formulas, Group... to impose a condition that the Minimum balance of a product across all warehouses is negative. That way, products with no negative balance will be removed.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 12, 2016 at 01:48 PM

    Hi Megean,

    Here's what you need to do:

    1) Go to the Database Expert > Add the existing table again. CR will add this table with an underscore suffixed to its name.

    2) Go to the Links tab > setup and Inner Join on the ID fields between these two tables.

    3) Go to the Report Menu > Selection Formulas > Record and use this code:

    (

    {Table_1.ID} < 0

    )

    AND

    Here {Table_1.ID} is the ID field in the new table you added.

    The 'AND' at the end is for you to add any other filter conditions you may have in your existing report. If there aren't any, please remove the 'And' keyword.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.