Question Status

Verified
Bianca asked a question on 21 Jul 2014 7:47 AM

Hello,

I have an item with 6 stockkeeping units.

2 of the skus have the "Replenishment System" set to "Prod Order", the others have "Purch Order"

When I run the report "Calculate Plan - Req. Wksh." from "Req. Worksheet" for this item with filter "Replenishment System" = "Purch Order", the filter does not work.

The behaviour is reconstructable in NAV 2009 R2 and NAV 2013.

Is it a bug?

 

Thank you in advance!

Regards,
Bianca

Reply
Verified Answer
Natalie Karolak responded on 23 Jul 2014 6:04 AM

Report "Calculate Plan - Req. Wksh." is based on the Item table. Hence every filter you set here, is applied to the Item instead of the SKU table.

That's why it seems as if the filter would not apply at all.

In order to make the report work as intended, you will need to add a filter line in trigger Item - OnPreDataitem:

Item.COPYFILTER("Replenishment System",SKU."Replenishment System");

Reply
Verified Answer
Natalie Karolak responded on 23 Jul 2014 6:04 AM

Report "Calculate Plan - Req. Wksh." is based on the Item table. Hence every filter you set here, is applied to the Item instead of the SKU table.

That's why it seems as if the filter would not apply at all.

In order to make the report work as intended, you will need to add a filter line in trigger Item - OnPreDataitem:

Item.COPYFILTER("Replenishment System",SKU."Replenishment System");

Reply