error at the point posting invoice

SOLVED

The bellow error occurs at the point of posting the invoice on the invoice screen under the sales order module.

how can it be resolved?