Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
1716 Visualizações

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
Cancelar

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

Melhor resposta

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
Cancelar
Melhor resposta

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

That sounds good! @all: many thanks

Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jan. 24
1924
1
out. 23
2135
1
set. 23
1905
0
fev. 23
2703
3
ago. 23
2902