Hello,
I am not so familiar with the llblgen code, and I need to do an adjustment.
The existing vb.net code that used llblgen objects is this:
If mbCol.Count = prodEnt.ManufacturingBillErp.Count Then...
The prodEnt is an article, and the ManufacturingBillERP table contains the partlist of that article. The mbCollection should have the same count.
Now the change that is required is this:
It only should count the articles with the same bill of material number.
For example, only the Partlist of BOM 77.
So I tried something
Dim filterBomNr As New PredicateExpression(New FieldCompareValuePredicate(BomNr, ComparisonOperator.Equal, 77))
If mbCol.Count = prodEnt.ManufacturingBillErp(filterBomNr).Count Then
...
But of course it doesn't work that way.
How can I do this please?
Best Regards,
Joris