How can I avoid cost amount is required at the line level error?

In vrm_source_doc_errors, VRM_COST_AMOUNT_REQ indicates that the cost amount is missing at the line level in the FBDI data you are uploading.

To see the details of a particular message code, use the FND_MESSAGES_TL table.

You can also check the Correction Spreadsheet for message codes.