I’m trying to add a LotDescription field to my On hand Report. So I added PartLotDescription via PartLot. However, after that, only parts with lot numbers are displayed.
How can anyone help me with this?
It seems like a very simple problem, but I am a very beginner. Help me.
Thank you! As you said, parts without lot numbers were also displayed. But another problem arose. The same lot number of one part appears in multiple lines.
@pilio.lee So that it a bit more complicated. Start with the Lot that is being duplicated. Is there one row that is different? If so criteria could work. If it is a part bin then you may need to make a subquery to pass only one row back to the main query.
Looking at how you have Part and then PartLot you could have multiple lots which would be normal. You may need to get quantities by lot or you will need to build all of the lot descriptions in a subquery as one long description.
check your results to make sure that they are truly duplicate. NB if any column value is different then it will cause the row to display.
2 You may not need the sys row ID
I suggest at >Phase Build temporally remove the the PartCost Table and run Analyze again, (why? because PartCost table will show a results row for each part cost there is, even if the cost is not shown as a selected display field). To stop this you will need to look at the PartCost criteria or the Part -PartCost link so that part cost is restricted to only one value per part.
Milton