When User adds the Line item details on the same line as the header ; user gets error
"Line item not Found"
If the line item is on second line not same as Header line it works fine
It is known issue in Version 12 and has been fixed in Version 12.0.1.
Upgrade and rerun the scenario it should resolve the issue.
Foundation 12 is compatible with 12.0.1.