Besides the SQL?! If you are on JDE E1 9.2 and at least Tools Release: EnterpriseOne 9.2.6.x you can have an orchestration w/ the update statement to the LOTN for the tables F4108/F41021/F4111 etc. See the logic extension and use it in the orchestration that will look for LOTNs starting w/ blank space, I would try data request, then a bsfn to find a char (blank spaces, from 0 to 1) if true, get the logic extension to update the tables where this new lot# exists F4108, f41021, f4111, etc.