Skip to Content
Menu
This question has been flagged

How can you build a filter that compares two fields with each other?

Example:


Filter on "qty_received" not equal to "product_qty"


The aim is to display all order lines that have not been delivered or not fully delivered. In my opinion, the model would be "Purchase Order Line".

In the PO overview you can see the delivery status, which is great, but I need this at purchase order line level for each individual product ordered, hence the above model.

Avatar
Discard

If you are going to the Purchase > Reporting > Purchase, you can select "Measures" to see the QTY Received or Billed etc and you can compare the lines

Best Answer

Hello,

Go to Purchase > Reporting > Purchase

Use the Pivot view

Set the Measures like following:


Click on Insert in Spreadsheet

Add a new column and add the formula like the following:



You can filter only the FALSE and easily see what is not received


So, without any customization, you can achieve this

Avatar
Discard
Best Answer

You can add a compute boolean field in Purchase order line model

this field set to true if qty_received & product_qty are equal.

then filter records that have true/false value in boolean field

Avatar
Discard
Author

That sounds good! @all: many thanks

Author Best Answer

Yes, I realize that - but how can I set a filter on this table in the way described? I have hundreds of purchase transactions and don't want to go through them all individually.

Avatar
Discard
Related Posts Replies Views Activity
1
Jan 24
1750
1
Oct 23
1995
1
Sep 23
1705
0
Feb 23
2525
3
Aug 23
2724