Credit_Invoice.php Issue
I am trying to credit an invoice and am getting the following error message:
Database Error 1452 : CRITICAL ERROR! NOTE DOWN THIS ERROR AND SEEK ASSISTANCE: The debtor transaction taxes records could not be inserted because
Cannot add or update a child row: a foreign key constraint fails (`jhm2`.`debtortranstaxes`, CONSTRAINT `debtortranstaxes_ibfk_1` FOREIGN KEY (`taxauthid`) REFERENCES `taxauthorities` (`taxid`))
Database SQL Failure : The following SQL to insert the debtor transaction taxes record was used
INSERT INTO debtortranstaxes( debtortransid, taxauthid, taxamount) VALUES('64', '', '0')
Database Rollback Due to Error Above : Rolling Back Transaction OK
As far as I can see I have everything set up from a tax standpoint. Everything I have currently is exempt. Please help with what I'm missing.
|