Skip to Content
Menu
You need to be registered to interact with the community.
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
Opusti

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
Opusti
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
Opusti
Avtor

That sounds good! @all: many thanks

Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jan. 24
1924
1
okt. 23
2135
1
sep. 23
1905
0
feb. 23
2703
3
avg. 23
2902