Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar

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

Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Autor

That sounds good! @all: many thanks

Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
ene 24
1924
1
oct 23
2135
1
sept 23
1903
0
feb 23
2703
3
ago 23
2902