VendInvoiceInfoline.insert() not accessible

I have an issue in calling VendInvoiceInfoLine table's insert() method.

I have code to fill misc charges based on the recid of VendInvoiceInfoLine record.

Since its not firing the insert method the misc charges table is also not filled, what would be the best place otherwise to make sure the code is triggered.

Thanks in advance