跳至內容
選單
此問題已被標幟
3 回覆
1727 瀏覽次數

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.

頭像
捨棄

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

最佳答案

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

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

That sounds good! @all: many thanks

作者 最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
1月 24
1925
1
10月 23
2136
1
9月 23
1906
0
2月 23
2705
3
8月 23
2904