The concept of site does not exist on the lot. If two stock receipts have the same lot number for two different sites, the document number corresponds to the first created lot, with or without filter on the site: