As documented in a call with you, your reference 291217-8471D, if a quantity of 25,000 has been receipted and then the serial numbers are assigned using Stock Control, Batch/Serial Numbers, Assign Batch/Serial Numbers the program crashes with an out of memory message. You are then stuck with 25,000 in stock that you cannot then do anything with without your intervention via a SQL script. Write off incomplete order also crashes with the same message.