Ricard: Remove numeric error trap, and change the character length trap
fix PO line lead time calculation