Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Credit_Invoice.php Issue
05-30-2015, 09:11 AM
Post: #1
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.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Credit_Invoice.php Issue - jhm12698 - 05-30-2015 09:11 AM
RE: Credit_Invoice.php Issue - jhm12698 - 05-30-2015, 08:48 PM
RE: Credit_Invoice.php Issue - jhm12698 - 05-31-2015, 02:33 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)