adding trainlimitid to purchase record